Octal to Binary Converter

Type an octal number to get its binary value, with each digit expanded into 3 bits underneath.

Octal numbers use the digits 0 to 7. A 0o prefix is fine.

Binary result
Result appears as you type

How to convert octal to binary by hand

Example 1: 755 in octal is 111101101 in binary

Octal to binary: write each digit as 3 bits

Because 8 = 2³, every octal digit maps to exactly 3 binary digits. Drop any leading zeros at the end.

Octal digitValue3 bits
77111
55101
55101

111 101 101 → 111101101

Example 2: 640 in octal is 110100000 in binary

Octal to binary: write each digit as 3 bits

Because 8 = 2³, every octal digit maps to exactly 3 binary digits. Drop any leading zeros at the end.

Octal digitValue3 bits
66110
44100
00000

110 100 000 → 110100000

Octal to Binary conversion table

OctalBinaryDecimal
000
111
2102
3113
41004
51015
61106
71117
1010008
1110019
12101010
13101111
14110012
15110113
16111014
17111115
201000016
4010000032
100100000064
1441100100100
20010000000128
37711111111255
400100000000256
10001000000000512
175011111010001000
2000100000000001024

Where this conversion comes up

  • Reading chmod values as permission bits: 7 is 111 (rwx), 5 is 101 (r-x) and 4 is 100 (r--).
  • Coursework that asks for binary from octal.

Frequently asked questions

How do chmod numbers map to rwx?

Each octal digit is 3 bits for read, write and execute. 755 is 111 101 101, which is rwx r-x r-x for owner, group and others.

Can I convert negative numbers?

Yes. Put a minus sign in front and it is kept in the result, for example -755 becomes -111101101. 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 octal numbers to whole binary numbers.

Other number converters

Going the other way? Use the Binary to Octal 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.