Decimal to octal converter
Find the octal equivalent of the decimal number.
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:
- 201 / 8 = 25.1 | 1 remainder
- 25 / 8 = 3.1 | 1 remainder
- 3 / 8 = 0.3 | 3 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.