Binary to Octal and Octal to Binary :
To convert Binary to Octal, as the octal system is a power of two (23), we can take the bits into groups of 3 and represent each group as an octal digit. The steps are the same for the binary to hexadecimal conversions except we are dealing with the octal base now.
To convert from octal to binary, we simply represent each octal digit in it’s three bit binary form.
Example
Convert the Octal number (742)8 to its Binary equivalent.
7 | 4 | 2
111 | 100 | 010
Answer : (111100010)2