Binary to Octal Converter

Type a Binary number and get Octal instantly — plus every other base at the same time.

Every base updates as you type; click bits to toggle them. Digit separators (_, spaces) are allowed. In two's complement mode the binary/octal/hex rows show the bit pattern and the decimal row shows the signed value. Choose Text to convert ASCII/UTF-8 text to bytes in any base — or bytes back to text.

How to convert Binary to Octal

Binary and octal line up perfectly: every group of 3 bits is exactly one octal digit. Pad the binary number with leading zeros to a multiple of 3, split it into groups of 3 starting from the right, and translate each group using the table below.

Worked example

Convert 101101 (binary) to octal:

  1. Start with binary 101101; pad to a multiple of 3 bits: 101 101
  2. 1015
  3. 1015
  4. Result: 55

So 101101 in binary is 55 in octal.

Binary to Octal conversion table

BinaryOctal
00
11
102
113
1004
1015
1106
1117
100010
100111
101012
101113
110014
110115
111016
111117

Frequently asked questions

Can this handle numbers larger than 64 bits?
Yes. Conversion runs on arbitrary-precision integers, so numbers of any length convert exactly. Many online converters silently lose precision above 2⁵³ (about 16 decimal digits) — this one doesn't.
How do I convert negative numbers?
A leading minus sign works in every base. For the bit-pattern view programmers usually want, switch the mode to two's complement at 8, 16, 32, or 64 bits — then binary, octal, and hex show the bit pattern while decimal shows the signed value.
Can I convert the other way, or to other bases?
Use the Octal to Binary converter, or just change the From/To dropdowns above — every common base is shown at once anyway, and a Text mode converts ASCII to bytes and back.

Need arithmetic rather than conversion — adding hex numbers, shifting bits, masking? Use the programmer's calculator.