To convert binary to decimal, multiply each digit by its position value (power of 2) and sum the results.
Example: Convert 110102 to decimal. From right to left, positions are 20,21,22,23,24 which equal 1,2,4,8,16. So 110102=0(1)+1(2)+0(4)+1(8)+1(16)=2610.
A quick trick: memorize powers of 2 up to 210=1024. Then you can read binary at a glance. 100000002 is 128. 111111112 is 255. You will use these values constantly in programming.