Converting octal to decimal is a frequent need for anyone working with Unix file permissions, older computing systems or low-level data, since octal packs neatly into groups of three bits. This converter evaluates a base-8 number positionally and shows the full working.
How it works
Octal is a base-8 positional system using the digits 0 through 7. The value of a number is the sum of each digit multiplied by 8 raised to the power of that digit’s position, where positions are counted from zero starting at the rightmost digit. So the rightmost digit is multiplied by 8 to the power 0 (which is 1), the next by 8 to the power 1 (which is 8), the next by 64, and so on.
The tool walks the string from right to left, computes each digit’s place value as a power of 8, multiplies, and accumulates the total using exact big-integer arithmetic.
Example
Convert the Unix permission 755. The expansion is 7 × 8² + 5 × 8¹ + 5 × 8⁰ = 7 × 64 + 5 × 8 + 5 × 1 = 448 + 40 + 5 = 493. So octal 755 equals decimal 493.
Tips and notes
Octal is most familiar from chmod permission modes, where each octal digit encodes the read, write and execute bits for owner, group and others. If you enter a digit of 8 or 9 the tool flags it, since those are not valid octal digits. All processing happens locally in your browser.