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