Number Converters · Browser · Free

Decimal to Octal Converter

Type a decimal number and read off its octal form live, with binary and hexadecimal equivalents shown alongside.

What this tool does

Decimal is base 10 and octal is base 8, so the same quantity is represented with different symbols. Enter a decimal number and results calculate live as you type. A minus sign in front, fractional points, and scientific e notation (such as 5.72e2 for 572) are fully supported.

Beside the primary octal result, the tool also shows matching binary and hexadecimal forms. Use the Swap conversion button to instantly reverse the conversion from octal to decimal.

Decimal to octal formula

Octal counts in groups of eight. The right-hand digit stands for single units, the digit to its left stands for groups of eight, and the next digit to the left stands for groups of sixty-four. The octal digits 144 therefore mean one group of sixty-four, four groups of eight and four single units, which is the decimal number 100 listed in the table below. The table shows the same place value on its own line as well: 64 in decimal is written 100 in octal.

To work the other way by hand, divide the decimal number by 8 and set the remainder aside, then divide what is left by 8 again, and keep going until nothing remains. Reading those remainders from the last one back to the first gives the octal digits. For 100 that trail of remainders is 4, 4 and 1, which spells the 144 the table gives, and larger rows follow the same shape: 255 becomes 377 and 1024 becomes 2000.

Scientific e-notation support

Decimals can be entered with standard or exponential notation. For instance, entering 5.72e2 converts the value 572 into octal 1074, and 1e3 converts 1000 into octal 1750.

Decimal to octal conversion table
Decimal (base 10)Octal (base 8)
00
11
22
33
77
810
1012
1517
1620
3137
3240
64100
100144
255377
256400
10242000