Hex to Decimal

Enter a hexadecimal number and convert it to decimal, octal, and binary. Results appear instantly in your browser.

Hexadecimal
Valid: 0-9, A-F (case insensitive)
Decimal (Base 10)
Result will appear here
Octal (Base 8)
Binary (Base 2)
Quick Reference
00
11
22
33
44
55
66
77
88
99
10A
11B
12C
13D
14E
15F

Hex to Decimal Converter

This tool converts hexadecimal (base 16) numbers into their decimal (base 10), octal (base 8), and binary (base 2) equivalents. It is useful when working with memory addresses, color codes, low-level programming, or any system that uses hexadecimal notation.

The conversion runs entirely in your browser using JavaScript's BigNumber library for precision, so large numbers are handled correctly without rounding errors.

How to use

  1. Type or paste a hexadecimal number into the input field (e.g. 1A2F or FF).
  2. Click Convert to see the decimal, octal, and binary results.
  3. Use the Copy button to copy the decimal result to your clipboard.
  4. Click Clear to reset all fields.

What is hexadecimal?

Hexadecimal is a base 16 number system that uses the digits 0–9 and the letters A–F (where A = 10, B = 11, C = 12, D = 13, E = 14, F = 15). It is widely used in computing because each hex digit maps directly to four binary digits (bits), making it a compact way to represent binary data.

Example

Hex:      1A2F
Decimal:  6703
Octal:    15057
Binary:   1101000101111