Step-by-step calculation
Enter a hex value to see the powers-of-16 expansion.
Base-16 to base-10
Enter a hexadecimal value and convert it to decimal, binary, and a readable place-value breakdown.
Hexadecimal is base-16. Reading from right to left, each place is a power of 16: 1, 16, 256, 4096, and so on. Digits A through F represent decimal values 10 through 15.
For FF, the left digit contributes 15 x 16 and the right digit contributes 15 x 1. The total is 255. This is why FF often appears as the maximum value of one byte.
| Hex | Decimal | Binary |
|---|---|---|
| A | 10 | 1010 |
| F | 15 | 1111 |
| 10 | 16 | 10000 |
| 2A | 42 | 0010 1010 |
| FF | 255 | 1111 1111 |