Binary addition and overflow
Computers add numbers in binary, column by column, just like you add in denary. There are only four rules to learn.
The four rules
| Sum | Write | Carry |
|---|---|---|
| 0 + 0 | 0 | 0 |
| 0 + 1 | 1 | 0 |
| 1 + 1 | 0 | 1 (because 1 + 1 = 2 = 10 in binary) |
| 1 + 1 + 1 | 1 | 1 (because 3 = 11 in binary) |
Adding column by column
00100110 (38)
+ 00010111 (23)
= 00111101 (61)
Check by converting to denary: 38 + 23 = 61.
Overflow
If a sum is bigger than 255, there is a carry out of the last column with nowhere to go. This is an overflow error.
11111111 + 00000001 = 1 00000000: the answer needs 9 bits, so it does not fit.
Add 00001011 and 00000110.
- Right column: 1 + 0 = 1.
- Next: 1 + 1 = 0 carry 1.
- Next: 0 + 1 + carry 1 = 0 carry 1.
- Next: 1 + 0 + carry 1 = 0 carry 1.
- Next: 0 + 0 + carry 1 = 1.
- Check: 11 + 6 = 17.
Answer: 00010001
Binary addition: 0+0=0, 0+1=1, 1+1=0 carry 1, 1+1+1=1 carry 1. Work right to left. If the result needs more than 8 bits, an overflow error happens.
- Binary
- A number system that uses only two digits, 0 and 1. Computers store all data in binary.
- AND
- A Boolean operator that gives True (1) only when both inputs are True.
- Overflow
- An error when the result of a calculation needs more bits than are available, such as an 8-bit sum above 255.
- Denary
- The base 10 number system we use every day, with the digits 0 to 9.
- Bit
- A binary digit: a single 0 or 1. The smallest unit of data.
- NOT
- A Boolean operator that flips its input: True becomes False and False becomes True.
Try two quick questions
See if it has sunk in. Answers are marked straight away.
2 more questions
Try each one, then tap to check.
Add 00000110 and 00000011. Give an 8-bit answer.
Show the answer
Answer: 00001001
In denary: 6 + 3 = 9, which is 00001001.
Add 00010101 and 00001010.
Show the answer
Answer: 00011111
In denary: 21 + 10 = 31, which is 00011111.
Check you have got it
Answer 6 quick questions with instant marking. If you get one wrong, GCSE-ready shows you why and gives you another go. It is free, and you do not need an account.
Facts checked against the sources below, 27 October 2026. Last updated 2 October 2026. Spotted a mistake? Tell us and we will fix it.