Convert Hexadecimal to Binary
1 Hexadecimal (hex) = 1 Binary (bin). Use the free converter below to instantly convert any hexadecimal value to binary, or view the full conversion table and formula.
1 hex = 1 bin
Hexadecimal to Binary Conversion Table
How to Convert Hexadecimal to Binary
To convert hexadecimal to binary, replace each hex digit with its 4-bit binary equivalent: 0=0000, 1=0001, ..., 9=1001, A=1010, B=1011, C=1100, D=1101, E=1110, F=1111. For example, 2F in hex → 2=0010, F=1111 → 00101111.
Worked Example: Convert F hex to bin
Start with the value in hexadecimal
F hex
Apply the formula
Convert F → decimal → binary (base 16 → 2)
Calculate the result
F hex = 1111 bin
Hexadecimal to Binary Examples
0 hex is equal to 0 bin. Using the formula Convert hexadecimal → decimal → binary (base 16 → 2), 0 hex converts to 0 bin.
1 hex is equal to 1 bin. Using the formula Convert hexadecimal → decimal → binary (base 16 → 2), 1 hex converts to 1 bin.
A hex is equal to 1010 bin. Using the formula Convert hexadecimal → decimal → binary (base 16 → 2), A hex converts to 1010 bin.
F hex is equal to 1111 bin. Using the formula Convert hexadecimal → decimal → binary (base 16 → 2), F hex converts to 1111 bin.
10 hex is equal to 10000 bin. Using the formula Convert hexadecimal → decimal → binary (base 16 → 2), 10 hex converts to 10000 bin.
1F hex is equal to 11111 bin. Using the formula Convert hexadecimal → decimal → binary (base 16 → 2), 1F hex converts to 11111 bin.
20 hex is equal to 100000 bin. Using the formula Convert hexadecimal → decimal → binary (base 16 → 2), 20 hex converts to 100000 bin.
40 hex is equal to 1000000 bin. Using the formula Convert hexadecimal → decimal → binary (base 16 → 2), 40 hex converts to 1000000 bin.
Converting Binary to Hexadecimal
Need the reverse conversion? Use the table below for a quick reference converting binary back to hexadecimal.
| Binary (bin) | Hexadecimal (hex) |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 10 | 2 |
| 11 | 3 |
| 100 | 4 |
| 101 | 5 |
Hexadecimal to Binary FAQ
How do I convert hex to binary?
Replace each hexadecimal digit with its 4-bit binary equivalent. For example, A3 → A=1010, 3=0011 → 10100011.
What is FF in binary?
FF in hex equals 11111111 in binary. F = 1111, so FF = 1111 1111 = 255 in decimal.
Why is hex to binary conversion useful?
This conversion is essential in programming, networking, and digital electronics where you need to examine individual bits in a value that's displayed in hexadecimal notation.
Understanding Hexadecimal and Binary
What is a Hexadecimal (hex)?
The hexadecimal (hex) is a specialized unit of number systems. It is commonly abbreviated as hex and relates to binary by a factor of 1.
What is a Binary (bin)?
The binary (bin) is a specialized unit of number systems. It is commonly abbreviated as bin and relates to hexadecimal by a factor of 1.