Skip to content

Binary Addition Rules

Key Point
Binary Addition Rules:
SumResult bitCarry out
0 + 000
0 + 110
1 + 010
1 + 101
1 + 1 + 111
Worked Example
Worked Example: Binary Addition

Add 01101011 + 00110101
Decimal checkValue
01101011107
0011010153
Total160
Row76543210
Carry1111111
A01101011
B00110101
Sum10100000
Working right to left:
• Bit 0: 1+1 = 10 → write 0, carry 1
• Bit 1: 1+0+1(carry) = 10 → write 0, carry 1
• Bit 2: 0+1+1(carry) = 10 → write 0, carry 1
• Bit 3: 1+0+1(carry) = 10 → write 0, carry 1
• Bit 4: 0+1+1(carry) = 10 → write 0, carry 1
• Bit 5: 1+1+1(carry) = 11 → write 1, carry 1
• Bit 6: 1+0+1(carry) = 10 → write 0, carry 1
• Bit 7: 0+0+1(carry) = 1 → write 1, no carry

The carry row shows the carry coming into each column, so the carry out of bit 0 is written above bit 1.

Answer: 01101011 + 00110101 = 10100000 (107 + 53 = 160)

Binary Subtraction Using Two's Complement

Worked Example
Worked Example: Subtraction

Calculate 50 - 30 using two's complement (i.e. 50 + (-30)).
StepWorking
Convert 50 to 8-bit binary00110010
Convert 30 to 8-bit binary00011110
Two's complement of 30Keep from right up to and including first 1 ("10"), flip the rest → 11100010
Now add 50 + (-30):
Row876543210
Carry1110001
A00110010
B11100010
Sum100010100
Ignore the overflow (bit 8): 00010100 = 20

Answer: 50 - 30 = 20 ✓