Binary Converter
Convert any binary (base-2) number into Decimal (base-10), Hexadecimal (base-16), and Octal (base-8) in one place with instant copy buttons.
Decimal (Base 10)
53
Hexadecimal (Base 16)
35
Octal (Base 8)
65
Bit Summary: 6 bits (110101₂) = 32 + 16 + 4 + 1 = 53 (Decimal) | 35 (Hex) | 65 (Octal).
Binary Conversion Reference Table (0–15)
Quick comparison of 4-bit binary values across Decimal, Hexadecimal, and Octal number systems.
| Binary (Base 2) | Decimal (Base 10) | Hex (Base 16) | Octal (Base 8) |
|---|---|---|---|
| 0000 | 0 | 0 | 0 |
| 0001 | 1 | 1 | 1 |
| 0010 | 2 | 2 | 2 |
| 0011 | 3 | 3 | 3 |
| 0100 | 4 | 4 | 4 |
| 0101 | 5 | 5 | 5 |
| 0110 | 6 | 6 | 6 |
| 0111 | 7 | 7 | 7 |
| 1000 | 8 | 8 | 10 |
| 1001 | 9 | 9 | 11 |
| 1010 | 10 | A | 12 |
| 1011 | 11 | B | 13 |
| 1100 | 12 | C | 14 |
| 1101 | 13 | D | 15 |
| 1110 | 14 | E | 16 |
| 1111 | 15 | F | 17 |
Complete Guide: Converting Binary Across Number Bases
A Binary Converter translates base-2 numbers (made of 0s and 1s) into other positional number systems used in computing, electronics, and programming: Decimal (base 10), Hexadecimal (base 16), and Octal (base 8).
How Each Conversion Works
- Binary to Decimal: Multiply each bit by
2^positionfrom right to left (starting at position0) and add the results. - Binary to Hexadecimal: Group binary bits in sets of 4 from right to left and map each 4-bit nibble to
0–9orA–F. - Binary to Octal: Group binary bits in sets of 3 from right to left and convert each 3-bit group to an octal digit (
0–7).
Worked Example: Converting 110101₂
110101₂ = 1×32 + 1×16 + 0×8 + 1×4 + 0×2 + 1×1 = 53₁₀. Grouped into 4 bits (0011 0101), it equals 35₁₆ in hex; grouped into 3 bits (110 101), it equals 65₈ in octal.
Binary Converter Frequently Asked Questions (FAQs)
What is 11110000 in binary converted to Decimal, Hex, and Octal?
11110000₂ equals 240 in Decimal, F0 in Hexadecimal, and 360 in Octal.Why do programmers use Hexadecimal and Octal with Binary?
Hexadecimal (4 bits per digit) and Octal (3 bits per digit) provide compact, human-readable shorthand for long binary bit strings.
Can I enter spaces or underscores between binary bits?
Yes—spaces and underscores (for example,
1111 0000) are ignored automatically.Does this converter handle large binary numbers accurately?
Yes—it uses arbitrary-precision integer math (
BigInt) so long bit sequences convert without precision loss.