Photo AI

Last Updated Sep 27, 2025

Binary Addition & Subtraction Simplified Revision Notes

Revision notes with simplified explanations to understand Binary Addition & Subtraction quickly and effectively.

user avatar
user avatar
user avatar
user avatar
user avatar

300+ students studying

Binary Addition & Subtraction

Overview

Binary addition and subtraction are fundamental operations in computing, often used for arithmetic calculations. Unlike decimal addition and subtraction, binary uses only two digits (0 and 1), which makes operations simpler but requires an understanding of carrying and borrowing in binary form. For handling both positive and negative numbers, we use Two's Complement representation, which allows for straightforward addition and subtraction of negative values.

Binary Addition

Binary addition follows simple rules similar to decimal addition, with extra care needed for carrying:

  • 0 + 0 = 0
  • 0 + 1 = 1
  • 1 + 0 = 1
  • 1 + 1 = 10 (result is 0 with a carry of 1)
  • 1 + 1 + 1 = 11 (result is 1 with a carry of 1)
lightbulbExample

Example: Adding 1011 and 1101


  1 1 0 1   (carry)
  1 0 1 1
+ 1 1 0 1
---------
1 1 0 0 0


Explanation:

Starting from the right:

  • 1 + 1 = 0 (carry 1)
  • 1 + 0 + 1 = 0 (carry 1)
  • 1 + 1 + 0 = 0 (carry 1)
  • 1 + 1 = 1

Result:

11000 in binary.

Binary Subtraction

Binary subtraction uses borrowing when subtracting a larger bit from a smaller one.

Borrowing Rules

  • 0 - 1 = 1 (borrow 1 from the next higher bit)
  • 1 - 0 = 1
  • 1 - 1 = 0
  • 10 - 1 = 1 (where 10 represents 2 in binary)
lightbulbExample

Example: Subtracting 1001 from 1101


  1 0 1 1   (borrowed bits)
  1 1 0 1
- 1 0 0 1
---------
  0 0 0 0


Explanation

Starting from the right:

  • 1 - 1 = 0
  • 0 - 0 = 0
  • 1 - 0 = 1
  • 1 - 1 = 0

Result:

0000

Two's Complement for Negative Numbers

Two's Complement allows straightforward addition and subtraction of negative binary numbers without special handling.

Converting to Two's Complement

  • For a positive number, represent it in binary.
  • For a negative number, invert the bits of its positive counterpart and add 1.
lightbulbExample

Example: 5 in 8-bit Two's Complement


  • Positive 5 in binary: 00000101
  • Invert bits: 11111010
  • Add 1: 11111011 So, 5 in Two's Complement is 11111011.

Binary Addition with Two's Complement (Including Negatives)

To add a positive and a negative binary number, simply add their Two's Complement representations.

lightbulbExample

Example: Adding 5 and 3 in 8-bit binary


  • 5 in binary: 00000101
  • 3 in Two's Complement:
  • 3 in binary: 00000011
  • Invert bits: 11111100
  • Add 1: 11111101
  • So, 3 is 11111101

Addition:

  00000101
+ 11111101
-----------
  00000010


Result:

00000010, which is 2 in decimal.

Binary Subtraction with Two's Complement

To subtract binary numbers using Two's Complement, convert the number to be subtracted into its Two's Complement form and then add.

lightbulbExample

Example: Subtract 3 from 5 (5 - 3)


  • 5 in binary: 00000101
  • 3 in Two's Complement:
  • 3 in binary: 00000011
  • Invert bits: 11111100
  • Add 1: 11111101

Addition:

  00000101
+ 11111101
-----------
  00000010


Result:

00000010, which is 2 in decimal.

Examples

lightbulbExample

Example 1: Binary Addition Add 1101 and 0110.


    1 1 0 1
  + 0 1 1 0
  ---------
    1 0 0 1 1


Result:

10011 in binary.

lightbulbExample

Example 2: Binary Subtraction with Two's Complement Calculate 5 - 7.


  • 5 in binary: 00000101
  • 7 in Two's Complement:
  • 7 in binary: 00000111
  • Invert bits: 11111000
  • Add 1: 11111001

Addition:

  00000101
+ 11111001
----------
  11111110


Result:

11111110, which represents 2 in decimal.

infoNote

Common Mistakes

  • Forgetting Carries in Binary Addition: Missing carry values can lead to incorrect results.
  • Incorrect Two's Complement Conversion: Forgetting to invert and add 1 when converting a positive binary to its negative counterpart.
  • Overflow Errors: If the result of addition or subtraction exceeds the bit capacity (e.g., in an 8-bit system), overflow can occur, leading to incorrect values.
infoNote

Key Takeaways

  • Binary Addition Rules: Follow the carry rules as in decimal addition.
  • Binary Subtraction Rules: Borrow as needed and remember that 10 represents 2 in binary subtraction.
  • Two's Complement: Use Two's Complement for straightforward addition and subtraction of both positive and negative values.
  • Practice Conversions: To avoid errors, practice converting denary numbers to binary, particularly for Two's Complement.
Books

Only available for registered users.

Sign up now to view the full note, or log in if you already have an account!

500K+ Students Use These Powerful Tools to Master Binary Addition & Subtraction

Enhance your understanding with flashcards, quizzes, and exams—designed to help you grasp key concepts, reinforce learning, and master any topic with confidence!

90 flashcards

Flashcards on Binary Addition & Subtraction

Revise key concepts with interactive flashcards.

Try Computer Science Flashcards

9 quizzes

Quizzes on Binary Addition & Subtraction

Test your knowledge with fun and engaging quizzes.

Try Computer Science Quizzes

29 questions

Exam questions on Binary Addition & Subtraction

Boost your confidence with real exam questions.

Try Computer Science Questions

27 exams created

Exam Builder on Binary Addition & Subtraction

Create custom exams across topics for better practice!

Try Computer Science exam builder

12 papers

Past Papers on Binary Addition & Subtraction

Practice past papers to reinforce exam experience.

Try Computer Science Past Papers

Other Revision Notes related to Binary Addition & Subtraction you should explore

Discover More Revision Notes Related to Binary Addition & Subtraction to Deepen Your Understanding and Improve Your Mastery

96%

114 rated

Data Types

Primitive Data Types

user avatar
user avatar
user avatar
user avatar
user avatar

280+ studying

191KViews

96%

114 rated

Data Types

Positive Binary Numbers

user avatar
user avatar
user avatar
user avatar
user avatar

481+ studying

185KViews

96%

114 rated

Data Types

Negative Binary Numbers

user avatar
user avatar
user avatar
user avatar
user avatar

458+ studying

185KViews

96%

114 rated

Data Types

Hexadecimal Numbers

user avatar
user avatar
user avatar
user avatar
user avatar

311+ studying

180KViews
Load more notes

Join 500,000+ A-Level students using SimpleStudy...

Join Thousands of A-Level Students Using SimpleStudy to Learn Smarter, Stay Organized, and Boost Their Grades with Confidence!

97% of Students

Report Improved Results

98% of Students

Recommend to friends

500,000+

Students Supported

50 Million+

Questions answered