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
Cómo se pasa de decimal a 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 . El último cociente será el primer dígito del número octal mientras que el primer resto será el último número.
If you are not sure how to convert from decimal to octal, here are some practical examples of how to do it.
Ejemplos de conversión de decimal a octal
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:
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 | ||
---|---|---|
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:
513710 = 120218
Pasar de decimal a octal en 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.
Lo primero que tienes que hacer es localizar el botón que pone "Mode Setup" aunque también puede venir como "Menu Config". Cuando lo encuentres, púlsalo y selecciona la opción "Base-N" que nos permitirá hacer la decimal to octal conversion.
Una vez seleccionada la opción anterior, localiza la tecla que en su parte superior pone "DEC" y presiónala. Si no la encuentras toma como referencia la calculadora de la imagen en la que se puede ver dicho botón en la última fila de teclas.
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.
Conversor de decimal a octal online
Si lo que quieres es convertir un número decimal en octal de forma sencilla y sin equivocaciones, nuestro conversor hace el trabajo por ti automáticamente.
Al inicio de esta página encontrarás la calculadora cuyo funcionamiento es muy sencillo. Sólo tienes que escribir el número decimal que quieres convertir al sistema octal, pulsar el botón de calcular y automáticamente obtendrás el resultado.
Esto es especialmente útil en tus ejercicios del colegio, instituto o universidad ya que podrás comprobar si el resultado que has obtenido está bien o no.
Ingeniero de Telecomunicaciones dedicado al mundo de Internet. En esta web te ayudo a hacer cálculos y conversiones sencillas que con el paso de los años se nos ha olvidado cómo se hace. Si tienes dudas, déjame un comentario y te ayudaré. Si quieres mejorar tu proyecto online o necesitas asesoramiento, write me a message.
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 ;)
Como llega a 167
Hello!
No tenemos ningún ejemplo en el cálculo de números de decimal a octal que de cómo resultado 167. Si te has equivocado o estás hablando de otro número decimal, nos dices y te ayudamos.
Greetings!