Binary to Octal Converter Convert your data

Input Data String

Output Data
        
 

 

 

How to convert binary to octal

Conversion steps:

  1. We split the binary number into group of three digits starting from right to left.
  2. If the number of digits is not multiple of three we add zeros in front to form three digits.
  3. We multiply each group with 421.
  4. We add the result for each group.
  5. The result will be by puting together all the results, reading from left to right.

Binary to octal conversion table

Binary (Base 2) Octal (Base 8)
0 0
1 1
10 2
11 3
100 4
101 5
110 6
111 7
1000 10
1001 11
1010 12
1011 13
1100 14
1101 15
1110 16
1111 17
10000 20
10001 21

 

Example

Convert 11011100112 to octal:

Step Group 1 Group 2 Group 3 Group 4
Step 1 001 101 110 011
Step 2 421 421 421 421
Step 3 001 401 420 021
Step 4 1 5 6 3
Step 4 1563

 

11011100112 = 15638

 

Source