Hexadecimal to binary
Type a value in hex to get it in bin instantly.
11111111bin
That's about the same as a byte. That needs 8 bits to store.
Convert the other way: bin to hex
What it means
How big is that?
Whole numbers only. Anything after the decimal point is rounded away.
The math
How to convert hex to bin
Base b: each digit is worth b times the one to its right. Gray code = n XOR (n ÷ 2); BCD writes each decimal digit as four bits.
Example: FF hex = 11111111 bin.
Every unit
Your number in every base
Tables
hex to bin conversion table
| hex | bin |
|---|---|
| 1 hex | 1 bin |
| 2 hex | 10 bin |
| 4 hex | 100 bin |
| 8 hex | 1000 bin |
| A hex | 1010 bin |
| F hex | 1111 bin |
| 10 hex | 10000 bin |
| 1F hex | 11111 bin |
| 20 hex | 100000 bin |
| 40 hex | 1000000 bin |
| 64 hex | 1100100 bin |
| 80 hex | 10000000 bin |
| FF hex | 11111111 bin |
| 100 hex | 100000000 bin |
| 200 hex | 1000000000 bin |
| 3E8 hex | 1111101000 bin |
| 400 hex | 10000000000 bin |
bin to hex conversion table
| bin | hex |
|---|---|
| 1 bin | 1 hex |
| 10 bin | 2 hex |
| 100 bin | 4 hex |
| 1000 bin | 8 hex |
| 1010 bin | A hex |
| 1111 bin | F hex |
| 10000 bin | 10 hex |
| 11111 bin | 1F hex |
| 100000 bin | 20 hex |
| 1000000 bin | 40 hex |
| 1100100 bin | 64 hex |
| 10000000 bin | 80 hex |
| 11111111 bin | FF hex |
| 100000000 bin | 100 hex |
| 1000000000 bin | 200 hex |
| 1111101000 bin | 3E8 hex |
| 10000000000 bin | 400 hex |
Quick answers
Quick answers
- How many bin is 1 hex?
- 1 hex is 1 bin.
- How many bin is A hex?
- A hex is 1010 bin.
- How many bin is FF hex?
- FF hex is 11111111 bin.
The units
About these units
Hexadecimal (hex)
Base sixteen, digits 0 to 9 then A to F. Colors, memory addresses and byte dumps use hex.
Binary (bin)
Base two: only 0 and 1. Every digit is one bit, the smallest unit of computer memory.
Keep going