Mathematical Tutorial
How to Convert Hex to Decimal.
Learn how to calculate decimal values from base-16 hexadecimal numbers using positional powers of 16.
Try it: Hex to Decimal mini-calculator
Decimal Result: 47
Positional notation method.
Hexadecimal is a base-16 positional notation system. Each column value represents a power of 16, starting with 160 on the far right and increasing as you move left.
Decimal = (d₀ × 16⁰) + (d₁ × 16¹) + (d₂ × 16²) + ...
For hex digits A-F, map them to their decimal equivalents: A=10, B=11, C=12, D=13, E=14, F=15.
Step-by-step example.
Convert the hex value 2F to decimal:
- Identify digit values: 2 and F (F = 15).
- Apply positional weights:
- Rightmost digit (F): 15 × 160 = 15 × 1 = 15
- Next digit (2): 2 × 161 = 2 × 16 = 32
- Sum the terms: 32 + 15 = 47.
Hex mapping reference
| Hex | Decimal |
|---|---|
| A | 10 |
| B | 11 |
| C | 12 |
| D | 13 |
| E | 14 |
| F | 15 |