Binary to Octal Converter

Type a binary number to see it in octal. Below: how the conversion works, a worked example and a conversion table.

11111111 binary = 377 octal

How to convert binary to octal

Split the binary number into groups of 3 digits starting from the right, and replace each group with its octal digit. (Or: multiply each digit by 2 raised to the power of its position (counting from 0 on the right) and add the results, then divide the number by 8 again and again and write down the remainders; read in reverse order, the remainders are the octal digits.)

Example: 11111111 to octal

Because 8 = 23, every octal digit stands for exactly 3 binary digits. Split the binary number into groups of 3 from the right (adding leading zeros), then write each group as one octal digit:

Binary groupOctal digit
0113
1117
1117

Result: 11111111 in binary = 377 in octal.

Binary to Octal table

BinaryOctal
0 0
1 1
10 2
11 3
100 4
101 5
110 6
111 7
1000 10
1001 11
1010 12
1011 13
1100 14
1101 15
1110 16
1111 17
10000 20
100000 40
1000000 100
1100100 144
1111111 177
10000000 200
11111111 377
100000000 400
1000000000 1000
1111101000 1750
1111111111 1777
10000000000 2000

Reverse conversion

Frequently asked questions

How do you convert binary to octal?

Split the binary number into groups of 3 digits starting from the right, and replace each group with its octal digit. (Or: multiply each digit by 2 raised to the power of its position (counting from 0 on the right) and add the results, then divide the number by 8 again and again and write down the remainders; read in reverse order, the remainders are the octal digits.)

What is 11111111 in octal?

11111111 in binary is 377 in octal.