Octal to Decimal Conversion
The process of converting Octal to Decimal is also pretty simple. But not quite as simple as Octal to Binary. We will be using the Expansion Method.
For illustration purposes let’s take (62)8,
Octal Number |
6 |
2 |
---|---|---|
Weightage of the digit |
81 |
80 |
Example: Represent 1238 as a Decimal Number.
1238 = 1 × 82 + 2 × 81 + 3 × 80
⇒ 1238 = 1 × 64 + 2 × 8 + 3 × 1
⇒ 1238 = 64 + 16 + 3
⇒ 1238 = 8310
Hence 8310 is decimal representation of 1238.
What is Octal ?
Octal is a number system with a base of 8 i.e. it uses 8 numeric values, namely, {0, 1, 2, 3, 4, 5, 6, 7}. This number system is mostly used in the programming of computer programs. For example (32150.7642)8, (275)8, (324)8, (2243)8 are Octal numbers. In this article, we will discuss the octal number system.