Transcode
Docs
InputText
OutputText

Octal to Decimal

Convert numbers between decimal, binary, octal and hexadecimal bases.

Paste your input on the left and press Translate (or Ctrl/Cmd + Enter) to get the result on the right. Free, no sign-up.

Example

Input
0o755
644
Output
493
420

Frequently asked questions

How do I read a binary number?
Each digit is a power of two, starting from the right. For example 1010 is 8 + 2, which is 10 in decimal.
What input is accepted?
Whole numbers of any size, including negatives, one per line. Underscores are ignored and 0b, 0o and 0x prefixes are accepted.