Octal to Decimal
Convert an octal integer into exact decimal digits while validating that every input digit is 0 through 7.
When this tool helps
Use this converter to verify the large value 0o400000000000000001. The exact decimal result is 9007199254740993; any 8 or 9 makes the octal input invalid and should be corrected first.
Verify that a large octal integer is converted to exact decimal digits.
Worked example
Input
0o400000000000000001Expected result
9007199254740993Check the result
The exact result is 9007199254740993.
Questions before you start
What should I check in the result?
Compare all the digits with the sample, including the final 993.
What are the limits?
Every octal digit must be in 0–7. If you enter an 8 or 9, correct the input before converting.