Decimal to Octal Conversion of Number System

You are currently viewing Decimal to Octal Conversion of Number System

Conversion from decimal to octal is very easy and simple if you understand it. However, I will try my best to make it simple for you. So, don’t worry.

As like as other conversion, here is also we will divide the entire conversion to two different categories.

One is for integer part and other is for fraction part. I will discuss separately about both of them.

Now, lets see the rules for converting the integer portion first. Then we will see the rules for fraction portion to convert decimal to octal later in this post.

Here is the rules for converting from decimal to octal of an integer number.

Decimal to octal: Rules for integer

The following example will make you clear about these 3 rules for integer conversion. Let’s try to understand the given example.

Example : Convert (158)10 to equivalent octal number.

We have to convert the 10 based decimal number to its equivalent octal number which is 8 based. For this we can use any one method which are given bellow.

We have divided the number by the base of octal number and then taken the reminder in the given order indicated by the arrow.

For example, if we divide 158 by 8, then we will get the result 19 and reminder 6. If we divide 19 again by 8 then we will get 2 as the result and 3 as reminder. Just follow the process until you get zero at the result.

decimal to octal number system

Now, try to convert some other numbers from decimal to octal using the same rules. This will help you to test yourself. So, practice yourself.

Take help from here if you can not solve anything properly. These rules were for only integer part. Now, we will see the rules for fraction number to convert decimal to octal.

Decimal to octal: Rules for fraction

You can also faced some difficulties to understand the above rules. However, I have discussed through an example conversion bellow. Just see this and feel how easy it is!

Example : Conversion of (.45)10 to equivalent octal number.

We will multiply the given number by the base of octal number and then write the integer part as the given direction by arrow.

Take the necessary digits after the decimal point although we have taken here from 5 digits after the radix point.

decimal to octal number conversion

You can convert any fraction number from decimal to octal by the similar way. So, try this in your own.

I hope, you are now able to convert any decimal number to octal number after reading this post. If this is true, now try yourself to convert the following example from decimal to octal by your own.

I have given the solution for your learning purpose. Bus you should not see that solution before trying in your own. Now, try it.

Example : Conversion of (123.45)10 to octal number.

To convert the given decimal number to octal number we can use our previous concept. We will convert its integer and fraction part separately. At first we will convert the integer portion and then fraction part.

See the conversion of its integer part first.

decimal to octal number system
decimal to octal

Now, lets see the conversion of fraction portion of this given decimal number. The direction of arrow indicates the order of taking octal digits.

decimal to octal number conversion

Now, we have got the total octal equivalent of this decimal number is (173.34631..)8 . Now, try to convert any other decimal number to its equivalent octal number using same method.

I think, you are now clear about this conversion from decimal to octal by reading this post. I have tried my best to make it very simple for you.

If you have any doubt for converting decimal to octal still now, then through it on the comment section bellow. We will try to solve your problem. Don’t forget to tell your experience about visiting our site.

This Post Has 9 Comments

  1. Kelly

    You actually make it seem so easy with
    your presentation but I find this topic to be really something which
    I think
    I would never understand. It seems too complex and very broad for me.

    I am looking forward for your next post, I’ll
    try to get the hang of it!

  2. Deena

    That is a good tip particularly to those fresh to
    the blogosphere.
    Simple but very precise info? Thanks for sharing this one.

    A must read article!

  3. Juliane

    Thanks for the auspicious writeup. It in truth
    used to be a entertainment account it. Look advanced to more brought
    agreeable from you! By the way, how can we communicate?

  4. Stacy

    I am regular visitor, how are you everybody? This post posted at this site is truly pleasant.

  5. Rhonda

    I like what you guys are usually up too. This type of clever work and reporting!
    Keep up the very good works guys I’ve you guys to blogroll.

  6. Judi

    Hello to all, how is all, I think every one is getting more from this website, and your views are good in support of new visitors.

  7. Jake

    Hi there, I discovered your web site by means of Google at the
    same time as searching for a related subject, your website got here
    up, it seems to be great. I have bookmarked it in my google
    bookmarks.
    Hello there, just was alert to your weblog through Google, and
    found that it is really informative. I am going to watch out for brussels.

    I will be grateful if you happen to proceed this in future.

    Numerous other people can be benefited out of your writing.
    Cheers!

  8. Bailey

    When someone writes an paragraph he/she keeps the plan of a user in his/her brain that how a user
    can know it. Thus that’s why this article is
    outstdanding. Thanks!

  9. Ryan Spencer

    I’ve read some excellent stuff here. Definitely
    worth bookmarking for revisiting. I surprise how much attempt you set to make
    any such great informative web site.

Leave a Reply