Decimal to Binary Formula

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.
Let us solve an example to understand the method.

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…………….1So, the binary equivalent is,
(25)10 = (11001)2

Comments

Leave a Comment

Your Mobile number and Email id will not be published.

*

*

  1. I was searching the web for a simple explanation on how to calculate a binary from a decimal and this article is perfect. Thank you!