ToolNest logoToolNest.

How to Convert Binary to Octal Manually Step by Step

To convert binary to octal manually step by step, group the bits in threes starting from the right, pad the leftmost group with zeros if needed, and read each three-bit group as one octal digit: 101101 groups as 101 101, which is 5 5, so the answer is 55 in octal. Verify any hand conversion with our free number base converter.

Why Threes: 2 Cubed Is 8

Octal works because 2 cubed is 8, which means every group of 3 binary bits holds exactly one octal digit, no more and no less. Three bits can form 8 patterns, 000 through 111, and octal has exactly 8 digits, 0 through 7, so the mapping is perfect: 000 is 0, 001 is 1, 010 is 2, 011 is 3, 100 is 4, 101 is 5, 110 is 6, and 111 is 7. This is the same reason hexadecimal groups bits in fours, since 2 to the fourth is 16, and the same reason decimal has no clean bit grouping, since no power of 2 equals 10. Octal was the dominant shorthand in early computing because early machines used 12-bit, 24-bit, and 36-bit words, all divisible by 3, so their registers split neatly into octal digits, while modern 8-bit bytes split neatly into hexadecimal instead. That history is why octal survives today in exactly one famous place, Unix file permissions, and why it still appears in legacy hardware manuals and aviation transponder codes. The practical payoff of the grouping rule is that conversion needs no arithmetic at all: it is pattern matching, not calculation, which makes it faster and less error-prone than converting through decimal. If you want the decimal route for comparison, our binary to hex guide shows the grouping idea in base 16, and the text to binary converter shows how characters become bits in the first place.

The Method in 4 Steps

Converting binary to octal manually takes four steps, and the worked example below uses 101101. Step one: write the binary number and mark groups of three starting from the right, not the left, because the rightmost bits are the lowest values and grouping must align to them. For 101101, grouping from the right gives 101 101, two complete groups. Step two: if the leftmost group has fewer than three bits, pad it on the left with zeros until it has three, because leading zeros never change a number's value. For 11010, grouping from the right gives 11 010, and padding the leftmost group gives 011 010. Step three: convert each three-bit group to its octal digit using the table: 101 is 5, 011 is 3, 010 is 2. Step four: write the digits in the same order, left to right, with no spaces: 101101 becomes 55, and 11010 becomes 32. Verify by converting back: octal 55 is 5 times 8 plus 5, which is 45, and binary 101101 is 32 plus 8 plus 4 plus 1, which is also 45, so the two agree. The most common beginner error is grouping from the left, which misaligns every group: grouping 11010 from the left gives 110 10, which pads to 110 010 and gives the wrong answer 62. Always start from the right. For instant checking, the free number base converter converts any binary value to octal, and our octal to decimal guide runs the reverse direction.

Binary to Octal Conversion Chart

A binary to octal chart is just the eight three-bit patterns and their digits, and it is worth memorizing because every conversion uses it. The chart reads: 000 is 0, 001 is 1, 010 is 2, 011 is 3, 100 is 4, 101 is 5, 110 is 6, and 111 is 7. Notice the pattern inside the chart: the left bit of each group is worth 4, the middle bit is worth 2, and the right bit is worth 1, so 101 is 4 plus 0 plus 1, which is 5, and 110 is 4 plus 2 plus 0, which is 6, which means you can read a group as a tiny addition instead of memorizing all eight rows. That 4-2-1 weighting is the same place-value idea as decimal, just with three positions instead of ten, and it is the fastest way to convert a group under time pressure. A useful extension of the chart is the byte row: one byte is 8 bits, which splits into two full octal groups plus a leftover pair, so a byte like 11111111 groups as 011 111 111, giving octal 377, the maximum value of a byte, which appears constantly in permissions and color work. Keep the chart visible for your first dozen conversions, then let the 4-2-1 weighting take over: it is faster than looking anything up. For the reverse trip, our octal to decimal guide uses the same weighting, and the binary to text converter shows what bit patterns mean as characters.

