Last modified on August 3rd, 2023

chapter outline

 

Octal to Decimal

‘Octal’ means eight. The octal number system uses numbers from 0 to 7. The octal number represents numbers with 8 as the base.

Octal to Decimal Table

Since the octal system uses only 0 to 7, we can memorize the decimal equivalents for each octal number by referring to the octal to the decimal table. The conversion chart is tabulated below.

Octal (Base 8)12345671011121314151617203040506070100
Decimal (Base 10)12345678910111213141516243240485664

Converting Octal to Decimal

Converting an octal number to a decimal number means changing it to its decimal equivalent. We can do it in two different ways.

The formula for decimal to octal is:

Decimal number10 = (d0 × 80) + (d1 × 81) + … + (dr – 1 × 8n – 1)

Here, n = number of digits, r = place of the digit

Let us take the number 1725.43 to convert it to octal using the above formula. The fractional part is .43. It will be easier to demonstrate how we can convert a number having a fractional part from octal to decimal.

Octal to Decimal

Let us summarize the steps for the standard method of the converting octal to decimal:

  1. Let us summarize the steps for the standard method of converting octal to decimal:
  2. Let a digit have the nth position from right to left in the given octal number. So, the position of each digit has an increasing power of 8 from right to left.
  3. Multiply each digit with 8n-1, where n = position of each digit.
  4. Add each value from the multiplication. The final result after addition will be the decimal equivalent of the octal number given.

Convert the number 362 from octal to decimal.

Solution:

362 = (3 × 82) + (6 × 81) + (2 × 80) = 242
∴(362)8 = (242)10

(245.54)8 = (?)10

Solution:

245.54 = (2 × 8²) + (4 × 8¹) + (5 × 8⁰) + (5 × 8⁻¹) + (4 × 8⁻²) = 165.6875
∴ (245.54)8 = (165.6875)10

Using an Alternative Method to convert OCTAL TO DECIMAL

Convert 2676 from octal to decimal.

Solution:

Here the most significant digit is 2. So we will focus on removing the significant digits from left to right until we reach the last digit.
∴(2676)8 =
0 + 2 = 2 (removing 2)
2 × 8 = 16
16 + 6 = 22 (removing 6)
22 × 8 = 176
176 + 7 = 183 (removing 7)
183 × 8 = 1464
1464 + 6 = 1470 (6 is the last significant digit. So we stop the process here and consider the final result as the decimal equivalent)
Hence, (2676)8 = (1470)10

Convert 561 from octal to decimal using the alternative method.

Solution:

0 + 5 = 5
5 × 8 = 40
40 + 6 = 46
46 × 8 = 368
368 + 1 = 369
∴(561)8= (369)10

Last modified on August 3rd, 2023

Leave a Reply

Your email address will not be published. Required fields are marked *