Skip Navigation

Hex to Decimal Converter

  ⇅ Swap 

Decimal to hex

How to convert Hexadecimal to Decimal

Multiply each hex digit by the corresponding power of 16 and sum.

d = h_{n}×16^{n} + ... + h_1×16^1 + h_0×16^0

Multiply each digit by its power of 16:

FF₁₆ = 15×16 + 15 = 240 + 15 = 255₁₀

Example

Convert FF to decimal:

FF₁₆ = 15×16¹ + 15×16⁰ = 240 + 15 = 255

Hex to Decimal Converter table

Hexadecimal ()Decimal ()
00
11
22
A10
F15
1016
2032
4064
80128
FF255
100256
200512
4001024


See also