Hexadecimal to Binary Converter Calculator
The hexadecimal number system (base-16) is commonly used in programming and digital systems. Converting it to binary (base-2) is a crucial step in interpreting and working with machine-level data.
How Hexadecimal and Binary Work
Hexadecimal uses digits 0–9 and letters A–F, each representing four binary digits (bits).
Binary uses only 0 and 1. It's the fundamental language of computers.
Example: Hex
→ Decimal = 1×16 + 15 = 31
→ Binary = 11111₂
1F₁₆→ Decimal = 1×16 + 15 = 31
→ Binary = 11111₂
Conversion Method
- Convert each hex digit to its 4-bit binary equivalent.
- Combine the binary segments to get the full binary number.
Example:
Hex
Binary = 00101010₂
Hex
2A₁₆ = 2 → 0010, A → 1010Binary = 00101010₂
Hexadecimal to Binary Table
| Hex | Binary |
|---|---|
| 0 | 0000 |
| 1 | 0001 |
| 9 | 1001 |
| A | 1010 |
| B | 1011 |
| C | 1100 |
| D | 1101 |
| E | 1110 |
| F | 1111 |