The base-16 system.

Hex uses 16 symbols: digits 0–9 plus letters A–F representing 10–15. Each position is a power of 16 — making hex 4× more compact than binary for the same value.

Positional multiplication.

For 1A3F: compute 1×16³ + A×16² + 3×16¹ + F×16⁰ = 4096 + 2560 + 48 + 15 = 6719. Each digit's value multiplied by its place value.

Sum the products.

Add every term together. The result is the exact decimal integer that represents the same quantity as the original hex string. Use the calculation steps toggle in the converter to trace any conversion.

Worked examples.

FF→255
F (position 1)15 × 16¹ = 240
F (position 0)15 × 16⁰ = 15
Sum240 + 15 = 255
1A3F→6,719
1 (position 3)1 × 16³ = 4,096
A (position 2)10 × 16² = 2,560
3 (position 1)3 × 16¹ = 48
F (position 0)15 × 16⁰ = 15
Sum4,096 + 2,560 + 48 + 15 = 6,719
DEADBEEF→3,735,928,559

Famous debug placeholder used in Microsoft tools. Each nibble maps to a letter or digit: D=13, E=14, A=10, D=13, B=11, E=14, E=14, F=15. The 8-digit hex value sums to exactly 3,735,928,559 decimal.

Powers of 16 reference.

These are the positional weights you multiply each hex digit by:

PositionPower of 16Decimal ValueBinary Bits
016⁰14 bits
116¹168 bits
216²25612 bits
316³4,09616 bits
416⁴65,53620 bits
516⁵1,048,57624 bits
616⁶16,777,21628 bits
716⁷268,435,45632 bits