Base 8 to Base 2
Octal to Binary Converter
Each octal digit (0–7) represents exactly 3 binary bits. Simply replace each individual octal digit with its 3-digit binary equivalent (e.g. 7 = 111, 0 = 000).
Allowed: 0–7
base 8
Examples:
Binary Result (Primary Target)base 2
1010
Decimal (base 10)
10
Hexadecimal (base 16)
A
Step-by-Step Calculation Steps
Bit Expansion (3 binary bits per Octal digit)
Replace each digit with its corresponding 3-bit binary representation:
Digit-by-Digit Expansion
1 ➔ 001 2 ➔ 010
Binary Result
= 1010
How to Convert Octal to Binary
Each octal digit (0–7) represents exactly 3 binary bits. Simply replace each individual octal digit with its 3-digit binary equivalent (e.g. 7 = 111, 0 = 000).
Conversion Formula / Rule
Replace each digit d₈ with 3 binary bits: d₈ ➔ (b₂b₁b₀)₂ Worked Example: 347 (Octal) to Binary
Problem Convert 347 (base 8) into base 2
Step-by-Step Solution
- Separate each octal digit: 3, 4, 7
- Convert 3 to 3-bit binary: 3 = 011₂
- Convert 4 to 3-bit binary: 4 = 100₂
- Convert 7 to 3-bit binary: 7 = 111₂
- Concatenate bits and trim leading zeros: 11100111₂
Final Result 11100111 (Binary)
Quick Conversion Reference Table (0–15)
Standard values across Binary (base 2), Octal (base 8), Decimal (base 10), and Hexadecimal (base 16):
| Decimal (10) | Binary (2) | Octal (8) | Hexadecimal (16) |
|---|---|---|---|
| 0 | 0000 | 0 | 0 |
| 1 | 0001 | 1 | 1 |
| 2 | 0010 | 2 | 2 |
| 3 | 0011 | 3 | 3 |
| 4 | 0100 | 4 | 4 |
| 5 | 0101 | 5 | 5 |
| 6 | 0110 | 6 | 6 |
| 7 | 0111 | 7 | 7 |
| 8 | 1000 | 10 | 8 |
| 9 | 1001 | 11 | 9 |
| 10 | 1010 | 12 | A |
| 11 | 1011 | 13 | B |
| 12 | 1100 | 14 | C |
| 13 | 1101 | 15 | D |
| 14 | 1110 | 16 | E |
| 15 | 1111 | 17 | F |