In this conversion, a number with base 8 is converted into number with base 10. Each digit of octal number here is multiplied by decreasing power of 8. Let us see one example:
Example: Convert 1218 into the equivalent decimal number.
Solution: Given (121)8 is an octal number
Here, we have to multiply each octal digit with the decreasing power of 8, such as;
1×82+2×81+1×80
=64+16+1
=81
Let us look at an example, convert (140)8
Step 1: Write 140 with the power of 8. Start from the right-hand side.
1 × 82 + 4 × 81 + 0 × 80
Step 2: Evaluate the power of 8 values for each octal number.
82 = 64, 81 = 8, 80 = 1
Step 3: Multiply each of the power of 8 numbers with the respective numbers.
1 × 64 + 4 × 8 + 0 × 1 = 64 + 32 + 0
Step 4: Add the values to obtain the decimal number.
64 + 32 + 0 = 96.
Therefore, (140)8
= (96)10
.