# Decimal to Binary Formula

Decimal to binary conversion is a long process which is usually done by dividing the decimal number to 2. Continuous division of integers is carried out until the reminder reaches to 0 or 1. Note down all the reminders in reverse order and arrive at a binary number corresponding that is almost near to given decimal number.

Here are few decimal numbers and their corresponding binary numbers –

Decimal Numbers | Binary Numbers |
---|---|

0 | 0000 |

1 | 0001 |

2 | 0010 |

3 | 0011 |

4 | 0100 |

5 | 0101 |

6 | 0110 |

7 | 0111 |

8 | 1000 |

9 | 1001 |

10 | 1010 |

11 | 1011 |

12 | 1100 |

13 | 1101 |

14 | 1110 |

15 | 1111 |

### Solved Examples

**Question 1:**Convert 25 in to binary system?

** Solution: **

Given decimal number is 25.

Divide this number by 2 until the reminder is 0 or 1.

2 | 25

________

2 | 12……………1

________

2 | 6…………….0

________

2 | 3…………….0

________

1…………….1

Divide this number by 2 until the reminder is 0 or 1.

2 | 25

________

2 | 12……………1

________

2 | 6…………….0

________

2 | 3…………….0

________

1…………….1

So, the binary equivalent is,

(25)_{10} = (11001)_{2}