Decimal to Binary Conversion of Number System

You are currently viewing Decimal to Binary Conversion of Number System

Before going ahead with decimal to binary conversion, we need to know about decimal and binary number. I think most of you know about this two number systems.

Decimal is the most common and naturally used number system where we use the digits 0 to 9 to write any number. Where binary is the 2 based number where we can only use 0 and 1 to write any number.

Binary number is well known to the machine and hardly known to human before calculation. But decimal number is very well known to everyone. Because we use decimal number in all our calculations.

Now, lets come to the point. In this post, I am going to teach you everything about decimal to binary conversion. How we can convert a number from decimal to binary will be discussed here.

As like as other conversion we have to know two rules for decimal to binary conversion. One is for integer and other is for fraction number. Now, let’s go ahead with some examples of converting.

Rules for converting integer:

Example : Conversion of (27)10 to equivalent binary number.

As like as the given two figure bellow, we have to divide the given 27 by the base of binary number which is 2. Then we have to store the reminder.

In the given figure, we have got 13 as the result and 1 as reminder. Then again divide 13 by the base of binary number.

Then we have got 6 as the result and 1 as reminder. Continue this process until get 0 at the result.

At last, we have to write all the reminder at the given direction followed by the arrow in both cases.

decimal to binary
decimal to binary number conversion

Here, we can use any one of this two method. Direction of arrow indicates the order of binary digits.

You can convert any integer decimal number to its equivalent binary number by this rule. Now, it is your time to do some practice of conversion. Now, let’s go to the next one which is for fraction numbers.

Rules for fraction number :

However, there are some different rules for converting a fraction number from decimal to binary. Let’s go through the rules first then we will see some example.

Now, see the method of converting at the example bellow. This will give you a clear concept to convert a fraction number from decimal to binary.

Example : Conversion of (0.45)10 to equivalent binary number.

For this conversion, we have to multiply the given number 0.45 by the base of binary number which is 2. Then we have to store the integer part which can be 0 or 1.

Here in this figure bellow, we have multiplied 0.45 by 2.

Then we have got 0.90 where the integer portion is 0 and fraction portion is .90

Then again multiply .90 by 2.

Now we have got 1.80 where the integer part is 1 and fraction is .80

Continue the process until you get 0 at the result. If it does not give zero at the result, then determine 4 to 5 times or as the given direction.

decimal to binary converter

Here, direction of arrow indicates the order of priority of taking binary digits. Now, try yourself to do the same thing for some different fraction numbers.

See the following example conversion to learn more if you have any doubt still now. In this example we will convert a number from decimal to binary. It will really help you to understand this conversion.

Example : Conversion of (127.375)10 to equivalent binary number.

We will convert separately its integer and fraction part for converting the number from decimal to binary. At first we will convert the integer part and then fraction part.

Now, lets see the conversion of its integer part first. The rule for this conversion is same as we have discussed above.

convert from decimal to binary
decimal to binary conversion

So, the binary equivalence of 127 is 1111111 which we have got from the above two figure. However, you can use any one method from the above two methods.

Now, we will see the conversion of its fraction part to the equivalent binary number. Let’s try to understand by the given figure.

decimal to binary

Here, we have got the binary equivalence of given fraction part is 0.011. We will combine this two part to get the full number of equivalence of the decimal number to binary number.

So, the total binary equivalent of this decimal number will be (1111111.011)10 . However, you can convert any decimal number to its equivalent binary number following this rules.

Now, it is your time to become expert to convert a number from decimal to binary. See our rules again if you have still any doubt.

I think, you have got a very clear idea about how we can convert a decimal number to its equivalent binary number. I have tried my best to make this topics very easy for you.

But if you have any query still now to convert a number from decimal to binary, then the comment section is open for you. You can tell your problem, share your experience about our site here. So, try this.

Please, let us know your experience to visit our site. Tell us your experience of visiting world tech journal. We will be very happy to here from you.

Thanks for remaining with world tech journal.

Related Number Conversion Guide:

This Post Has 9 Comments

  1. Gabrielle

    Pretty! This was a really wonderful post. Thanks for providing these
    details.

  2. Willian

    If you want to obtain a good deal from this piece of
    writing then you have to apply these strategies to your won weblog.

  3. Cecile

    I really love your website.. Great colors & theme. Did you build this
    site yourself? Please reply back as I’m hoping to create my very own website and would like to learn where you got this from or exactly what the theme is called.
    Thanks!

  4. Almeda

    An interesting discussion
    is definitely worth comment. I think that you ought to publish more on this
    subject matter,
    it may not be a taboo matter but generally people don’t speak about
    such topics. To the next!
    All the best!!

  5. Brigitte

    What’s up, its pleasant piece of writing about media print, we all know media is a wonderful source of facts.

  6. Violet

    First of all I want to say wonderful blog! I had a quick question that I’d like
    to ask if you don’t mind. I was curious to find out how you center yourself and clear your thoughts
    before writing. I have had a hard time clearing my thoughts in getting my thoughts out.
    I do enjoy writing however it just seems like
    the first 10 to 15 minutes are generally wasted simply just trying to figure out how to
    begin. Any recommendations or tips? Kudos!

  7. Anh Goshorn

    Undeniably imagine that which you stated. Your favorite
    justification appeared to be at the net the simplest thing to have
    in mind of. I say to you, I definitely get irked at the same time as other folks consider worries that they just don’t recognise about.

    You controlled to hit the nail upon the top and also
    outlined out the entire thing with no need side-effects , folks could take a signal.
    Will probably be back to get more. Thank you

  8. Jared Drorbaugh

    I Know What You Mean

  9. tracfone

    An outstanding share! I’ve just forwarded this onto a co-worker who has been conducting
    a little homework on this. And he in fact ordered me lunch because I found
    it for him… lol. So let me reword this…. Thanks for the
    meal!! But yeah, thanks for spending some time to talk about this subject
    here on your web page.

Leave a Reply