0 = zero 1 = one For higher numbers, you can ignore the earlier digits of the number. 1010 + 1 = 1011.
0 = zero 1 = one 10 = two This is the same rule we use in decimal when we run out of symbols (9 + 1 = 10). It just happens a lot more often in binary because we run out of symbols sooner.
0 = zero 1 = one 10 = two 11 = three 100 = four 101 = five
110 = six
110 = six 111 = seven 1000 = eight 1001 = nine 1010 = ten
twelve plus one = 1100 + 1 = 1101 (0 + 1 = 1, and the other digits stay the same. ) fifteen plus one = 1111 + 1 = 10000 = sixteen (We’ve run out of symbols, so we reset to 0 and write a 1 at the start. ) forty-five plus one = 101101 + 1 = 101110 = forty-six (We know 01 + 1 = 10, and the other digits stay the same. )
1 is the ones place 10 is the twos place 100 is the fours place 1000 is the eights place
What is the binary number 10011 in decimal? The rightmost digit is 1. This is in the ones place, so multiply by one: 1 x 1 = 1. The next digit is also 1. Multiply this by two: 1 x 2 = 2. The next digit is 0. Multiply this by four: 0 x 4 = 0. The next digit is also 0. Multiply this by eight: 0 x 8 = 0. The leftmost digit is 1. Multiply this by sixteen (eight times two): 1 x 16 = 16.
1 + 2 + 16 = 19. The binary number 10011 is the same as the decimal number 19.