Hex to Decimal Converter
How to convert Hexadecimal to Decimal
Multiply each hex digit by the corresponding power of 16 and sum.
d = h_{n}×16^{n} + ... + h_1×16^1 + h_0×16^0
Multiply each digit by its power of 16:
FF₁₆ = 15×16 + 15 = 240 + 15 = 255₁₀
Example
Convert FF to decimal:
FF₁₆ = 15×16¹ + 15×16⁰ = 240 + 15 = 255
Hex to Decimal Converter table
| Hexadecimal () | Decimal () |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 2 | 2 |
| A | 10 |
| F | 15 |
| 10 | 16 |
| 20 | 32 |
| 40 | 64 |
| 80 | 128 |
| FF | 255 |
| 100 | 256 |
| 200 | 512 |
| 400 | 1024 |