Convert hex to decimal
Hexadecimal (base 16) to decimal (base 10). Type a value below, or use the reference table further down.
Multiply each digit by 16 raised to its position, counting from zero on the right, then add the results. FF comes to 255 in decimal.
How to convert hex to decimal
Multiply each digit by 16 raised to its position, counting from zero on the right, then add the results. FF comes to 255 in decimal.
Conversions here use arbitrary-precision integers, so values beyond 64 bits convert exactly rather than being rounded.
hex to decimal conversion table
Use this hex to decimal chart for quick reference.
| Hexadecimal (base 16) | Decimal (base 10) |
|---|---|
| 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 |
| 64 | 100 |
| 7F | 127 |
| 80 | 128 |
| FF | 255 |
| 100 | 256 |
| 200 | 512 |
| 3E8 | 1000 |
| 3FF | 1023 |
| 400 | 1024 |
| FFF | 4095 |
| 1000 | 4096 |
| FFFF | 65535 |
| 10000 | 65536 |
Common hex to decimal values
ABCDEF101A1F2040647F80A0C0C8FF1003E8FFFFFFF
What is hexadecimal?
Hexadecimal is base 16, using 0 to 9 then A to F for the values ten to fifteen. One hex digit encodes exactly four bits, so a byte is always two hex digits — which is why colours, memory addresses and hashes are written in hex.
What is decimal?
Decimal is base 10, the everyday number system, using the digits 0 to 9. Each place is worth ten times the one to its right.
Frequently asked questions
How do you convert hexadecimal to decimal?
Multiply each digit by 16 raised to its position, counting from zero on the right, then add the results. FF comes to 255 in decimal.
What is FF hexadecimal in decimal?
FF in hexadecimal is 255 in decimal. In plain decimal that value is 255.
What digits does hexadecimal use?
Hexadecimal is base 16 and uses 0-9 and A-F. Hexadecimal is base 16, using 0 to 9 then A to F for the values ten to fifteen. One hex digit encodes exactly four bits, so a byte is always two hex digits — which is why colours, memory addresses and hashes are written in hex.