Octal ↔ Decimal

Convert octal numbers to decimal and vice-versa.

d = \sum o_i \times 8^i; \quad n_{10} \text{ divided by } 8
Result

Step-by-Step Calculation & Explanation

Octal numbers are base-8 representation. Convert octal to decimal by summing each digit multiplied by its power of 8. Convert decimal to octal by successive division by 8, keeping track of remainders.