Hexadecimal to Binary Converter
Convert hexadecimal numbers to binary. Each hex digit expands to four bits, which makes this the quickest way to see the exact bits of a color, address or register.
Hexadecimal to Binary converter
Result
- Binary
- —
- Octal
- —
- Decimal
- —
- Hexadecimal
- —
How to convert hexadecimal to binary
Replace each hexadecimal digit with its 4-bit binary group, and join the groups.
Example: 9C (hexadecimal) to binary
| Hexadecimal digit | 4-bit group |
|---|---|
| 9 | 1001 |
| C | 1100 |
| 1-bit group | Binary digit |
|---|---|
| 1 | 1 |
| 0 | 0 |
| 0 | 0 |
| 1 | 1 |
| 1 | 1 |
| 1 | 1 |
| 0 | 0 |
| 0 | 0 |
9C in hexadecimal = 10011100 in binary.
Examples
- A (hexadecimal) = 1010 (binary)
- 9C (hexadecimal) = 10011100 (binary)
- FF (hexadecimal) = 11111111 (binary)
- 3E8 (hexadecimal) = 1111101000 (binary)
Hexadecimal to Binary conversion table
| Hexadecimal (base 16) | Binary (base 2) |
|---|---|
| 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 |
| 14 | 10100 |
| 20 | 100000 |
| 32 | 110010 |
| 40 | 1000000 |
| 64 | 1100100 |
| 7F | 1111111 |
| 80 | 10000000 |
| FF | 11111111 |
| 100 | 100000000 |
| 200 | 1000000000 |
| 3E8 | 1111101000 |
| 400 | 10000000000 |
The table lists the same whole numbers for every pair of bases.
Frequently asked questions
- What is FF in binary?
- FF in hexadecimal is 11111111 in binary.
- How do I convert hexadecimal to binary by hand?
- Replace each hexadecimal digit with its 4-bit binary group, and join the groups.
- What digits does hexadecimal use?
- Hexadecimal uses the digits 0 to 9 and A to F. Hexadecimal writes bytes compactly: web colors (#FF8800), memory addresses, MAC addresses and character codes all use it.
- What is binary used for?
- Computers store and process everything as binary digits (bits). Eight bits make one byte.