Binary Number to Octal Number System Conversasation
There are four types of number system they are binary number system octal number system hexadecimal number system and decimal number. Among these four number system we are using decimal number system.
In this article we shall learn how to convert a binary number system to octal number system. We can't convert directly a binary number system to octal number system. to convert a binary number to octal number we first have to convert the binary number into decimal number system. From the decimal number we have to convert the decimal number to octal number. In this way we can convert a binary number to octal number system.
Binary to Decimal conversation.
To convert any binary number to decimal number the formula is as follows:
(Digit x base)^place value
For example: Convert (111)2 = (?)10
Here 111 is binary number which we have to convert into decimal number. To convert this follow the following image-
credit: third party image referenceShow 111 in binary means 7 in decimal language.
Decimal to Octal Conversation.
To convert any decimal number to Octal number the following formula is follows.
Find out the mod value of a number divided by the base and so on. Here base is 8 as the the base of octal number system is 8. Therefore here we have to find out the mod value of 7 dividing 8.
The mod value of 7 is 7. therefore the answer is 7.
Finally the binary number 111 means 7 in octal number system.
credit: third party image referenceThough we can directly convert any binary number to octal number. To do so we have to group the binary no in three digit.
Let's follow the following example.
The decimal value of each the digit group of the binary no will disclose the Octal no.
credit: third party image reference
In this way you can convert any binary number to Octal number. For more info or for any query feel free to write me at agnivg at gmail com.