Binary, octal, and hexadecimal numbering schemes are, as you understand, conditional numbering structures. We just need to add the product of each digit with its positional value to convert binary, octal, and hexadecimal to decimal numbers. We'll learn another conversion among these numeric systems here.
Decimal numbers can be converted to binary by dividing the number repeatedly by 2 while recording the remainder.
The remainders are to be read from bottom to top to obtain the binary equivalent.
4310 = 1010112
Decimal numbers may be converted to octal by repeated division of the number by 8 when documenting the remainder.
Reading the remainders from bottom to to,
47310 = 7318
Decimal numbers may be converted to octal by dividing the number repeatedly by 16, thus recording the remainder.
Reading the remainders from bottom to top we get,
42310 = 1A716
Such measures are followed to convert a binary number to an octal number−
101100101012 = 26258
That octal digit is converted to its 3-bit binary equivalent according to this table for converting an octal number to binary.
546738 = 1011001101110112
These measures are followed to convert a binary number to a hexadecimal number−
101101101012 = DB516
To convert an octal number to binary, each octal digit is converted to its 3-bit binary equivalent.