Home » Binary Converter Tools » Octal to Binary Converter
Enter an octal number and get the exact binary value in seconds, with the working shown for every digit.
Last updated 13 November 2026
Everything runs in your browser, so your value never leaves your device. Whole numbers only for number base conversions.
An octal to binary converter turns an octal number into binary, the 0 and 1 code that computers use. Octal uses digits from 0 to 7, and each octal digit stands for exactly three binary digits, because 2 to the power of 3 equals 8.
That grouping is why octal was once a popular shorthand for binary, and why it still appears in file permissions and computing study. This tool converts each octal digit to its three bit group and joins them, so you get the full binary value with no rounding and no sign up.
Everything runs in your browser, so your number never leaves your device. The tool is useful for homework, coding and checking older code that uses octal values.
Split 52 into its two octal digits: 5 and 2.
Convert each digit to three bits: 5 is 101, and 2 is 010.
Join the groups in order: 101010. So 52 in octal is 101010 in binary.
You can check the answer by place value: 52 in octal is 42 in decimal, and 32 plus 8 plus 2 equals 42.
| Input | Output |
|---|---|
| 10 in octal | 1000 in binary |
| 52 in octal | 101010 in binary |
| 100 in octal | 1000000 in binary |
| 377 in octal | 11111111 in binary |
| 1750 in octal | 1111101000 in binary |
If you need a different direction, try the Octal to Decimal Converter, Octal to Hex Converter, Binary to Octal 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.
Yes, it is completely free with no sign up.
Because octal numbers only use digits from 0 to 7, so 8 and 9 are not valid octal digits.
Because 2 to the power of 3 is 8, so every octal digit maps to exactly three binary digits.
No. All conversion happens in your browser on your own device, so your number never leaves your computer.
Leading zeros at the front are dropped from the binary answer, and zeros anywhere else stay. 052 converts to 101010, the same as 52, and 007 converts to 111, the same as 7. But 101 converts to 1000001, and the zeros in the middle must stay.
No. This converter handles whole numbers only. If you enter a decimal point, the tool rejects the input. Octal fractions need a different method, so convert the whole part here and handle the fraction separately.
Three bits give exactly eight values, from 000 to 111, which is exactly the eight octal digits from 0 to 7. Four bits would give sixteen values, which is why one hex digit, with sixteen values from 0 to F, maps to four bits instead.
Octal 755 in binary is 111101101, and in decimal it is 493. You see 755 as the permissions of a script or program file on a Unix system, where the owner can read, write and run the file and everyone else can read and run it.
Every octal digit maps to exactly three binary digits. There are only eight octal digits, so the full table is short enough to learn by heart. Keep it beside you when you convert by hand.
| Octal Digit | Three Bits |
|---|---|
| 0 | 000 |
| 1 | 001 |
| 2 | 010 |
| 3 | 011 |
| 4 | 100 |
| 5 | 101 |
| 6 | 110 |
| 7 | 111 |
To convert any octal number, replace each digit with its three bit group from the table, then join the groups in order. That is the whole method. The only extra step is the leading zero rule, covered below.
Converting octal to binary by hand takes three steps. First, split the octal number into single digits. Second, replace each digit with its three bit group from the table above. Third, join the groups in order and drop any leading zeros at the front. Here is a full worked example with the value 123:
So 123 in octal is 1010011 in binary. You can check it by place value: 123 in octal is 83 in decimal, and 64 plus 16 plus 2 plus 1 is 83. Try it in the tool above: enter 123 and the converter shows the same answer with the steps worked out.
There is a second way to convert octal to binary, through decimal. First convert the octal number to decimal by place value, then convert that decimal number to binary by repeated division by 2. The direct method above is faster, but the indirect method is a useful check when you want to confirm an answer.
Take the value 52. By place value, 5 times 8 plus 2 times 1 is 42 in decimal. Then convert 42 to binary: 42 divided by 2 is 21 remainder 0, 21 divided by 2 is 10 remainder 1, 10 divided by 2 is 5 remainder 0, 5 divided by 2 is 2 remainder 1, 2 divided by 2 is 1 remainder 0, and 1 divided by 2 is 0 remainder 1. Read the remainders from the bottom up: 101010. Both methods agree, so 52 in octal is 101010 in binary. If you need the decimal step on its own, use the Octal to Decimal Converter, and to go from decimal to binary use the Decimal to Binary Converter.
The most common place you meet octal in real work is Unix file permissions, also called chmod values. Each file has three permission digits: one for the owner, one for the group, and one for everyone else. Each digit is the sum of 4 for read, 2 for write, and 1 for execute. So 7 means read, write and execute, 6 means read and write, 5 means read and execute, and 4 means read only. The binary form shows the three permission bits directly: read is the first bit, write is the second, and execute is the third.
| Octal | Binary | Decimal | Meaning |
|---|---|---|---|
| 755 | 111101101 | 493 | Script or program file |
| 644 | 110100100 | 420 | Plain file |
| 777 | 111111111 | 511 | Full access for everyone |
755 is the usual permission for a script or program file: the owner can read, write and run it, while everyone else can read and run it. In binary, 755 is 111101101, and in decimal it is 493. 644 is the default for a plain file: the owner can read and write it, while everyone else can only read it. In binary, 644 is 110100100, and in decimal it is 420. 777 gives full read, write and execute permission to everyone, which is rarely a good idea on a shared system. In binary, 777 is 111111111, and in decimal it is 511. You can check each one in the tool above: enter 755 and the converter shows 111101101.
Leading zeros change nothing about the value, and the rule for them is simple: drop leading zeros only at the front of the binary answer. When you replace each octal digit with three bits, the first group often starts with zeros. Those zeros carry no value, so you remove them. Zeros anywhere else stay exactly where they are.
For example, 052 converts to 101010, the same as 52, because the leading zero adds nothing. 007 converts to 111, the same as 7. But 101 converts to 1000001, and the zeros in the middle must stay: remove them and the answer is wrong. 101 in octal is 65 in decimal, and 64 plus 1 is 65, which confirms the middle zeros belong there. This tool drops the leading zeros for you, so 052 and 52 give the same result.
Here are three more values worked out digit by digit, so you can check the method against the tool.
Octal to binary is one of several number conversions on this site. To go the other way, use the Binary to Octal Converter. To convert binary values, use the Binary to Decimal Converter or the Binary to Hex Converter. To convert hex values, use the Hex to Decimal Converter, the Hex to Binary Converter, or the Hex to Octal Converter. To go from decimal to hex, use the Decimal to Hex Converter. To convert text, use the Text to Binary Converter, the Text to Hex Converter, or the Text to ASCII Converter.