Hex to Decimal Converter

🔒 Runs in your browser — nothing is sent to a server

Convert a hexadecimal number to its decimal equivalent. Each hex digit (0–9, a–f) is multiplied by a power of 16 and summed, so 0xff becomes 15·16 + 15 = 255 and 0xdeadbeef becomes 3,735,928,559. Useful for reading memory addresses, color codes, hashes and machine-code bytes in everyday units. BigInt support means full-precision conversion of 64-bit values such as 0xffffffffffffffff. Runs entirely in your browser.

Hexadecimal (16)

Allowed: 0–9, a–f

Decimal (10)

Allowed: 0–9

Hexadecimal (16)Decimal (10)

Quick reference table

Hexadecimal (16)Decimal (10)
a10
1016
2032
64100
ff255
100256
10004096
ffff65535
1000065536
1000001048576

Glossary

Hexadecimal (base 16)

The hexadecimal numeral system uses sixteen digits: 0–9 and a–f, where a–f represent 10–15. Each hex digit maps to exactly four binary digits (one nibble), which makes hex the compact human-readable form of binary data. Memory addresses, MAC addresses, MD5/SHA hashes, RGB color codes such as #ff8800 and machine-code bytes are all conventionally written in hex.

Decimal (base 10)

The decimal numeral system is the everyday number system used by humans, with digits 0 through 9. Each digit position represents a power of 10 — units, tens, hundreds, thousands. It is sometimes called base-10 or denary. All four bases on this page convert through decimal as a canonical integer value, so a round-trip such as binary → decimal → hex always produces the exact same number.

Related tools