How to convert Octal number to decimal

Octal Number

Octal numbers use digits from 0-7 only. It is known as base-8 number. The place value of each digits of an octal number varies as the whole number powers of 8 starting from the right (Least Significant Digit). The first single digit number in octal system is 0 and the last is 7. Similarly, the first two digit octal number is 10 and the last is 77 and so on. Octal number system was widely used in early computers.

Decimal Number

Whole number, a decimal point and a fractional value combines to form a decimal number. The decimal point separates the whole number part from the fractional part of the number. Each digit of a decimal number can be any number from 0 to 9. Any value less than 1 is written to the right of decimal point. Decimal numbers are also known as base-10 number or counting numbers. Place value of decimal number varies as the whole number powers of 10 starting from the left of decimal point. Similarly, the place value of digits left to decimal point varies as the division of power of tens.

How to convert octal to decimal

Step 1:

To convert octal number to a decimal number, first of all, we have to list down each digit one below the other starting from the left.

Step 2:

Count the digit from the top to bottom. The count must start from 0.

Step 3:

Multiply each digit by 8 to the power of its position count.

Step 4:

Add all the values you calculated in the previous step. The sum gives the decimal value corresponding to the octal value.
In-short:
Octal number can be converted into decimal number using the following formula:

Decimal Number = (Dn X 8n + …………… + D2 X 82 + D1 X 81 + D0 X 80).

Where,

Dn – D0 → digits of a octal number.
n → Position count starting from 0 (left to right).

Example 1:

Convert 5658 to decimal

Decimal number = 5 X 82 + 6 X 81 + 5 X 80= 5 X 64 + 6 X 8 + 5 =384 + 48 + 5 = 44710

Example 2:

Convert 7778 to decimal

Decimal number = 7 X 82 + 7 X 81 + 7 X 80= 7 X 64 + 7 X 8 + 7 = 448 + 56 + 7 = 51110

Octal to Decimal conversion table

Octal NumberDecimal Number
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
10 8
11 9
1210

Leave a Reply