Binary addition follows the same carry-over logic as decimal addition, applied to base-2 values. Two worked examples demonstrate how bits combine and carry across place values to produce correct sums.
Adding Binary Numbers
Another way that we can get familiar with these binary numbers is by learning how to add binary numbers together. So let's take a look at adding binary numbers together.
Let's use our blocks to illustrate how we add two numbers together. Up here is going to represent one number and down here another number. This number right here is going to be 1 1 0 1, and this number down here will be 0 1 1 0.
What does this look like? We've got one block of eight, we've got one block of four, and we've got one block of one, so 8 + 4 is 12, + 1 is 13. So 13. Down here we've got a block of four and a block of two, so that's 4 + 2, so that's 6. 6 + 13 is 19, so our answer in the end should be 19.
Let's use the blocks now to add this up. This one right here is just a one, so we can move that into its spot, we're good. This is a two, so we can move it into its spot, so we're good there. We've got two blocks of four, which don't fit in here, so what we have to do is move them over to the next block right here. And now this doesn't fit in here, so now we've got to move this over. So now we've got one block of 16 plus a block of two, so 17, 18, and then one block of one, 19. So we've come up with the correct answer by doing it this method.
Here's one more problem. We have a 1 1 1, and so this is 8 plus a 4 plus a 2 plus a 1, and so what that is equal to is 15. We're going to add that to one block of four and one block of one, so that would be a 0 1 0 1, so that's five. So 5 + 15 is 20, that should be the answer. Let's see what we come up with.
In this first column right here we're trying to add these two bits together, but there's no room here, so we've got to move it over to here. Now we can carry this down, and we see that there's no room for these either. We've got a block of four, so we can carry it over here. Now this is interesting, because we've got three blocks of four, and what we can do is we can group one of these into a block of eight and move it over, but the other one can stay right there, that's fine. So now we've got two blocks of eight, which doesn't fit in here, so we move those over to 16. Now we've got a 16 plus a four, so 1 0 1 0 0. So if we add a 16 plus a 4, that's 20. We now have come up with the solution using binary numbers.
So that's how you add with binary numbers.
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →