Hex to Decimal

Hexadecimal numbers to Decimal conversion

"Hex to Decimal" Calculator

Hex number (without 0x)

How to Convert Hex to Decimal

Multiply each digit (A = 10 … F = 15) by the weight of its place — a power of 16 — and add the results.

Example: 3E8 hex in decimal

Digit × place value, then add
16²16¹16⁰
256161
3E8
= 14

3×256 + 14×16 + 8×1 = 768 + 224 + 8 = 1,000

Frequent values
Hexadecimal numberDecimal number
1D29
3E7999
3E81,000
80128
FF255
100256
FFF4,095
FFFF65,535

See Also

FAQ

Can hexadecimal digits be lowercase?

Yes. This converter accepts both uppercase and lowercase hex letters — '3e8' and '3E8' are treated as the same value, and both convert to decimal 1,000.

How do you convert hexadecimal to decimal?

Multiply each hex digit by 16 raised to its position (counting from 0 on the right) and add the results. For example, hex 3E8 = (3×16²) + (14×16¹) + (8×16⁰) = 768 + 224 + 8 = 1,000.

What is the largest hexadecimal number this converter accepts?

Up to 15 hex characters, close to the maximum integer size on a 64-bit system — for example, 'fffffffffffffff' converts to the decimal number 1,152,921,504,606,846,975.