Binary/Octal/Decimal/hexadecimal converter

Convert Decimal to Octal.

Decimal → Octal
Before conversion:

How to use Base Converter

Enter the Decimal value you want to convert and click the "Convert" button.

The input value will be calculated and the converted result will be displayed in Octal.

The calculation method for conversion is also displayed.

Numerical input range

Decimal:0–9

Conversion by base number

How to convert from Decimal to Octal

Method of calculation

To convert a decimal number to an octal number, divide the decimal number by 8 until it becomes 0, then get Remainder.

  • 1. Divide the decimal number by 8 to get Quotient and Remainder.
  • 2. Divide the next Quotient by 8 to get Quotient and Remainder.
  • 3. Repeat this until Quotient becomes 0.
  • 4. The result of converting Remainder into octal is the reverse order of Remainder.

Calculation example

Example: Convert Decimal "87" to Octal

FormulaQuotientRemainder
87÷8107
10÷812
1÷801

The converted value is "127", which is the result of reversing the remainder numbers.

Base ConverterBase Converter

CalculatorSimple Calculator

Save results in a temporary