Conversion

Binary to octal converter

Settings
Reset
Share
Save
Embed
Report a bug

Share calculator

Add our free calculator to your website

Please enter a valid URL. Only HTTPS URLs are supported.


Use as default values for the embed calculator what is currently in input fields of the calculator on the page.


Input border focus color, switchbox checked color, select item hover color etc.


Please agree to the Terms of Use.

Preview

Save calculator

Calculator Settings

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Share calculator

What is the binary number system?

The binary number system is a base-2 numeral system widely used in computer science and digital electronics. It uses only two digits — 0 and 1 — to represent values.
Each digit in a binary number corresponds to a power of 2. The rightmost bit represents 202^0, the next one to the left represents 212^1, and so on.

For example:

(1101)2=1×23+1×22+0×21+1×20=8+4+0+1=1310(1101)_2 = 1 \times 2^3 + 1 \times 2^2 + 0 \times 2^1 + 1 \times 2^0 = 8 + 4 + 0 + 1 = 13_{10}

Binary numbers are commonly used because electronic circuits can easily distinguish between two states — ON (1) and OFF (0).

What is the octal number system?

The octal number system is a base-8 numeral system that uses digits from 0 to 7. It’s a compact way to express binary numbers and was historically used in early computers that operated on 12, 24, or 36-bit words.

Each digit in an octal value corresponds to three binary digits (bits) because 23=82^3 = 8. Hence, converting between binary and octal is straightforward and does not require intermediate conversion to decimal.

For example:

(10)8=1×81+0×80=810(10)_8 = 1 \times 8^1 + 0 \times 8^0 = 8_{10}

Step-by-step conversion

Step 1: Convert binary to decimal

(11010110)2=1×27+1×26+0×25+1×24+0×23+1×22+1×21+0×20=214(11010110)_2 = 1 \times 2^7 + 1 \times 2^6 + 0 \times 2^5 + 1 \times 2^4 + 0 \times 2^3 + 1 \times 2^2 + 1 \times 2^1 + 0 \times 2^0 = 214

Step 2: Decimal to octal

We repeatedly divide the number by 8 and record remainders.

DivisionQuotientRemainder
214 ÷ 8266
26 ÷ 832
3 ÷ 803

Reading remainders from bottom to top gives 3268326_8.

Convert with binary grouping

Each octal digit represents 3 binary bits.

BinaryOctal
0000
0011
0102
0113
1004
1015
1106
1117

For example, to convert 1001100112100110011_2 to octal, group into sets of three: 100 110 011100\ 110\ 011.
Convert each group:
1002=48100_2=4_8, 1102=68110_2=6_8, 0112=38011_2=3_8.
Thus 1001100112=4638100110011_2 = 463_8.

You can use both methods to convert binary to octal - using decimal as an intermediate step or directly grouping into 3-bit sets.

Frequently asked questions

How to convert binary 100110011 to octal manually?

Group into sets of three: 100 110 011100\ 110\ 011.
Convert each group:
1002=48100_2=4_8, 1102=68110_2=6_8, 0112=38011_2=3_8.
Thus 1001100112=4638100110011_2 = 463_8.

Why does grouping by three binary digits work perfectly?

Because 23=82^3=8, three binary digits correspond exactly to one octal digit, making conversion direct and error-free.

How to verify binary-to-octal conversion accuracy?

Convert binary to decimal, then decimal to octal using division by 8. If both octal values match, your conversion is correct.

What is the octal equivalent of binary 11111111?

Let’s convert binary 11111111 to decimal, then decimal to octal.

111111112=1×27+1×26+1×25+1×24+1×23+1×22+1×21+1×20=2551011111111_2 = 1 \times 2^7 + 1 \times 2^6 + 1 \times 2^5 + 1 \times 2^4 + 1 \times 2^3 + 1 \times 2^2 + 1 \times 2^1 + 1 \times 2^0 = 255_{10}

Then convert 255 to octal:

DivisionQuotientRemainder
255 ÷ 8317
31 ÷ 837
3 ÷ 803
25510=3778255_{10} = 377_8

Thus, the octal equivalent of binary 11111111 is 377.

Report a bug

This field is required.