My Learning

Keep this for later

Sign in or create a free account to save it. You’ll return to this page afterward.

Sign inCreate an account

Decimal to Octal

Convert a nonnegative decimal integer to octal precisely.

Enter one nonnegative whole number, not a list of bytes.

How to use this tool

Enter one decimal whole number and process it.

Important to know

Convert a nonnegative decimal integer to octal precisely.

No negative values, fractions or thousands separators. Up to 1,024 digits are supported.

Formula and methodology

Repeatedly divide the decimal integer by 8 and read the remainders in reverse.

Example

255 in decimal is 377 in octal.

Frequently asked questions

Is the result padded to three digits?

No. Padding is useful for byte notation, but this tool outputs one integer.