Decimal to octal online

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.

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

Decimal to octal converter

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
Divide by 8

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

424810 = 102308

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
Divide by 8

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:

513710 = 120218

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:


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.


From decimal to octal with the calculator

Decimal to octal 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.

12 thoughts on “Decimal a octal online”

    • 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

    • 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.


    • Hello Laura,

      The number 11 in octal becomes 13.

      If you have any questions, please let us know.


    • 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.

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

Leave a Comment

Information on data protection

  • Responsible: Ignacio Cuesta
  • Purpose of processing: Spam control, comment management, etc.
  • Legitimation: Your consent
  • Communication of data: Data will not be communicated to third parties except by legal obligation.
  • Rights: Access, rectification, portability, forgetfulness.
  • Contact us:
  • Additional information: More information at our privacy policy.