Hex to Decimal Converter

Convert hexadecimal to decimal.

Keep or share the finished result Copy or share after running the tool. Saved tools and settings stay in this browser.
More

Convert hex to decimal

Enter a hexadecimal value, using digits 0 to 9 and letters A to F, to read it as a normal decimal number, with conversion working in both directions. Hexadecimal is base 16 and is common in colour codes, memory addresses and byte values because each hex digit maps neatly to four bits. Input is validated before it converts.

How it reads

The hex 2A is 2 times 16 plus 10, which equals 42 in decimal.

Frequently asked questions

What letters does hex use?

After 9, hexadecimal uses A through F to represent 10 through 15, so a single hex digit covers values 0 to 15.

What is FF in decimal?

The hex FF equals 15 times 16 plus 15, which is 255 in decimal, the maximum value of one byte.