English

Hexadecimal to Decimal (hex to decimal)

Each hex digit is worth its value (A = 10 up to F = 15) times a power of 16. Type a hex number to see the decimal value and the working.

Binary10 1111
Octal57
Decimal47
Hexadecimal2F
Show the working
DigitValuePlace valueDigit × place value
2216132
F1516015
Add them up47

Hexadecimal to decimal table

HexadecimalDecimal
00
99
A10
F15
1016
1F31
2032
4064
64100
7F127
80128
C8200
FF255
100256
3E81,000
4001,024
7FF2,047
FFF4,095
10004,096
FFFF65,535

How it works

  • Write each digit's value: 0 to 9 stay the same, A = 10, B = 11, C = 12, D = 13, E = 14, F = 15.
  • Multiply each value by 16 to the power of its position, counting from 0 on the right, then add.
  • Example: 2F = 2 × 16 + 15 × 1 = 47.

Frequently asked questions

What is FF in decimal?

FF = 15 × 16 + 15 = 255, the largest value one byte can hold.

How do I read a web color like #3769D7?

Split it into three hex pairs for red, green and blue: 37, 69 and D7 are 55, 105 and 215 in decimal.

Calculations run in your browser. Nothing you enter is sent anywhere or added to a searchable page address. How we calculate