Convert hexadecimal (base 16) numbers to decimal (base 10) instantly, with digit validation, a worked place-value example and a reference table.
Step 1 — value: expand the hexadecimal number by place values to get its decimal value. Step 2 — re-base: divide that value by 10 again and again, collecting remainders, and read them in reverse.
Step 1: F×161 = 240 + F×160 = 15 → total 255 (decimal). FF is full intensity of one colour channel.
Step 2: 255 written in base 10 is 255.
Result: FF (hexadecimal) = 255 (decimal).
Hexadecimal groups binary digits in fours and is everywhere in computing: colours (#FF5733), MAC addresses, memory addresses and hex editors.
Decimal is the everyday human system, built on ten digits — almost certainly because we have ten fingers.
| 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 |
| 20 | 32 |
| 40 | 64 |
| 64 | 100 |
| 80 | 128 |
| FF | 255 |
| 100 | 256 |
| 3E8 | 1000 |
First find the decimal value using place values (each digit is worth its face value times the base raised to its position), then divide by 10 repeatedly, reading the remainders upwards. The worked example on this page shows both steps for FF.
FF in hexadecimal is 255 in decimal. FF is full intensity of one colour channel.
Only these 16: 0123456789ABCDEF. Letters A–F stand for the values 10–15.
Hexadecimal groups binary digits in fours and is everywhere in computing: colours (#FF5733), MAC addresses, memory addresses and hex editors.
Use the decimal to hexadecimal converter — the process is the same, in the other direction.
Add this calculator to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the calculator to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.