Converter to transform any number **decimal in octal**. The difference between both number systems is that in decimal format we work with base 10 while in octal, we work with base 8 and that forces us to make a conversion to obtain the equivalent number.

With our **decimal to octal calculator**, You can save the calculations since you only need to enter the number in decimal format and press the calculate button to obtain its octal equivalent. We also have for you a octal to decimal converter in case you want to perform the reverse conversion.

Article sections

## How to change from decimal to octal

If you want to learn **how to convert from decimal to octal**, In this section we will explain the procedure to follow.

First of all, it is important to know that the decimal system works in base 10 while the octal system works in base 8. Starting from this premise, to convert from decimal to octal what we have to do is **successive divisions by 8** until the remainder is less than eight.

Subsequently, **write the value of the remainders obtained in each division** together with that of the last quotient** **. The last quotient will be the first digit of the octal number while the first remainder will be the last number.

If you are not sure how to convert from decimal to octal, here are some practical examples of how to do it.

## Decimal to octal conversion examples

We are going to put into practice the theory seen in the previous point and we are going to see with several practical examples **how to convert from decimal to octal** making divisions by 8.

### 4248 from decimal to octal

Here is the procedure to convert the decimal number 4248 to the octal system:

Decimal number | ||
---|---|---|

Quotient | Rest | |

4248 | 531 | 0 |

531 | 66 | 3 |

66 | 8 | 2 |

8 | 1 | 0 |

Looking at the last quotient and the value of the residuals obtained, we have that:

4248

_{10}= 10230_{8}

### 5137 from decimal system to octal system

Let's go with a second example of **convert a decimal number to octal**. In this case it is the turn of 5137.

We draw up again a table in which we compile the value of the quotient and remainder obtained in the divisions by 8 and we obtain the following result:

Decimal number | ||
---|---|---|

Quotient | Rest | |

5137 | 642 | 1 |

642 | 80 | 2 |

80 | 10 | 0 |

10 | 1 | 2 |

1 | 0 | 1 |

We collect the value of the last quotient as the first digit and the value of the first remainder as the last digit and we have that:

5137

_{10}= 12021_{8}

## Change from decimal to octal in Excel

If you want to create your own **decimal to octal calculator**, you can use Excel to get it.

The Microsoft program incorporates a function that allows **change from decimal system to octal system** automatically as long as the quantity is within the range (-536.870.911, 536.870.911) otherwise it will not be able to make the conversion.

To use Excel as **decimal to octal converter**, just open a new spreadsheet and type the following function in an empty cell:

=DEC2OCT()

In parentheses you can directly write the decimal number you are going to convert from **DEC to OCT** or if you prefer, you can reference a cell in the spreadsheet where you have typed the number to convert.

## Decimal to octal conversion table

Below you have a **decimal to octal conversion table** which compiles some equivalences from 1 to 1,000. This way you will have a much clearer reference and more examples of the conversion that we have worked on throughout this post.

Decimal | Octal |
---|---|

1 | 1 |

2 | 2 |

3 | 3 |

4 | 4 |

5 | 5 |

6 | 6 |

7 | 7 |

8 | 10 |

9 | 11 |

10 | 12 |

20 | 24 |

30 | 36 |

40 | 50 |

50 | 62 |

60 | 74 |

70 | 106 |

80 | 120 |

90 | 132 |

100 | 144 |

200 | 310 |

300 | 454 |

400 | 620 |

500 | 764 |

600 | 1130 |

700 | 1274 |

800 | 1440 |

900 | 1604 |

1000 | 1750 |

## From decimal to octal with the calculator

If you have a scientific calculator handy, chances are you can use it for **convert from decimal to octal**. In our case we are going to see how it is done with most recent Casio models that have been offering this feature for a few years now.

The first thing you have to do is to locate the button that says "Mode Setup" although it can also come as "Menu Config". When you find it, press it and select the "Base-N" option that will allow us to make the **decimal to octal conversion**.

Once you have selected the previous option, locate the key that says "DEC" at the top and press it. If you cannot find it, take as a reference the calculator in the image where you can see this button in the last row of keys.

Next, type the decimal number you want and press the equals key (=). Finally, press the key that says OCT on its top (it is on the same row as DEC) and the **decimal to octal conversion** automatically.

If you have any questions about **how to convert a number from decimal to octal,** write us a comment and we will help you as soon as possible.

And what would you do if there is a comma and you want to change from decimal to octal, for example the number: 102,475?

Hello,

In that case you will have to convert the integer part of the number to octal (with our calculator).

Then you take the decimal or fractional part and multiply it by 8 until the decimals disappear. In your case it would be:

0.475 x 8 = 3.8 (We keep the 3)

0.8 x 8 = 6.4 (We keep the 6)

0,4 x 4 = 1,6

0,6 x 8 = 4,8

…

You can continue with this procedure as many times as you want. The more you do it, the more accurate it will be.

Finally we are left with the fractional decimal number 102.475 converted to octal is

146,3614

I have a doubt, if the quotient is 0, don't take it into account?

Hello Oneiber,

If the quotient is zero, even if you add it, the value of the octal number does not change since zero raised to any number is equal to zero.

For this reason you can totally ignore it as we have done in the 5137 to octal example. If you add it, it's not bad either, but it doesn't really add value.

Greetings!

good morning do you know how to convert for example the number 7.5 from octal to decimal?

thank you

I need to convert the decimal number 11 to octal

Hello Laura,

The number 11 in octal becomes 13.

If you have any questions, please let us know.

Greetings!

Decimal number 11 to octal

Could you please tell me how to get to number 13?

You have the process explained in the article. Just divide by 8 and keep the quotient and remainder values. That is to say:

11 / 8 = 1 (quotient) 3 (remainder).

Joining them there you have the 13 expressed in octal.

And how is the procedure with a number with decimals such as 16.119

We have already explained it in one of the comments we have answered to another user with the same question ;)