Decimal to Octal Converter

Convert any decimal number to octal instantly — see every division step. Free, fast, no sign-up.

How to convert decimal to octal

  1. Divide the decimal number by 8 and write down the remainder.
  2. Divide the quotient by 8 and write down the new remainder.
  3. Repeat until the quotient is 0, then read the remainders from bottom to top.

Example: 125 → 125÷8=15 r5, 15÷8=1 r7, 1÷8=0 r1 → 175.

Frequently asked questions

How do I convert decimal to octal?

Repeatedly divide by 8, record each remainder, and read the remainders bottom-to-top. The converter above shows every step.

What is 8 in octal?

8 in decimal equals 10 in octal.

Where is octal used?

Octal is used in Unix file permissions (e.g. chmod 755) and in some embedded systems.

Need the reverse? Try our octal to decimal converter.

More converters