Binary to Octal Converter

Paste a binary number to get the octal value, with the 3-bit groups shown underneath.

Binary numbers use only the digits 0 and 1. A 0b prefix is fine.

Octal result
Result appears as you type

How to convert binary to octal by hand

Example 1: 111101101 in binary is 755 in octal

Binary to octal: group the bits in 3s

Because 8 = 2³, every 3 bits make exactly one octal digit. Start from the right and pad the leftmost group with zeros if needed.

3-bit groupValueOctal digit
11177
10155
10155

111 101 101 → 755

Example 2: 110100100 in binary is 644 in octal

Binary to octal: group the bits in 3s

Because 8 = 2³, every 3 bits make exactly one octal digit. Start from the right and pad the leftmost group with zeros if needed.

3-bit groupValueOctal digit
11066
10044
10044

110 100 100 → 644

Binary to Octal conversion table

BinaryOctalDecimal
000
111
1022
1133
10044
10155
11066
11177
1000108
1001119
10101210
10111311
11001412
11011513
11101614
11111715
100002016
1000004032
100000010064
1100100144100
10000000200128
11111111377255
100000000400256
10000000001000512
111110100017501000
1000000000020001024

Where this conversion comes up

  • Turning rwx permission bits into a chmod value: rwxr-xr-x is 111 101 101, which is 755.
  • Coursework that asks for octal as a shortcut from binary.

Frequently asked questions

Why group binary digits in threes for octal?

8 is 2³, so every octal digit holds exactly 3 bits. Group from the right and look each group up.

Can I convert negative numbers?

Yes. Put a minus sign in front and it is kept in the result, for example -111101101 becomes -755. The converter does not produce two's complement.

Is there a limit on how big the number can be?

No practical limit. The conversion uses arbitrary precision integers, so long values stay exact. The step-by-step working is shown for numbers up to 24 digits.

Can I convert fractions?

Not with this tool. It converts whole binary numbers to whole octal numbers.

Other number converters

Going the other way? Use the Octal to Binary Converter. To see a number in every base at once, try the all-in-one number converter.

Local Processing
End-to-End Encryption
Works Offline

Building Something Beyond This Tool?

We help teams design and build reliable web and mobile applications backed by well-structured APIs.