Octal to Binary Converter
Enter an octal number to get its binary equivalent, along with the decimal and hexadecimal values and the per-digit 3-bit breakdown.
What is Octal to Binary Conversion?
Octal to binary conversion turns a base-8 number (digits 0-7) into its base-2 equivalent. Because 8 is exactly 2³, each octal digit maps to precisely 3 binary bits — there is no need to convert through decimal.
For example, octal 52 converts digit by digit: 5 → 101, 2 → 010, giving 101010. For the reverse operation, see the Binary to Octal Converter. Want to learn how to convert octal to binary manually? Read the full step-by-step guide.
Why Each Octal Digit Is 3 Binary Bits
One octal digit represents 8 possible values (0 through 7). Three binary bits also represent exactly 8 possible values (000 through 111). Since the ranges match exactly, converting octal to binary is direct substitution — no arithmetic across digits is required, unlike converting from decimal.
Octal digit to binary reference
| Octal | Binary (3 bits) |
|---|---|
| 0 | 000 |
| 1 | 001 |
| 2 | 010 |
| 3 | 011 |
| 4 | 100 |
| 5 | 101 |
| 6 | 110 |
| 7 | 111 |
Worked example: 52₈
5 → 101 2 → 010 Combine: 101 010 52₈ = 101010₂
When digits are combined, any leading zeros in the first group can be dropped from the final result — for example, octal 12 converts to 001 010, which is 1010 once the leading zeros are removed.
Octal to Binary Conversion Table
A quick reference for common octal numbers and their binary, decimal, and hexadecimal equivalents:
| Octal | Binary | Decimal | Hexadecimal |
|---|---|---|---|
| 1 | 1 | 1 | 1 |
| 2 | 10 | 2 | 2 |
| 7 | 111 | 7 | 7 |
| 10 | 1000 | 8 | 8 |
| 17 | 1111 | 15 | F |
| 20 | 10000 | 16 | 10 |
| 52 | 101010 | 42 | 2A |
| 77 | 111111 | 63 | 3F |
| 100 | 1000000 | 64 | 40 |
| 377 | 11111111 | 255 | FF |
| 777 | 111111111 | 511 | 1FF |
Octal in Unix/Linux File Permissions
The most common practical use of octal is Unix/Linux file permissions (chmod). Each of the three octal digits covers owner, group, and others, and each digit's bits map to read (4), write (2), and execute (1):
Where Octal to Binary Conversion Is Used
- Unix/Linux system administration: reading
chmodpermission values as their underlying read/write/execute bits. - Legacy systems and documentation: some older systems and file formats express values in octal, which still needs converting to binary for bit-level analysis.
- Low-level programming and debugging: inspecting register values or debug output expressed in octal to see which individual bits are set.
- Computer science education: octal-to-binary conversion is a clear, direct way to demonstrate how positional number systems relate to each other.
Related Converters
Binary to Octal
Convert binary numbers to octal — the reverse of this tool.
Octal to Decimal
Convert octal numbers to their decimal value.
Decimal to Binary
Convert decimal numbers to binary format.
Binary to Decimal
Convert binary numbers back to decimal.
Hex to Binary
Convert hexadecimal values to binary.
Binary Calculator
Add, subtract, multiply, and divide binary numbers.
Binary to Hex
Convert binary numbers to hexadecimal notation.
Frequently Asked Questions
How do I convert octal 7 to binary?
Octal 7 equals binary 111 — the highest single-digit octal value, using all three bits.
What is octal 755 in binary?
Octal 755 = binary 111101101: 7 → 111, 5 → 101, 5 → 101.
Why does each octal digit become exactly 3 binary bits?
Octal is base-8, and 8 = 2³. One octal digit covers 8 possible values (0-7), which is exactly the range that 3 binary bits can represent (000-111).
Can I enter an octal number with a leading zero?
Yes. 0755 and 755 convert to the same value — leading zeros don't change the result.
What happens if I enter 8 or 9?
The converter shows an error, since octal only uses the digits 0-7.
Is there a limit on how large an octal number I can convert?
No fixed digit limit. Conversion uses BigInt arithmetic, so arbitrarily long octal numbers stay exact rather than losing precision — the only practical limit is your browser's available memory.
Related Tools
You might also find these tools useful
Base Converter
Convert whole numbers between binary, octal, decimal, hex, and custom bases 2-36 in one hub.
Binary Converter
Convert text, UTF-8 bytes, and binary values without focusing only on readable messages.
Binary Calculator
Add, subtract, multiply, and divide binary numbers for math and computer science exercises.
Binary to Decimal
Turn base-2 numbers into decimal values for programming, networking, and study notes.
Binary to HEX
Compress long binary strings into hexadecimal groups for code, memory, and color checks.
Decimal to Binary
Convert everyday base-10 numbers into binary with clear fixed-width output.