Convert hexadecimal numbers (integers and floats) to binary instantly with batch conversion support. Essential tool for programmers, students, and engineers.
Batch Conversion: Convert multiple hexadecimal numbers at once. Enter one hex value per line, or separate values with commas, spaces, or tabs. Supports integers and floating-point numbers.
Binary is a base-2 numeral system that uses only two digits: 0 and 1. Hexadecimal to binary conversion is straightforward because each hex digit directly maps to exactly four binary digits (bits).
Conversion Algorithm:
Important Notes on Hex to Binary Conversion:
| Hex Digit | Binary (4-bit) | Decimal | Hex Digit | Binary (4-bit) | Decimal |
|---|---|---|---|---|---|
| 0 | 0000 | 0 | 8 | 1000 | 8 |
| 1 | 0001 | 1 | 9 | 1001 | 9 |
| 2 | 0010 | 2 | A | 1010 | 10 |
| 3 | 0011 | 3 | B | 1011 | 11 |
| 4 | 0100 | 4 | C | 1100 | 12 |
| 5 | 0101 | 5 | D | 1101 | 13 |
| 6 | 0110 | 6 | E | 1110 | 14 |
| 7 | 0111 | 7 | F | 1111 | 15 |
Hex A.8 to Binary: A = 1010₂, 8 = 1000₂. So A.8₁₆ = 1010.1₂ (trailing zeros removed from fractional part).
Hex FF to Binary: F = 1111₂, F = 1111₂. So FF₁₆ = 11111111₂. Decimal equivalent is 255₁₀.
Hex D.6 to Binary: D = 1101₂, 6 = 0110₂. So D.6₁₆ = 1101.011₂ (trailing zeros removed).
Hex 80 (Signed) to Binary: With signed hex enabled, 80₁₆ = 10000000₂ in 8-bit two's complement, which represents -128₁₀.
Hex 1F.3C to Binary: 1 = 0001₂, F = 1111₂, 3 = 0011₂, C = 1100₂. So 1F.3C₁₆ = 00011111.00111100₂ = 11111.001111₂ (leading/trailing zeros removed).
Calculator Features:
A
1010
A.8
1010.1
F.F
1111.1111
D.6
1101.011
FF
11111111
0.8
0.1
1F.3C
11111.001111
FF0000
111111110000000000000000
00FF00
000000001111111100000000
0000FF
000000000000000011111111
FFFFFF
111111111111111111111111
000000
000000000000000000000000