CalcuClubCalcuClub Logo

Decimal to Octal Converter

Enter the decimal number you want to convert to octal.

The result will be displayed here.
Calculation Steps:
Calculation steps will be displayed here.

Table of Contents

How does decimal to octal conversion work?

The decimal system is base 10 and the octal system is base 8. To convert a decimal number to octal, repeatedly divide the number by 8 and record the remainders. Then, read the remainders in reverse order (from bottom to top) to obtain the base-8 number.

Decimal to octal conversion formula

To convert a decimal number N to octal:

N=ok8k+ok-18k-1+...+o181+o080

Where the coefficients oi (remainders) take values from 0 to 7, obtained by successively dividing N by 8. The octal number is formed by reading the remainders from bottom to top.

Conversion process

  1. Divide the decimal number by 8 and note the remainder (0–7).
  2. Take the quotient obtained and repeat the division by 8 until you reach 0.
  3. Write the remainders in reverse order (from bottom to top) to obtain the octal number.

Examples

Example 1: convert 25₁₀ to octal
DivisionQuotientRemainder
25 ÷ 831
3 ÷ 803

Reading the remainders from bottom to top: 31₈.

Result: 25₁₀ = 31₈.

Example 2: convert 100₁₀ to octal
DivisionQuotientRemainder
100 ÷ 8124
12 ÷ 814
1 ÷ 801

Reading the remainders from bottom to top: 144₈.

Result: 100₁₀ = 144₈.

Decimal to octal conversion table

Quick reference values for small decimal numbers.

References from decimal (base 10) to octal (base 8)
DecimalOctal
00
11
22
33
44
55
66
77
810
911
1012
1620
3240
64100
128200
256400
5121000
10242000

Frequently Asked Questions

How do you convert a decimal number to octal?

To convert a decimal number to octal, repeatedly divide the number by 8, write down the remainders, and then read them from bottom to top.

Why is base 8 used in the octal system?

Because each octal digit represents exactly 3 binary bits, which makes conversions between binary and octal quick and straightforward.

How was this page? Share feedback.