Skip to content
  • No data uploaded
  • Instant results

Binary to Octal Converter

Enter a binary number to convert it to octal immediately. Paste multiple values (one per line) for bulk conversion. Arbitrary-precision math means even 128-bit values convert exactly.

Binary to Octal Converter

one number per line
Octal result
326
Octal → Binary

Free Binary to Octal Converter by pGento

How to convert binary to octal

Binary (base 2) uses only the digits 0 and 1 and is how every value is ultimately stored in hardware. Octal (base 8) uses digits 0–7; each octal digit maps to exactly three bits, which is why Unix file permissions (e.g. 755) are written in octal.

Worked example converting 11010110:

  1. Expand by place value: 1×27 + 1×26 + 0×25 + 1×24 + 0×23 + 1×22 + 1×21 + 0×20 = 214 in decimal.
  2. Repeatedly divide 214 by 8 and read the remainders bottom-up to get 326.
  3. Result: 11010110 (binary) = 326 (octal).

Accepted input formats

  • Optional prefixes: 0b (binary), 0o (octal), 0x (hex).
  • Spaces, commas and underscores are ignored, so 1101_0110 works.
  • A leading minus sign converts negative values (sign-magnitude, not two's complement).
  • Hexadecimal is case-insensitive; output is upper-case.

Binary to Octal reference table

BinaryOctal
00
11
102
113
1004
1015
1106
1117
100010
100111
101012
101113
110014
110115
111016
111117
1000020
10000040
1000000100
1100100144
10000000200
11111111377
100000000400
100000000002000
100000000000010000
1111111111111111177777

Frequently asked questions

What is 11010110 in octal?
11010110 in binary equals 326 in octal.
Is there a size limit?
No practical limit. The converter uses JavaScript BigInt, so values with hundreds of digits convert exactly without rounding.
Is my data sent to a server?
No. The conversion runs entirely in your browser; nothing you type is uploaded.
Binary to Octal Converter

Embed this tool on your site

Paste this code into any web page. It stays free, fast and ad-free inside your site.

Print or save as PDF

Prints just this tool and its result. Choose “Save as PDF” as the printer to get a file. Branding is stored only in this browser.