Worked Examples: 8 Bits, 12 Bits, and Fractions

Three binary to octal examples cover every case you will meet. Example one, a full byte: convert 11111111. Group from the right in threes: 11 111 111, then pad the leftmost group to 011 111 111, and read the digits as 3 7 7, so the answer is octal 377. Check it: 377 in octal is 3 times 64 plus 7 times 8 plus 7, which is 192 plus 56 plus 7, which is 255, the maximum byte value, and binary 11111111 is also 255, so it agrees. Example two, a longer string: convert 1010111100. Group from the right: 100 111 010 1, then pad the leftmost group to 001 010 111 100, and read the digits as 1 2 7 4, so the answer is octal 1274. Check it: 1274 in octal is 512 plus 128 plus 56 plus 4, which is 700, and binary 1010111100 is 512 plus 128 plus 32 plus 16 plus 8 plus 4, which is also 700. Example three, a fraction: convert 101.11. Group each side of the point separately, and for the fractional side group from the point outward to the right, padding on the right: the whole part 101 is already one group, giving 5, and the fraction 11 pads to 110, giving 6, so the answer is octal 5.6. Check it: binary 101.11 is 5.75 in decimal, and octal 5.6 is 5 plus 6 eighths, which is also 5.75. Fractions are where padding direction matters most: pad whole parts on the left, fractional parts on the right, and swapping them is the classic fraction error. For bulk checking, the number base converter handles fractions too, and our text to binary guide shows how characters become these bit strings.

Unix Permissions: Where Octal Still Lives

Unix file permissions are the one place where octal is still a daily tool, and they work because permissions come in three triples. Each file has three permission sets, owner, group, and other, and each set has three flags, read, write, and execute, so the whole permission string is nine bits, which splits into exactly three octal digits. The classic 755 means owner 111 (read, write, execute, which is 7), group 101 (read and execute, which is 5), and other 101 (read and execute, which is 5), so a file with 755 lets its owner do anything and everyone else read and run it. The private-file standard 600 means owner 110 (read and write, which is 6) and nobody else anything, and the script standard 700 means owner 111 and nobody else anything. Reading permissions backwards is a useful skill: seeing 644 in a listing means 110 100 100, which is owner read-write, group read-only, other read-only, the default for most files a text editor creates. The chmod command takes octal directly, so chmod 755 script.sh sets exactly those nine bits, and understanding the grouping is what makes chmod feel like a language instead of magic numbers. Octal also survives in legacy contexts like PDP-era documentation and some embedded systems, but permissions are the reason every developer still meets it. For converting permission bits in bulk, the number base converter does the grouping instantly, and the octal to decimal guide covers the numeric side.

4 Mistakes That Break the Conversion

Four mistakes account for almost every wrong binary-to-octal conversion. First, grouping from the left instead of the right, which misaligns every group whenever the bit count is not a multiple of three: always anchor at the rightmost bit and work leftward. Second, forgetting to pad the leftmost group, which turns 11010 into the groups 11 010 read as if 11 were a digit, when the padded groups 011 010 give the correct 32. Third, reading the octal answer as a decimal number: octal 10 is 8 in decimal, not 10, and octal 55 is 45, not 55, so any check that compares the octal digits directly to a decimal value will look wrong even when the conversion is right. Fourth, dropping leading zeros inside the number: the group 001 is the digit 1, but writing it as 1 in the middle of a longer answer is fine, while dropping it entirely shifts every digit after it, so 001 010 must become 12, with the leading 1 kept, not 2. A fifth, subtler error is padding fractions on the wrong side: fractional groups pad on the right, so 0.1 becomes 0.100, giving octal 0.4, not 0.001, which would be a different and much smaller value. The cure for all five is the convert-back check: expand each octal digit to three bits and confirm the original string returns, which takes seconds and catches every one of these errors. When the answer still disagrees, the number base converter settles it, and the binary to hex guide shows the same grouping method in base 16.

Do it in one click

Convert between binary, octal, and hex instantly — free number base converter, no signup.

Open the Free Tool →