Hex to Decimal Converter
Convert hexadecimal to decimal instantly — type on the left and the result appears on the right. Everything runs in your browser, nothing is uploaded.
How to convert hex to decimal
Hexadecimal is base 16: each position is worth 16 times the one to its right. Give each digit its place value, turn any letters into numbers, then multiply and add.
Formula: value = d₀ + d₁×16 + d₂×16² + … (each digit times a power of 16).
- Give each digit its place valueReading from the right, the places are powers of 16: 1, 16, 256, 4096 and so on.
- Turn letters into numbersA to F stand for 10 to 15, so A is 10 and F is 15.
- Multiply and addMultiply each digit by its place value and add the totals to get the decimal number.
Examples 1A = 26FF = 255
Hex to Decimal Table
Common hexadecimal values with their decimal equivalents.
| 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 |
| 14 | 20 |
| 20 | 32 |
| 32 | 50 |
| 40 | 64 |
| 64 | 100 |
| 80 | 128 |
| FF | 255 |
| 100 | 256 |
| 200 | 512 |
| 3E8 | 1000 |
Related conversions
Frequently asked questions
How do you convert hex to decimal?
Give each hex digit a place value that is a power of 16, from the right: 1, 16, 256 and so on. Turn A–F into 10–15, multiply each digit by its place value, then add. For 1A that is 1×16 + 10 = 26.
What is FF in decimal?
FF in hex is 255 in decimal, because F is 15 and 15 × 16 + 15 = 255.
What do the letters A to F mean in hex?
They are the values ten to fifteen: A is 10, B is 11, C is 12, D is 13, E is 14 and F is 15.