Binary to Octal Converter
Type a binary number to see it as octal, plus the other bases.
Free · Runs in your browser · Your text is never uploaded
How to convert binary to octal
Split the binary number into groups of three digits from the right. Each group becomes one octal digit, for example 101 is 5 and 110 is 6.
Worked example
The binary number 101110 is 56 in octal.
Convert many at once
Put one number per line to convert a whole list, and copy the results.
A worked example
Take the binary number 111101101. Each digit is multiplied by the base raised to its position: 1×28 + 1×27 + 1×26 + 1×25 + 0×24 + 1×23 + 1×22 + 0×21 + 1×20 = 493. In octal that is 755.
Where it is used
Working out Unix file permissions, where each group of three bits becomes one octal digit.
Tips
Spaces and underscores inside a number are ignored, so you can paste values like 1010 1111. Add a prefix (0x, 0b or 0o) if you are unsure which base a number is in. For the theory behind all four bases, read binary, decimal and hexadecimal explained.
Need more options? Open the full Number Base Converter.
Related guides
Frequently asked questions
How do I convert binary to octal?
Enter the binary number above and the octal result appears instantly.
Does it work for large numbers?
Yes, the arithmetic is exact for numbers up to 4,000 digits.
Can I convert negative numbers?
Yes, the minus sign is kept. Two’s complement is not applied.