Free Online Hex to Decimal Converter

Convert hexadecimal to decimal instantly, with the step-by-step method, a worked example and a table of common values.

Converter

Binary, Octal, Decimal, Hex & Every Base In Between

Convert any value between base 2 and base 60

B10
—

Results are provided for informational purposes only and may contain errors. Please verify important information independently. Use of this tool is at your own risk.

How to convert hexadecimal to decimal

Convert hexadecimal numbers to decimal instantly: type a value and the decimal result appears as you type. Below the converter you'll find the method to do it by hand, a worked example and a table of common values.

  1. Type or paste a hexadecimal number into the box above. Negative numbers and fractions work too.
  2. The From and To bases are already set to hexadecimal and decimal, so the result appears right away: FF becomes 255.
  3. Copy the result, or choose any other base from 2 to 60 to convert the same value.

Converting hexadecimal to decimal by hand

Number the digits from right to left, starting at 0. Multiply each digit by 16 to the power of its position and add the results together:

FF₁₆ = 15·16¹ + 15·16⁰
= 240 + 15 = 255₁₀

Hexadecimal to decimal table

HexadecimalDecimal
00
11
22
77
88
A10
F15
1016
2A42
4064
64100
7F127
FF255
100256
3E81000
4001024

Hexadecimal and decimal explained

Hexadecimal (hex) is base 16: the digits 0 to 9 plus A to F for the values 10 to 15. One hex digit is exactly four bits, so a byte is always two hex digits, as in colors (#FF8800) and memory addresses.

Decimal is base 10, the everyday number system with the digits 0 to 9. Each position is worth ten times the one to its right.

Frequently asked questions

Can I convert negative numbers and fractions?

Yes. Put a minus sign in front of a negative number and use a point for the fraction, for example -12.5. A fraction that never ends in decimal is cut off after 32 digits.

How large can the number be?

There is no practical limit. The converter uses exact whole-number arithmetic, so even numbers with hundreds of digits are converted without rounding.

Do uppercase and lowercase letters matter?

Not up to base 36: FF and ff are the same hexadecimal number. From base 37 upward, uppercase and lowercase letters are different digits.

Is this tool free?

Yes, it's free to use. No signup, no email required. Get results on this page.

How do I get my result?

Use the tool on this page. Your result appears here; no email delivery is required.