Hex To Binary
Share on Social Media:
Easy Hex to Binary Converter Tool
Want to switch hex numbers to binary fast? Our simple hex to binary converter makes it a breeze! Just pop in a hex value, like "1E", in the box on the left. Then, tap the Convert button to see the magic happen. You can handle up to 16 hex digits at once – that's as big as 7fffffffffffffff. Perfect for coders, students, or anyone tinkering with tech. Give it a try and watch your hex turn binary in seconds!
What Is a Hexadecimal Number?
Hexadecimal (or simply "hex") is a base-16 number system that's super handy in computing and programming. Instead of the usual 10 digits we use every day (0-9), hex uses 16 symbols: the numbers 0 through 9, plus the letters A through F to represent values 10 to 15.
- A = 10
- B = 11
- C = 12
- D = 13
- E = 14
- F = 15
Each spot in a hex number stands for a power of 16, just like decimal uses powers of 10.
Quick Example
Take the hex number 62C:
- 6 × 16² (that's 6 × 256) = 1536
- 2 × 16¹ (2 × 16) = 32
- C × 16⁰ (12 × 1) = 12
Add them up: 1536 + 32 + 12 = 1580 in decimal.
Hex makes life easier when working with computers because it lines up neatly with binary—every hex digit equals exactly four binary digits. That's why you'll see it everywhere, from color codes on websites to memory addresses in code!
What Is a Binary Number?
Binary is the simple base-2 number system that powers all modern computers. It only uses two digits: 0 and 1. These are called bits (short for binary digits), and they're the building blocks of everything digital—from photos and videos to games and apps.
Each position in a binary number represents a power of 2, starting from the right (which is 2⁰, or 1).
Easy Example
Let's look at the binary number 1101:
- 1 × 2³ (that's 1 × 8) = 8
- 1 × 2² (1 × 4) = 4
- 0 × 2¹ (0 × 2) = 0
- 1 × 2⁰ (1 × 1) = 1
Add them together: 8 + 4 + 0 + 1 = 13 in regular decimal.
That's it! Binary might look like a string of zeros and ones, but it's super efficient for computers because they work with electricity—on (1) or off (0). This is why understanding binary is a great first step into how computers really think and store information. Cool, right?
How to Convert Hexadecimal to Binary
Turning hex numbers into binary is actually really straightforward—and fun once you get the hang of it! The secret? Each hex digit equals exactly four binary digits (bits). You replace every hex character with its 4-bit binary match, starting from the right (the lowest digit).
Handy Hex-to-Binary Conversion Table
Here's the simple lookup table you'll need:
HexBinary
| Hex | Binary |
| 0 | 0000 |
| 1 | 0001 |
| 2 | 0010 |
| 3 | 0011 |
| 4 | 0100 |
| 5 | 0101 |
| 6 | 0110 |
| 7 | 0111 |
| 8 | 1000 |
| 9 | 1001 |
| A | 1010 |
| B | 1011 |
| C | 1100 |
| D | 1101 |
| E | 1110 |
| F | 1111 |
Example
Let's convert 2F5 from hex to binary.
- Start with the rightmost digit: 5 → 0101
- Next: F → 1111
- Last: 2 → 0010
Put them together: 0010 1111 0101
(We usually write it without spaces: 001011110101)
Another Quick Example
Try A3:
- 3 → 0011
- A → 1010
Result: 1010 0011 (or 10100011)
That's all there is to it! No math needed—swap each hex digit for its four-bit binary buddy. This trick works perfectly because hex is base-16 and binary is base-2, and 16 is 2⁴. Practice a few times, and you'll do it in your head in no time. Happy converting!
Hex to Binary Conversion Example
Let's walk through a real example to see how easy it is to convert hexadecimal to binary!
Convert 6C (in hex) to binary:
- Take the first digit: 6 → That matches 0110 in binary.
- Next digit: C → That's 1100 in binary.
Now just put them side by side: 0110 1100
So, 6C₁₆ = 01101100₂