Convert hexadecimal (base 16) numbers to binary (base 2) 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 2 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 2 is 11111111.
Result: FF (hexadecimal) = 11111111 (binary).
Hexadecimal groups binary digits in fours and is everywhere in computing: colours (#FF5733), MAC addresses, memory addresses and hex editors.
Binary is the language of computers: every file, photo and program is stored as binary digits (bits). Eight bits make a byte.
| Hexadecimal | Binary |
| 0 | 0 |
| 1 | 1 |
| 2 | 10 |
| 3 | 11 |
| 4 | 100 |
| 5 | 101 |
| 6 | 110 |
| 7 | 111 |
| 8 | 1000 |
| 9 | 1001 |
| A | 1010 |
| B | 1011 |
| C | 1100 |
| D | 1101 |
| E | 1110 |
| F | 1111 |
| 10 | 10000 |
| 20 | 100000 |
| 40 | 1000000 |
| 64 | 1100100 |
| 80 | 10000000 |
| FF | 11111111 |
| 100 | 100000000 |
| 3E8 | 1111101000 |
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 2 repeatedly, reading the remainders upwards. The worked example on this page shows both steps for FF.
FF in hexadecimal is 11111111 in binary. 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 binary 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.