Octal to Decimal Conversion of Number Systems

You are currently viewing Octal to Decimal Conversion of Number Systems

Number conversions have a great importance in computer science. Octal to decimal conversion is also very important there.

Not only for computer science but also for general students who want to learn about computer science and number system must have to know about different types of number conversions.

Keeping that in mind, in this post I am going to teach you all the details about number conversion from octal to decimal. We will also post everything about number conversion step by step in this site.

The thing is that, octal is an eight based number where we can use 8 digits from 0 to 7 to write any number. On the other hand in decimal, there are 10 digits to write any number which starts from 0 and end at 9.

The concept of base is very important, when we convert a number from one to another. If you have not the idea about number systems then please see our following post first.

Ok, now you have the basic idea about all the well known number system. So you will now be able to understand everything which I will discussed here.

We will use two rules for converting a number from octal to decimal here as like as other number system conversion. We will convert separately the integer number and fraction number.

To convert a number from octal to decimal we will start with the integer number first. Then we will learn about the fraction number. So, let’s get started.

Octal to decimal: Integer conversion

We can divided the rules for integer part for converting a number from octal to decimal by following two sections.

Now, let’s see an example conversion for implement these two rules. Here, we will convert a octal integer to decimal integer.

Example : Conversion of (16512)8 to equivalent decimal number.

Here in the solution we have multiplied every digits by the positional value of octal number system. After adding them, we will get the equivalent decimal value. Just see bellow;

Solution : 

(16512)8
= 1 × 84 + 6 × 83 + 5 × 82 + 1 × 81 + 2 × 80
= 4096 + 3072 + 320 + 8 + 2
= 7498

So, we can tell that the decimal equivalent of octal number 16512 is 7498. You can convert any integer octal number by these rules to the equivalent decimal integer number. Now, you should try this for different numbers.

Now, we will see another method to convert this number from octal to decimal. Obviously you can use any one of them and both will be the correct method.

octal to decimal conversion of number system

After converting the number by both the method we have got the result in decimal is 7498. So, use your favorite method from the above two method. to convert a number from octal to decimal.

Now, let’s head over the conversion of fraction octal number to equivalent decimal number. For this we have to learn two rules which is given bellow in the list.

Octal to decimal: Fraction conversion

You may have not understand anything by these two rules. Don’t worry, I will make it more easy by giving an example. Let’s see the following example to get a clear idea about octal to decimal conversion for a fraction number.

Example : Conversion of (0.145)8 to equivalent decimal number.

Here, we will also use the same concept for converting this octal number to equivalent decimal number. What we have to do is just multiply every digit by their positional value and then add them.

Solution : 

(0.145)8
= 1 × 8-1 + 4 × 8-2 + 5 × 8-3
= 0.125 + 0.0588 + 0.0098
= 0.1936
Note: Here, we have taken everything from 3 digits after radix point. You can check more if wnat.

So, we have got the result in decimal is 0.1936

So, I hope guy’s, now everything is clear to you that how you can convert a number from octal to decimal using general rules of conversion. Now, you should practice this for different numbers.

But it is not impossible to remain some doubt about this conversion. Keeping that in mind, I have put a full example of converting a number from octal to decimal here.

This complete example will really be very helpful to you to understand the topics. So, let’s see the example bellow.

Example : Conversion of (10512.145)8 to its equivalent decimal number.

Solution : 

We will convert its integer part first and then go to the fraction part. You can follow our given rules for this purpose. Let’s try to understand the example given bellow;

(10512)8
= 1 × 84 + 0 × 83 + 5 × 82 + 1 × 81 + 2 × 80
= 4096 + 0 + 320 + 8 + 2
= 4426

Again applying the second method to convert this number from octal to decimal we get the following figure.

octal to decimal

According to our given rules, the conversion of the fraction part of this number will be as like as following.

(0.145)8
= 1 × 8-1 + 4 × 8-2 + 5 × 8-3
= 0.125 + 0.0588 + 0.0098
= 0.1936
Note: We have took 3 digits after radix point here in this example.

However, after converting the number from octal to its equivalent decimal we have got (4426.1936)10 .

Now, you should try to convert some other number too to get the clear conception about this topics. You can convert any octal number to its equivalent decimal number by this rules.

Hope, this guide is able to give you a good idea about this conversion. I have made this post very easy for everyone. Hope, you have understand everything.

If you find any unexpected mistakes or have any doubt yet, then please let us know in the comment box bellow. We are highly interested to here about our website from you.

This Post Has 13 Comments

  1. Lizzie

    This website certainly has all of the info I needed about this subject and didn’t know who to
    ask.

  2. Rodolfo

    What i don’t understood is in reality how you’re no longer actually much more smartly-favored than you may be right
    now. You’re so intelligent. You understand thus significantly when it comes to this subject,
    made me personally consider it from so many various angles.
    Its like women and men aren’t interested except it is something to do with Girl gaga!
    Your personal stuffs outstanding. All the time deal with it up!

  3. Alina

    I was wondering if you ever thought of changing the layout of your blog?
    Its very well written; I love what youve got to say. But maybe you could a little more in the
    way of content so people could connect with it better.

    Youve got an awful lot of text for only having one or 2 images.
    Maybe you could space it out better?

  4. Christy

    Great post. I was checking constantly this blog and I’m impressed!
    Extremely useful info specifically the last part 🙂 I care for such information a
    lot. I was seeking this particular information for a long time.
    Thank you and good luck.

  5. Zella

    I am no longer sure where you are getting your information, however good
    topic. I needs to spend a while studying more or figuring out more.
    Thanks for fantastic info I used to be in search of this info for my mission.

  6. Lynette

    I was very pleased to uncover this page. I want to to thank you for your time just for this fantastic read!!
    I definitely enjoyed every little bit of it and i also have you bookmarked to check
    out new information on your website.

  7. Isidro

    I used to be recommended this website by way of
    my cousin. I am now not certain whether or not this put
    up is written by him as no one else recognize such detailed approximately my problem.
    You are incredible! Thank you!

  8. Celinda

    I think this is among the most vital info for me.
    And i am glad reading your article. But want to remark on few general things, The website
    style is perfect, the articles is really great :
    D. Good job, cheers

  9. website

    I’m not that much of a internet reader to be honest but your blogs
    really nice, keep it up! I’ll go ahead and bookmark your site to come back later.

    Many thanks

  10. Felisha

    You really 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 complicated and extremely broad for
    me. I am looking forward for your next post, I’ll try to get the
    hang of it!

  11. Gordon

    Remarkable things here. I am very satisfied to peer your post.
    Thanks so much and I am taking a look forward to touch you.
    Will you kindly drop me a mail?

  12. Hildegard

    I do agree with all the ideas you’ve introduced in your post.
    They’re very convincing and can certainly work. Still, the posts are too quick for beginners.
    May you please prolong them a bit from next time? Thank you for
    the post.

  13. tracfone 2022

    An outstanding share! I have just forwarded this onto a friend who was conducting a little homework on this.
    And he actually ordered me breakfast due to the fact that I
    stumbled upon it for him… lol. So allow me
    to reword this…. Thanks for the meal!! But yeah, thanx for
    spending some time to discuss this matter here
    on your internet site.

Leave a Reply