Last updated: 2026-06-19
Hexadecimal to Decimal Converter
Convert any hex value to a base-10 number instantly.
A hexadecimal to decimal converter turns base-16 values (0–9 and A–F) into the base-10 numbers we use every day. Hex is common in code, color values, and memory addresses; converting it to decimal makes the underlying value easy to read. Enter a hex value below — the # prefix is optional.
How to convert hexadecimal to decimal
- Type or paste your hexadecimal value into the Hexadecimal field (the # is optional).
- The decimal result appears instantly in the Decimal field.
- Use the copy button to grab the result.
Worked example: FF in decimal
FF means (15 × 16) + 15 = 255. Each position is a power of 16: the rightmost digit is 16^0, the next is 16^1, and so on.
Reference table
| Hexadecimal | Decimal | Binary |
|---|---|---|
| 0 | 0 | 0 |
| 1 | 1 | 1 |
| 8 | 8 | 1000 |
| a | 10 | 1010 |
| f | 15 | 1111 |
| 10 | 16 | 10000 |
| 20 | 32 | 100000 |
| 40 | 64 | 1000000 |
| 80 | 128 | 10000000 |
| ff | 255 | 11111111 |
| 100 | 256 | 100000000 |
| 400 | 1024 | 10000000000 |
Frequently asked questions
- How do I convert hexadecimal to decimal?
- Multiply each hex digit by 16 raised to its position (starting at 0 on the right) and add the results. This tool does it instantly.
- What is FF in decimal?
- FF in decimal is 255.
- Do I need to include the # symbol?
- No. The # prefix is optional — both FF and #FF convert to 255.
- Is hexadecimal the same as base 16?
- Yes. Hexadecimal is base 16, using the digits 0–9 and the letters A–F for the values 10–15.