Decimal to octal converter

Enter a whole decimal number.

Convert a decimal number to octal.

Input

Result

About this tool

The decimal to octal converter changes a whole base 10 number into base 8 notation. Use it for number system exercises, checking Unix permission examples, or working with a legacy format that stores values in octal. The converter accepts positive and negative decimal integers. It returns the same numeric value written with digits from zero through seven, ready to copy into notes or code.