Hex to Decimal Converter
Free online hexadecimal to decimal converter. Instantly convert hex numbers to decimal with examples and conversion table.
Convert Hexadecimal to Decimal
Enter a hexadecimal (base 16) value and instantly get the decimal (base 10) equivalent. The tool also converts in the other direction — enter decimal to get hex.
How to convert hexadecimal to decimal
Multiply each hex digit by 16 raised to the power of its position (counting from the right, starting at 0), then sum the results.
For example, FF in hex: (15 × 16¹) + (15 × 16⁰) = 240 + 15 = 255.
For 1A3: (1 × 16²) + (10 × 16¹) + (3 × 16⁰) = 256 + 160 + 3 = 419.
Hexadecimal to decimal conversion table
| Hexadecimal | Decimal |
|---|---|
| 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 |
| 20 | 32 |
| 40 | 64 |
| 80 | 128 |
| FF | 255 |
| 100 | 256 |
| 200 | 512 |
| 400 | 1024 |
| 1000 | 4096 |
| FFFF | 65535 |