Octal Number System is a classification of number system apart from Binary Numbers System, Decimal Numbers System, Hexadecimal Number System. In Mathematics, you must have learned about the Number system, which is a way of expressing numbers or numerals. They are Natural Numbers, Integers, Rational Numbers, Irrational Numbers, Real Numbers and Prime Numbers. The octal symbol is used to represent the numbers with base 8.
The octal number has various applications and importance. It is commonly used in computer basics. Here, in this article, we will learn about conversion octal number to decimal number. Binary to octal conversion is also an easy method, where we will first convert binary to decimal and decimal to octal. Â Let us discuss octal number with its definition, uses and application.
Octal Number System Definition
A number system which has its base as â€˜eightâ€™ is called an Octal number system. It uses numbers from 0 to 7. Let us take an example, to understand the concept. As we said, any number with base 8 is an octal number like 24_{8}, 109_{8}, 55_{8}, etc.
Like Octal number is represented with base 8, in the same way, a binary number is represented with base 2, decimal number with base 10 and the hexadecimal number is represented with base 16. Examples for these number systems are:
22_{2} is a binary number
100_{10} is a decimal number
40_{16} is a hexadecimal number
If we solve an octal number, each place is a power of eight.
124_{8}= 1 Ã— 8^{2} + 2 Ã— 8^{1} + 4 Ã— 8^{0}
Octal Multiplication Table
* | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
2 | 0 | 2 | 4 | 6 | 8 | 10 | 12 | 14 |
3 | 0 | 3 | 6 | 9 | 12 | 15 | 18 | 21 |
4 | 0 | 4 | 8 | 12 | 16 | 20 | 24 | 28 |
5 | 0 | 5 | 10 | 15 | 20 | 25 | 30 | 35 |
6 | 0 | 6 | 12 | 18 | 24 | 30 | 36 | 42 |
7 | 0 | 7 | 14 | 21 | 28 | 35 | 42 | 49 |
Octal to Decimal Conversion
Let us learn here, conversion of Octal number to Decimal Number or base 8 to base 10.
Example: Suppose 215_{8Â }is an octal number, then it’s decimal form will be,
215_{8} = 2 Ã— 8^{2} + 1 Ã— 8^{1} + 5 Ã— 8^{0}
Â Â Â Â Â = 2 Ã— 16 + 1 Ã— 8 + 5 Ã— 1
Â Â Â Â Â =Â 4510
Example:Â Let 125 is an octal number denoted by 125_{8}. Find the decimal number.
125_{8}Â = 1Ã— 8^{2}Â + 2 Ã— 8^{1}Â + 5 Ã— 8^{0}
Â Â Â Â Â = 1 Ã— 16 + 2 Ã— 8 + 5 Ã— 1
Â Â Â Â Â =3710
Decimal to Octal Conversion
To convert decimal to octal number, octal dabble method is used. In this method, the decimal number is divided by 8 each time, it yields or gives a remainder. The first remainder we get is the least significant digit(LSD) and the last remainder is the most significant digit(MSD). Let us understand the conversion with the help example;
Problem: Suppose 560 is a decimal number. Convert it into an octal number.
Solution: If 560 is a decimal number, then,
560/8=70 and remainder is 0
70/8=8 and remainder is 6
8/8=1 and remainder is 0
And 8/0=0 and remainder is 1
So the octal number starts from MSD to LSD, i.e. 1060
Therefore, 560_{10}Â = 1060_{8}
Problem: Convert 0.52 into octal number.
Solution: The fraction part of the decimal number has to be multiplied by 8.
0.52 Ã— 8=0.16 with carry 4
0.16 Ã— 8=0.28 with carry 1
0.28 Ã— 8=0.24 with carry 2
0.24 Ã— 8=0.92 with carry 1
So, for the fractional octal number, we read the generated carry from up to down.
Therefore, 4121 is the octal number.
Binary To Octal Conversion
A binary number can be converted into octal number, with the help of the below-given table.
Octal Number |
Equivalent Binary Number |
0 |
0 |
1 |
1 |
2 |
10 |
3 |
11 |
4 |
100 |
5 |
101 |
6 |
110 |
7 |
111 |
Example: Convert (100010)_{2} to octal number.
Solution: With the help of the table we can write,
100â†’4
and 010â†’2
Therefore,(100010)_{2} = 42
Similarly, we can convert an octal number to binary number with the help of table.
Octal to Hexadecimal Number
Hexadecimal number consist of numbers and alphabets. It is represented with base 16. The numbers from 0-9 is represented in usual form, but from 10 to 15, it is denoted as A, B, C, D, E, F. Conversion of the octal number to hexadecimal requires two steps.
- First convert octal number to decimal number.
- Then, convert decimal number to hexadecimal number.
Let us understood with the help of an example. We will take the same example, where we have converted octal number to decimal, such as;
(215)_{8}Â =Â (45)_{10}
Now, convertÂ (45)_{10} into a hexadecimal number by dividing 45 by 16 until you get remainder less than 16.
Therefore, we can write,Â (45)_{10}Â =Â (2D)_{16}
Or (215)_{8}Â =Â (2D)_{16}
Uses and Applications
The octal Number system is widely used in computer application sectors and also in the aviation sector to use the number in the form of code.
Based on octal number system applications, several computing systems are developed. All the modern generation computing system uses 16-bit, 32-bit or 64-bit word which is further divided into 8-bit words. Similarly, for various programming languages, octal numbers are used to do coding or to write the encrypted language, which is only understood by the computing machine.
Also in the aviation sector or field or say aviation industry, Transponders used in the aircraft transmits a code which is expressed as four octal digit number. These codes are interrogated by ground radar.
Also, study related topics on number systems by downloading BYJUâ€™S -The Learning App.
MATHS Related Links | |
Number System PDF | Octal Calculator |
Number System For Class 9 | Number System Conversion |