# Convert Octal to Binary

In order to **convert octal to binary** number, we have to follow a few steps. Octal numbers have base 8 and binary numbers have base 2. We can convert the octal number into decimal and then convert the decimal number into its equivalent binary number. Also, we can remember the octal to the binary equivalent table to do the quick conversion. Before we learn the conversion method, let us learn about both the number systems.

**Octal Numbers:** Octal numbers are the numbers which have base 8. It is represented as N_{8}. It uses the digits 0,1, 2, 3, 4, 5, 6 and 7 to represent the numbers in this number system. For example:

- 112
_{8} - 1008
_{8} - 789
_{8}, etc.

**Binary Numbers:** Binary numbers have base 2 and are represented by two digits, i.e. 0 and 1. They are the combination of binary digits, 0’s and 1’s. These numbers have wide application in the computer system to store data. For example:

- 0011
_{2} - 111101
_{2} - 101010
_{2}

## How to Convert Octal To Binary?

Conversion of octal to binary number is a two-step process. First, we need to convert the given octal number into its equivalent decimal number and then convert the decimal into binary. Let us learn the complete steps here.

### Octal to Decimal Conversion

- Count the number of digits present in the given number. Let the number of digits be ‘n’.
- Now multiply each digit of the number with 8
^{n-1}, when the digit is in the nth position from the right end of the number. If the number has a decimal part, multiply each digit in the decimal part by `8^{-m}` when the digit is in the m^{th}position from the decimal point. - Add all the terms after multiplication.
- The obtained value is the equivalent decimal number.

### Decimal to Binary Conversion

- Take the above-produced decimal number and divide it by 2.
- Note down the remainder.
- Continue the above two steps for the quotient till the quotient is zero.
- Write the remainder in the reverse order.
- The received number is the equivalent binary number for the given octal number.

**Also, see:**

### Solved Examples

**Q.1: Convert 41 _{8} to a binary number.**

Solution: Given number is 41_{8}

41_{8} = (4 * 8^{1}) + (1 * 8^{0})

= 4 * 8 + 1 * 1

= 32+1

= 33(Decimal number)

Now convert this decimal number into its equivalent binary number. Let us draw a table to show the conversion of decimal to binary as given below.

Decimal Number divided by 2 | Quotient | Remainder |

33 divided by 2 | 16 | 1 |

16 divided by 2 | 8 | 0 |

8 divided by 2 | 4 | 0 |

4 divided by 2 | 2 | 0 |

2 divided by 2 | 1 | 0 |

1 divided by 2 | 0 | 1 |

Therefore, the equivalent binary number is 100001_{2}.

Hence, 41_{8} = 100001_{2}

**Q.2: Convert 10 _{8} to a binary number.**

Solution: Given number is 10_{8}

10_{8 }= (1 * 8^{1}) + (0 * 8^{0})

= 1 * 8 + 0 * 1

= 8 + 0

= 8 (Decimal number)

Now convert this decimal number into its equivalent binary number. Let us draw a table to show the conversion of decimal to binary as given below.

Decimal Number divided by 2 | Quotient | Remainder |

8 divided by 2 | 4 | 0 |

4 divided by 2 | 2 | 0 |

2 divided by 2 | 1 | 0 |

1 divided by 2 | 0 | 1 |

Therefore, the equivalent binary number is 1000_{2}.

Hence, 10_{8} = 1000_{2}

## Convert Octal to Binary Using Table

We can also use the octal number table to convert a number with base 8 to a number with base 2. Using this table we can also convert a binary number to an octal number. First, let us write the table.

Octal Number |
Equivalent Binary Number |

0 | 000 |

1 | 001 |

2 | 010 |

3 | 011 |

4 | 100 |

5 | 101 |

6 | 110 |

7 | 111 |

**Example: Convert 12 _{8} into a binary number.**

**Solution:** Given, 12_{8} is the octal number.

Now with the help of the table, we can write;

12_{8} = (001 010)_{2}

Since zeros on the left, most of digit 1 does not have any significance. Thus,

12_{8} = (1010)_{2}

### Practice Questions

- Convert 122
_{8}into binary number. - Convert the octal number 200
_{8}into its equivalent binary number. - Convert (98)
_{8}to a binary number.