convertimate Number bases

Hexadecimal to decimal

Type a value in hex to get it in dec instantly.

255dec

That's about the same as a byte. That needs 8 bits to store.

What it means

How big is that?

Whole numbers only. Anything after the decimal point is rounded away.

The math

How to convert hex to dec

Base b: each digit is worth b times the one to its right. Gray code = n XOR (n ÷ 2); BCD writes each decimal digit as four bits.

Example: FF hex = 255 dec.

Every unit

Your number in every base

Tables

hex to dec conversion table

hex to dec conversion table
hexdec
1 hex1 dec
2 hex2 dec
4 hex4 dec
8 hex8 dec
A hex10 dec
F hex15 dec
10 hex16 dec
1F hex31 dec
20 hex32 dec
40 hex64 dec
64 hex100 dec
80 hex128 dec
FF hex255 dec
100 hex256 dec
200 hex512 dec
3E8 hex1,000 dec
400 hex1,024 dec
dec to hex conversion table
dec to hex conversion table
dechex
1 dec1 hex
2 dec2 hex
4 dec4 hex
8 dec8 hex
10 decA hex
15 decF hex
16 dec10 hex
31 dec1F hex
32 dec20 hex
64 dec40 hex
100 dec64 hex
128 dec80 hex
255 decFF hex
256 dec100 hex
512 dec200 hex
1,000 dec3E8 hex
1,024 dec400 hex

Quick answers

Quick answers

How many dec is 1 hex?
1 hex is 1 dec.
How many dec is A hex?
A hex is 10 dec.
How many dec is FF hex?
FF hex is 255 dec.

The units

About these units

Hexadecimal (hex)

Base sixteen, digits 0 to 9 then A to F. Colors, memory addresses and byte dumps use hex.

Decimal (dec)

Base ten, the everyday counting system, using digits 0 to 9.

Learn more about number units

Keep going

Related conversions