Hexadecimal to Decimal Converter
Decimal number
What is a Hexadecimal Number?
A hexadecimal (or hex) number uses base 16, meaning it includes sixteen unique digits: 0–9 and A–F. Hex numbers are common in computing, color codes, and digital systems.
Hexadecimal Example
- 62C₁₆ = 6×16² + 2×16¹ + 12×16⁰ = 1580₁₀
How to Convert Hex to Decimal
- Write the hex number and identify each digit's place value (right to left, starting from 0).
- Multiply each digit by 16 raised to the power of its position.
- Add the results together to get the decimal equivalent.
Conversion Example
- 3B₁₆ = 3×16¹ + 11×16⁰ = 59₁₀
- E7A9₁₆ = 14×16³ + 7×16² + 10×16¹ + 9×16⁰ = 59305₁₀
Hex to Decimal Conversion Table
Hex (base 16) | Decimal (base 10) |
---|---|
0 | 0 |
1 | 1 |
2 | 2 |
3 | 3 |
4 | 4 |
5 | 5 |
6 | 6 |
7 | 7 |
8 | 8 |
9 | 9 |
A | 10 |
B | 11 |
C | 12 |
D | 13 |
E | 14 |
F | 15 |
10 | 16 |
1A | 26 |
2F | 47 |
40 | 64 |
100 | 256 |
FFF | 4095 |
FFFF | 65535 |
10 | 16 |
1A | 26 |
2F | 47 |
40 | 64 |
100 | 256 |
FFF | 4095 |
FFFF | 65535 |