Decimal to octal converter

Find the octal equivalent of the decimal number.

Swap

Decimal to octal example

You can convert decimal integer number into octal number by dividing the number the decimal number by 8 and collecting all remainders.

For example, let's convert 201 number:

  1. 201 / 8 = 25.1 | 1 remainder
  2. 25 / 8 = 3.1 | 1 remainder
  3. 3 / 8 = 0.3 | 3 remainder

How to find a remainder.

Now, write all remainders from bottom to up and you'll receive 311, which is the exactly correct octal number for 201 decimal number.

Above method can not be used for a number with integer and fraction part.

Decimal to octal conversion table

Decimal (base 10)

Octal