Skip to content

VLSIFacts

Let's Program the Transistors

  • Home
  • DHD
    • Digital Electronics
    • Fault Tolerant System Design
    • TLM
    • Verification
    • Verilog
    • VHDL
    • Xilinx
  • Embedded System
    • 8085 uP
    • 8086 uP
    • 8051 uC
  • VLSI Technology
    • Analog Electronics
    • Memory Devices
    • VLSI Circuits
  • Interview
    • Interview Experience
    • Training Experience
    • Question Bank
  • Notifications
  • QUIZ
  • Community
  • Job Board
  • Contact Us

Addition of 2’s Complement Signed Binary Numbers

Posted on March 9, 2023June 19, 2025 By vlsifacts No Comments on Addition of 2’s Complement Signed Binary Numbers

Addition and subtraction of 2’s complement signed binary numbers are important learning concepts, as digital computers use 2’s complement representation. 2’s complement arithmetic follows all the basic rules of binary arithmetic. However, a few tricks need to be learned so that we can get the correct result in its 2’s complement form. This article discusses all possible cases of addition. The four possible cases are as below:

  1. Both the numbers are positive (the result will be positive)
  2. Negative number with a smaller magnitude than the positive number (the result will be positive)
  3. Negative number with a larger magnitude than the positive number (the result will be negative)
  4. Both the numbers are negative (the result will be negative)

Note that the second case is equivalent to subtracting a small positive number from a large positive number. Moreover, the third case is equivalent to subtracting a large positive number from a small positive number. So, we would not discuss the 2’s complement subtraction separately. The second and third cases of addition will cover the same.

Learn Addition of 1’s Complement Signed Binary Numbers with examples.

We will discuss all the above four different cases of addition using examples. We will consider 8-bit numbers (1 bit for sign and 7 bits for magnitude) for our example. The two numbers in an addition is known as addend and augend, and the result is known as sum.

Important Rule: Add the two numbers using basic rules of binary addition, and discard any final carry bit. The final carry is the bit generated out of the sign-bit position.

Both the numbers are positive

Example: 8 + 5 = ?

2’s complement representation of 8 = 00001000

2’s complement representation of 5 = 00000101

Since 8 and 5 are positive, so their 2’complement representation will be the same as its true (uncomplemented) form.

Example of 2’s complement addition for both the numbers positive

The sum is a positive number.

Negative number with smaller magnitude than the positive number

Example: 8 + (-5) = ?

This example can also be read as 8 – 5 = ?

Tip: So, whenever you would find such a subtraction question, you can convert the same to an addition question as in this example. Then, you can follow the method shown here.

2’s complement representation of 8 = 00001000

2’s complement representation of -5 = 11111011

Example of 2’s complement addition for large number positive and small number negative

The sum is a positive number.

Negative number with larger magnitude than the positive number

Example: -8 + 5 = ?

2’s complement representation of -8 = 11111000

2’s complement representation of 5 = 00000101

Example of 2’s complement addition for small number positive and large number negative

The sum is a negative number.

Both the numbers are negative

Example: -8 + (-5) = ?

2’s complement representation of -8 = 11111000

2’s complement representation of -5 = 11111011

Example of 2’s complement addition for both the numbers negative

The sum is a negative number.

The examples taken in this article are carefully chosen so that the overflow condition does not arise. Overflow occurs if the carries into and out of MSB are different. Overflow, in the case of signed binary arithmetic, is an unwanted condition, as it results in an incorrect sum. Thus, it is important to learn about Overflow and how to avoid it.

Previous           Table of Content           Next

Spread the Word

  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on X (Opens in new window) X
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to email a link to a friend (Opens in new window) Email
  • Click to print (Opens in new window) Print

Like this:

Like Loading...

Discover more from VLSIFacts

Subscribe to get the latest posts sent to your email.

Related posts:

  1. What is Overflow in case of Binary Arithmetic
  2. Addition of 1’s Complement Signed Binary Numbers
  3. Understanding Overflow through Examples
  4. Synopsys – Interview Questions – based on Synthesis and Simulation
Digital Electronics Tags:Addition of 2's Complement Numbers, Binary Addition, Signed Number, Signed Number Arithmetic

Post navigation

Previous Post: Why does Global Chip Shortage Happen
Next Post: What is Overflow in case of Binary Arithmetic

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Top Posts & Pages

  • ASCII Code
  • NAND and NOR gate using CMOS Technology
  • Lint Check in VLSI Design: Common Linting Errors and How to Fix Them
  • How to Design and Test a CRC Generator in Verilog Using Shift Registers and XOR
  • How to Implement a Finite State Machine (FSM) in Verilog: Practical Examples and Best Practices

Copyright © 2026 VLSIFacts.

Powered by PressBook WordPress theme

%d