Firstly let's learn to interpret a decimal number using its base.
The standard numeral system is called decimal (base 10) and uses ten symbols: 0,1,2,3,4,5,6,7,8,9.
Binary number system uses only two symbols '0 and 1' Therefore a binary number has a base 2.
There's an example provided above. Have a look.
Step 1: Converting a Decimal Number Into Binary Number
Converting a decimal number is just dividing the given number repeatedly and noting the remainder beside.
Look at the example.
Step 2: Converting Binary Number Back to Decimal
This method goes with multiplying each digit in the binary number with 2 to the power of its position in the number and adding all the products together. For a clear understanding look at the picture above.
The first digit of 11000 is 0 which is in zeroth position
11000 underlined digit is in first position
11000 underlined digit is in second position
11000 underlined digit is in third position
11000 underlined digit is in fourth position