A half adder is a combinational logic circuit that adds two single-bit binary numbers, producing a sum bit and a carry bit. In a real circuit or PCB layout, implementing this schematic changes your design from a simple boolean state-tracker into a mathematical datapath, forming the foundational building block for multi-bit arithmetic logic units (ALUs). Makers and engineering students most commonly confuse it with the full adder, mistakenly assuming a half adder can accept a carry-in bit from a previous cascaded stage. It cannot; it strictly operates on two primary inputs.

The Core Logic: How a Half Adder Schematic Actually Works

To build a half adder on the bench, you need exactly two logic gates: an Exclusive-OR (XOR) gate and an AND gate. The XOR gate generates the Sum output, while the AND gate generates the Carry output. When you look at a standard half adder schematic, the inputs (A and B) fan out to both gates simultaneously.

Truth Table Quick Reference
  • A=0, B=0: Sum=0, Carry=0 (0+0=0)
  • A=0, B=1: Sum=1, Carry=0 (0+1=1)
  • A=1, B=0: Sum=1, Carry=0 (1+0=1)
  • A=1, B=1: Sum=0, Carry=1 (1+1=2, binary 10)

The schematic relies on the fundamental properties of these gates. The XOR gate outputs a HIGH only when the inputs differ, perfectly mapping to the least significant bit (Sum) of binary addition. The AND gate outputs a HIGH only when both inputs are HIGH, mapping to the overflow condition (Carry). Because there is no feedback loop and no memory element, the outputs react purely to the present state of the inputs, classifying it as strictly combinational logic.

Worked Numeric Example: Adding Binary 1 and 1

Let us run a real-world numeric example using standard 5V CMOS logic, specifically the Texas Instruments SN74HC86 (Quad 2-Input XOR) and the SN74HC08 (Quad 2-Input AND). We will add binary 1 and binary 1.

  1. Setup: Apply 5.0V (Logic HIGH) to Input A and 5.0V (Logic HIGH) to Input B.
  2. XOR Stage (Sum): The 74HC86 detects matching HIGH inputs. Its internal MOSFET network pulls the Sum output to GND (0V / Logic LOW).
  3. AND Stage (Carry): The 74HC08 detects both inputs HIGH. It pulls the Carry output to VCC (5.0V / Logic HIGH).
  4. Timing Reality: Logic gates are not instantaneous. At a 5V supply and 25°C ambient, the 74HC86 has a typical propagation delay ($t_{pd}$) of 14ns. The 74HC08 has a $t_{pd}$ of roughly 18ns. This means the Sum bit will settle to 0V approximately 4 nanoseconds before the Carry bit settles to 5V.
Critical Timing Note: In high-speed designs, that 4ns skew between the Sum and Carry outputs can cause a momentary false state (glitch) if both outputs are latched into a flip-flop on the exact same clock edge without proper setup-time margins.

Half Adder vs. Full Adder: The Common Confusion

If you are designing a multi-bit calculator, you will quickly hit the limits of the half adder. Here is how the two architectures compare when you move beyond single-bit math.

Feature Half Adder Full Adder
Inputs 2 (A, B) 3 (A, B, Carry-In)
Outputs 2 (Sum, Carry-Out) 2 (Sum, Carry-Out)
Gate Count (Basic) 1 XOR, 1 AND 2 XOR, 2 AND, 1 OR
Cascading Ability Only for the LSB (Least Significant Bit) Can be chained infinitely for N-bit addition
Propagation Delay 1 gate delay ($t_{pd}$) 2 to 3 gate delays (depends on carry path)

When building an 8-bit adder, you use a half adder schematic for the very first bit (bit 0) because there is no previous carry to add. For bits 1 through 7, you must use full adders to accept the carry-out from the preceding stage. For a deeper dive into combinational logic theory, the All About Circuits digital textbook provides excellent foundational schematics.

Where You Meet This in Practice

You rarely see a discrete half adder built from individual transistors in modern commercial products, but the schematic is everywhere in silicon and programmable logic:

  • FPGA Fabric Design: When writing Verilog or VHDL, synthesis tools map your A + B operators directly into half and full adder logic blocks within the Configurable Logic Blocks (CLBs).
  • Microcontroller ALUs: The Arithmetic Logic Unit inside an ATmega328P or an ARM Cortex-M0 is essentially a massive, optimized chain of these adders (often upgraded to Carry-Lookahead Adders for speed, which use half adders at the base level).
  • Parity Generators: The XOR tree used to generate error-checking parity bits in RAM modules is structurally identical to the Sum path of cascaded half adders.

Bench Scenario: Building a 4-Bit Ripple Adder (And Why It Failed)

Theory is clean; the breadboard is messy. Here is a real-world walkthrough of a common failure mode when prototyping adders with 74HC-series CMOS chips.

The Setup: I was prototyping a 4-bit ripple carry adder on a solderless breadboard. Bit 0 was wired as a half adder using one gate from a 74HC86 (XOR) and one from a 74HC08 (AND). Bits 1 through 3 were wired as full adders using the remaining gates on those chips, plus an extra 74HC32 (OR) chip. VCC was tied to 5.0V from a bench supply, and GND to the common rail.

The Numbers: I set the DIP switches to add 0111 (Decimal 7) and 0001 (Decimal 1). The expected binary output on the LED array was 1000 (Decimal 8).

The Outcome: When I toggled the power, the LEDs flickered violently and settled on 0110. Worse, the 74HC86 chip became noticeably warm to the touch within 30 seconds, drawing an abnormal 45mA of quiescent current (it should draw less than 1mA at rest).

What Went Wrong: The half adder only requires one XOR gate. The 74HC86 chip contains four. I had left the inputs to the three unused XOR gates completely unconnected (floating). In CMOS logic, a floating input does not default to LOW; it acts as an antenna. The high-impedance gates picked up 60Hz mains noise and stray RF from the bench, causing the internal P-channel and N-channel MOSFETs to drift into their linear (partially on) region. This caused the unused gates to oscillate at high frequencies, drawing massive current and heating the silicon. More critically, this high-frequency oscillation injected noise into the shared internal substrate and the breadboard's ground rail, corrupting the Carry-Out signal of the half adder right as it propagated to the next full adder stage.

Bench Rule for CMOS: Never leave unused inputs floating on 74HC, 74HCT, or 4000-series chips. Always tie unused inputs directly to GND or VCC to prevent oscillation, excess current draw, and logic corruption.

Frequently Asked Questions

Can I use NAND or NOR gates to build a half adder schematic?
Yes. Because NAND and NOR are universal gates, you can construct the required XOR and AND functions using only NAND gates. It typically requires five NAND gates to replicate the exact logic of one half adder, which is why we use dedicated XOR/AND chips for physical prototyping to save space and reduce propagation delay.

Why is it called a "half" adder?
It is called "half" because it lacks the ability to accept a Carry-In bit from a previous stage. It can only add two primary bits, making it incomplete for multi-bit cascaded addition on its own. A "full" adder includes the third Carry-In input.

Does the half adder have a clock signal?
No. It is purely combinational logic. The outputs change asynchronously the moment the inputs change, limited only by the physical propagation delay of the silicon gates. If you need to synchronize the output to a clock edge, you must place D-type flip-flops on the Sum and Carry outputs.