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

Octal to Decimal

Convert a nonnegative octal integer to decimal precisely.

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

How to use this tool

Enter one octal whole number, optionally prefixed with 0o.

Important to know

Convert a nonnegative octal integer to decimal precisely.

Digits 8 and 9 are invalid in octal; byte lists and fractions are not supported.

Formula and methodology

Each octal digit contributes its value multiplied by a power of 8.

Example

377 in octal is 255 in decimal.

Frequently asked questions

Does a leading zero change the value?

No. Leading zeroes do not change an unsigned integer.