How To Calculate

Learn how to calculate anything
Menu
  • bmi
Home
rate
How to Convert Decimal to Binary.
rate

How to Convert Decimal to Binary.

Rosemary Njeri

In computing, binary (or base-2) is a numeric system that only uses two digits 0 and 1.

While the decimal numeral system is the standard system for denoting integer and non-integer numbers.

Formula to convert decimal to binary.

To convert binary to decimals you need to know the Least Significant Bit(LSB) and the Most Significant Bit (MSB). MSB is at the bottom of the column of remainders and the LSB is at the top.

In our case we will use the Repeated Division-by-2 Method, whereby you divide the decimal by 2 until the remainder is 0.

Example:

Convert the decimal number 300 to binary.

Number 300
Divide by 2
Result150Remainder0 (LSB)
Divide by
Result75Remainder0
Divide by 2
Result37Remainder1
Divide by 2
Result18Remainder1
Divide by 2
Result9Remainder0
Divide by 2
Result4Remainder1
Divide by 2
Result2Remainder0
Divide by 2
Result1Remainder0
Result0Remainder1(MSB)

Therefore, to know your binary value, you will need to write the remainders starting with the most bottom one which is the MSB.

= 100101100

The value above is the decimal number 300 in the binary value system.

Share
Tweet
Reddit
Pinterest
Email
Prev Article
Next Article

Related Articles

How to Calculate Return on Assets.
What is Return on Assets? Prior to learning how to …

How to Calculate Return on Assets.

How to Calculate Tax Refund.
A tax refund is a reimbursement to a taxpayer of …

How to Calculate Tax Refund.

Leave a Reply Cancel Reply

Popular Posts

    Categories

    learntocalculate.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com.

    How To Calculate

    Learn how to calculate anything

    Pages

    • About Us
    • Contact Us
    • Privacy Policy
    Copyright © 2023 How To Calculate

    Ad Blocker Detected

    Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker.

    Refresh