Hexadecimal to Decimal

Explained with a place-value breakdown — reference tables, charts, and a live converter.

Enter a hexadecimal number to convert it instantly into decimal.

Convert any value

Decimal255

Digit count by number base

8Binary3Octal3Decimal2Hex
Hover a bar to see the representation

Common values reference

DecimalBinaryOctalHexadecimal
0000
1111
21022
31133
410044
510155
611066
711177
81000108
91001119
10101012A
11101113B
12110014C
13110115D
14111016E
15111117F
16100002010
321000004020
64100000010040
1281000000020080
25511111111377FF
256100000000400100
1024100000000002000400

Powers of 10

PowerIn decimalDecimal value
10011
1011010
102100100
10310001000
1041000010000
105100000100000
10610000001000000
1071000000010000000
108100000000100000000
10910000000001000000000
10101000000000010000000000
1011100000000000100000000000
101210000000000001000000000000

About number bases and place value

A number base (radix) defines how many digits are used and what each position is worth. Decimal uses ten digits and powers of ten, binary uses just two digits and powers of two, and hexadecimal uses sixteen digits and powers of sixteen.

The value itself never changes — only how it is written. These conversions are pure integer math and exact: 255 is always 0xFF.

Where hexadecimal shows up

Hex appears everywhere in computing: CSS color codes, memory addresses, MAC addresses, and byte values. One byte (8 bits) fits exactly into two hex digits (00–FF), i.e. 0 to 255.

Frequently asked questions

What is Hexadecimal to Decimal?

Enter a hexadecimal number to convert it instantly into decimal.

How do I convert hexadecimal to decimal?

Each digit is multiplied by its place value (a power of 16); the sum is the value, which is then written in decimal. The converter above does this instantly.

Why is hexadecimal used?

Hexadecimal (base 16) is compact: each hex digit maps to exactly four bits (one nibble). That is why color codes, memory addresses, and byte values are almost always written in hex — 255 is FF, far shorter than 11111111.

Are these conversions exact?

Yes. Converting between number bases is pure integer math and perfectly exact — the same value, just written a different way. 255 is always 0xFF.

Convert more

The number base converter covers binary, octal, decimal, and hexadecimal with an exact place-value breakdown.

See all converters →