Binary to Octal Converter
The binary to octal converter splits the bits into groups of three from the right and writes each group as one octal digit: 110 101 101 = 655. It converts octal back to binary the same way.
Sources: Wikipedia Updated
Octal to binary converter
How binary to octal conversion works
Binary and octal are both powers of 2, so each octal digit is exactly three bits, since 2³ = 8. The tool pads your binary input with zeros on the left until its length is a multiple of 3, splits it into groups of three and converts each group on its own.
No decimal step is needed. The list under the result shows every group next to its digit, the way you would write it on paper.
How to convert binary to octal
- Group the bits in threes from the right: 110101101 becomes 110 101 101. Pad the leftmost group with zeros if it is short.
- Turn each group into a digit with the place values 4, 2, 1: 110 = 6, 101 = 5, 101 = 5.
- Write the digits in order: 655.
Check through decimal: 110101101 is 429 in the binary to decimal converter, and 6 × 64 + 5 × 8 + 5 × 1 = 384 + 40 + 5 = 429.
How to convert octal to binary
Write each octal digit as three bits. For 573: 5 = 101, 7 = 111 and 3 = 011, giving 101111011.
Both are 379 in decimal: octal 573 = 5 × 64 + 7 × 8 + 3, and binary 101111011 = 256 + 64 + 32 + 16 + 8 + 2 + 1.
Binary to octal chart
| Bits | Octal | Bits | Octal |
|---|---|---|---|
| 000 | 0 | 100 | 4 |
| 001 | 1 | 101 | 5 |
| 010 | 2 | 110 | 6 |
| 011 | 3 | 111 | 7 |
Input rules
The binary box accepts only 0 and 1, and the octal box only 0 to 7. An 8 or a 9 in the octal box gives a message instead of a result.
Where octal is still used
Octal's best-known use today is Unix file permissions, where a mode such as 755 is three groups of three bits: 7 = 111 (read, write, run), 5 = 101 (read, run). Most other software prefers hex, because two hex digits fit one byte exactly.
The hex converter converts between octal and hexadecimal, and the base converter handles any base from 2 to 36.
Binary to Octal Converter: FAQ
Why does binary convert to octal in groups of three?
Because 8 = 2³. Three bits have exactly eight patterns, 000 to 111, which match the octal digits 0 to 7.
What is 777 in binary?
111 111 111. Each 7 is 111, and in decimal the number is 511.
Is binary to octal the same as binary to hex?
The method is the same with a different group size: three bits per octal digit, four per hex digit. The binary to hex converter uses groups of four.
Sources
- Wikipedia: Octal — three bits per octal digit, and octal in Unix file permissions (checked October 16, 2026)