Forgly

Decimal to Octal Converter

Convert decimal (base-10) numbers to octal (base-8).

Try an example:
Binary (2)
11111111
Octal (8)
377
Decimal (10)
255
Hexadecimal (16)
ff

Converting Decimal to Octal

Octal groups three bits per digit and shows up in Unix file permissions like chmod 755.

How to convert Decimal to Octal by hand

  1. Divide the decimal number by 8 and record the remainder (0–7).
  2. Repeat with the quotient until it reaches 0.
  3. Read the remainders from bottom to top.

Worked example

64 (decimal)100 (octal)64 = 1×64, so 100 in octal.

More converters

Frequently asked questions

How do I convert Decimal to Octal?

Divide the decimal number by 8 and record the remainder (0–7). Repeat with the quotient until it reaches 0. Read the remainders from bottom to top. Or just use the converter on this page — it does it instantly. Example: 64 (decimal) becomes 100 (octal).

What is 64 (decimal) in octal?

64 (decimal) converts to 100 (octal). 64 = 1×64, so 100 in octal.

Is this converter free and private?

Yes — it is free and unlimited, and the conversion runs entirely in your browser, so nothing is uploaded to a server.