Skip to the content

Octal to Binary Converter

Expand an octal number into binary: every octal digit becomes three bits, shown digit by digit.

Type a octal number in the first field and read it in binary in the second. It works the other way round as well. Whole numbers only; spaces, underscores and the prefixes 0b, 0o and 0x are fine.

Working

Octal digitAs 3 bits
3011
1001
7111

Side by side: 011 001 111. Without the zeros in front: 11001111

Other bases

from 2 to 36
Bit length
8 bits
Fits in
1 byte
Share this tool:TwitterFacebookLinkedInWhatsAppEmail

How to convert octal to binary by hand

Every octal digit becomes three bits. Take the digits one at a time, write three bits for each, and put the groups side by side.

For 317: 3 is 011, 1 is 001 and 7 is 111, which makes 011 001 111. Without the zero at the front the number is 11001111.

The working under the two fields at the top of the page does this for whatever number you type.

Good to know

  • Keep all three bits of every digit except at the very front. A 1 in the middle of a number is 001, not 1.
  • There are only eight groups to remember: 0 is 000, 1 is 001, 2 is 010, 3 is 011, 4 is 100, 5 is 101, 6 is 110 and 7 is 111.
  • A file mode such as 644 unpacks the same way: 110 100 100, which reads rw-, r-- and r--.

Octal to binary table

OctalBinary
0000
1001
2010
3011
4100
5101
6110
7111
10001 000
11001 001
12001 010
13001 011
14001 100
15001 101
16001 110
17001 111
20010 000
OctalBinary
24010 100
40100 000
62110 010
100001 000 000
144001 100 100
177001 111 111
200010 000 000
310011 001 000
377011 111 111
400100 000 000
764111 110 100
1000001 000 000 000
1750001 111 101 000
2000010 000 000 000
10000001 000 000 000 000
177777001 111 111 111 111 111

The number base converter shows binary, octal, decimal and hexadecimal next to each other, and explains positional notation and two's complement.

See all 9