We can add binary numbers using column addition, just like decimal numbers.
The only difference is that we carry when the result is at least 2, instead of when the result is at least 10.
Diagram 1 shows a step-by-step guide to adding two 8-bit binary numbers. Tap or click to go to the next step.
Diagram 1
An overflow occurs when a number is too big to fit in a set amount of space.
For example, trying to store the result of the addition in Diagram 1 in an 8-bit number would result in an overflow error because a computer would need 9 bits to store the result.
What is the result of
11012 + 00112 in decimal?
Tap/click to reveal
1 1 0 1
+ 0 0 1 1
—————————
1 0 0 0 0
1 1 1 1
= 1610