Binary number system: This number system have two possibility (0,1)
Octal number system: This number system have 8 possibility (0,1,2,3,4,5,6,7) [3 bits can represent 8 possibility 2^3=8]
Decimal number system: This number system have 10 possibility (0,1,2,3,4,5,6,7,8,9)
Hexa decimal number system: This number system have 16 possibility (0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F) [4 bits can represent 16 possibility 2^4=16]
To convert from a number system to another number system the easy way is to convert the number to binary number system and then convert it to required number system from binary number system.
Decimal to Binary:
Let’s take a decimal number 1610 we will convert it to binary.
First of all right down the following. Following series start from left 2^0, 2^1, 2^2, 2^3…. and can go till 2^n
Binary to Decimal:
Binary to Hex:
Hex to binary:
Octal to binary:
Binary to octal: