Skip to content
UnitChart

Convert hex to decimal

Hexadecimal (base 16) to decimal (base 10). Type a value below, or use the reference table further down.

FF (hexadecimal) = 255 (decimal)

Multiply each digit by 16 raised to its position, counting from zero on the right, then add the results. FF comes to 255 in decimal.

How to convert hex to decimal

Multiply each digit by 16 raised to its position, counting from zero on the right, then add the results. FF comes to 255 in decimal.

Conversions here use arbitrary-precision integers, so values beyond 64 bits convert exactly rather than being rounded.

hex to decimal conversion table

Use this hex to decimal chart for quick reference.

hexadecimal to decimal conversion table
Hexadecimal (base 16)Decimal (base 10)
00
11
22
33
44
55
66
77
88
99
A10
B11
C12
D13
E14
F15
1016
2032
4064
64100
7F127
80128
FF255
100256
200512
3E81000
3FF1023
4001024
FFF4095
10004096
FFFF65535
1000065536

Common hex to decimal values

ABCDEF101A1F2040647F80A0C0C8FF1003E8FFFFFFF

What is hexadecimal?

Hexadecimal is base 16, using 0 to 9 then A to F for the values ten to fifteen. One hex digit encodes exactly four bits, so a byte is always two hex digits — which is why colours, memory addresses and hashes are written in hex.

What is decimal?

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

Frequently asked questions

How do you convert hexadecimal to decimal?

Multiply each digit by 16 raised to its position, counting from zero on the right, then add the results. FF comes to 255 in decimal.

What is FF hexadecimal in decimal?

FF in hexadecimal is 255 in decimal. In plain decimal that value is 255.

What digits does hexadecimal use?

Hexadecimal is base 16 and uses 0-9 and A-F. Hexadecimal is base 16, using 0 to 9 then A to F for the values ten to fifteen. One hex digit encodes exactly four bits, so a byte is always two hex digits — which is why colours, memory addresses and hashes are written in hex.

Other base conversions