Home » Binary Converter Tools » Binary to Octal Converter

Binary to Octal Converter

Enter a binary number and get the exact octal value in seconds, with the working shown step by step.

Last updated 13 November 2026

Input0 chars
Output0 chars

Everything runs in your browser, so your value never leaves your device. Whole numbers only for number base conversions.

A binary to octal converter turns a binary number, made only of 0 and 1, into an octal number, made of digits from 0 to 7. Octal is useful because it is a compact shorthand for binary, and it is still used in file permissions, embedded systems and older computing work.

The conversion is simple once you know the grouping rule. Every three binary digits make exactly one octal digit, because 2 to the power of 3 equals 8. This tool groups your binary digits from the right, converts each group, and shows the octal result with no rounding and no sign up.

Everything runs in your browser, so your number never leaves your device. That makes this converter a safe choice for homework, coding and quick checks at work.

Worked example: binary 101010 to octal

Split 101010 into groups of three from the right: 101 and 010.

Convert each group: 101 in binary is 5, and 010 in binary is 2.

Put the groups together in order: 52. So 101010 in binary is 52 in octal.

If the left group has fewer than three digits, pad it with zeros on the left first. Padding on the left does not change the value.

How to Use This Tool

  1. Enter a binary number using digits 0 and 1 only.
  2. Press Convert to see the octal result and the grouping steps.
  3. Copy the result or download it as a text file for your notes.
  4. Use Load Sample to try 101010, which converts to 52.

Why Use This Tool

Common Values

InputOutput
1010 in binary12 in octal
101010 in binary52 in octal
11111111 in binary377 in octal
1000000 in binary100 in octal
1111101000 in binary1750 in octal

The Binary to Octal Grouping Table

Every group of three binary digits maps to exactly one octal digit. There are only eight possible groups, and the table below lists all of them. Learn this table and you can convert any binary number to octal by hand, one group at a time.

Binary groupOctal digit
0000
0011
0102
0113
1004
1015
1106
1117

Read each group as a small binary number. For example, 101 is 4 plus 0 plus 1, which is 5, and 110 is 4 plus 2 plus 0, which is 6. The largest group, 111, is 4 plus 2 plus 1, which is 7, the largest octal digit.

More Worked Examples

The worked example at the top of this page shows 101010 becoming 52. Here are four more values, each checked through decimal so you can see the answer is exact.

Try any of these in the tool above. Enter the binary value, press Convert, and the tool shows the same grouping steps with the decimal check beside them.

Why Grouping in Threes Works

Octal is base 8, and 8 is 2 to the power of 3. That is the whole reason the grouping method works: every octal digit holds exactly the same amount of information as three binary digits, no more and no less. Because 2 to the power of 3 is 8, three bits can hold eight different values, from 000 to 111, and octal has exactly eight digits, from 0 to 7. So each group of three bits lines up with one octal digit, and no bits are ever left over or wasted.

The same idea works for other bases. Hexadecimal is base 16, and 16 is 2 to the power of 4, so hex groups binary digits in fours. To see that in action, use the Binary to Hex Converter. Decimal is base 10, and 10 is not a power of 2, so there is no clean grouping for decimal, and the conversion has to go through place values instead. Use the Binary to Decimal Converter for that direction.

Check Your Answer Through Decimal

If you want to be sure a grouping answer is right, check it through decimal. First work out the decimal value of the binary number by adding the place value of each 1 bit. Then convert that decimal value to octal by dividing by 8 again and again and reading the remainders from last to first. If the two answers match, the grouping answer is correct.

Take 101101011 as an example. Its place values are 256 plus 64 plus 32 plus 8 plus 2 plus 1, which is 363. Then 363 divided by 8 is 45 with remainder 3, 45 divided by 8 is 5 with remainder 5, and 5 divided by 8 is 0 with remainder 5. Reading the remainders from last to first gives 553, the same answer the grouping method gives. For a decimal to octal check in one step, use the Decimal to Octal Converter.

Common Mistakes to Avoid

Binary to Octal and Unix File Permissions

Octal is the number system Unix uses for file permissions, which is why binary to octal conversion shows up in real system work. Each permission is three bits: read, write and run. Three permissions, one each for the owner, the group and others, make nine bits in total, which is three octal digits.

The classic example is 755. In binary, 755 is 111 101 101. Read the groups one at a time: 111 is 7, which means read, write and run for the owner; 101 is 5, which means read and run for the group; and the second 101 is 5 again, which means read and run for others. That is the permission you see on most executable files and folders on a Unix system. Try it in the tool: enter 111101101 and the answer is 755.

Other permission values work the same way. 644 is 110 100 100 in binary, and 700 is 111 000 000 in binary. Once you can read octal as groups of three bits, Unix permissions stop looking like magic numbers and start reading as plain instructions.

More Number Conversions

Binary to octal is one of a family of number conversions on this site. To go from octal back to binary, use the Octal to Binary Converter. To turn octal into decimal, use the Octal to Decimal Converter, and to turn octal into hex, use the Octal to Hex Converter. For hex conversions, use the Hex to Octal Converter, the Hex to Binary Converter, the Hex to Decimal Converter and the Decimal to Hex Converter. To convert text, use the Text to Binary Converter, the Text to Hex Converter and the Text to ASCII Converter. To convert decimal to binary, use the Decimal to Binary Converter.

Related Conversions

If you need a different direction, try the Binary to Decimal Converter, Binary to Hex Converter, Octal to Binary Converter and Decimal to Octal Converter. Each one works the same way, in your browser, with the steps shown so you can check the answer.

Frequently Asked Questions

Is the Binary to Octal Converter free to use?

Yes, it is completely free with no sign up.

What if I enter a digit other than 0 or 1?

You get a plain error message and no output, because binary numbers can only contain 0 and 1.

Why does octal group binary digits in threes?

Because 2 to the power of 3 is 8, so every three binary digits map to exactly one octal digit.

Is my number uploaded to a server?

No. All conversion happens in your browser on your own device, so your number never leaves your computer.

What is 11111111 in octal?

11111111 in binary is 377 in octal, because 11111111 is 255 in decimal and 255 in octal is 377.

What is 101101011 in octal?

101101011 in binary is 553 in octal. Group it from the right as 101 101 011, which gives 5, 5 and 3, so the answer is 553.

Can I convert a binary fraction to octal?

No. This tool converts whole numbers only. It does not accept a binary point or digits after a point, so a value like 1010.11 cannot be converted here.

What does 755 mean in Unix file permissions?

In Unix file permissions, 755 means the owner can read, write and run a file, while the group and others can read and run it. In binary, 755 is 111 101 101, which is three groups of three bits.

↑