Compact Full Adder

A full adder is a core redstone computing circuit used to add binary numbers together inside calculators, ALUs, and computers. It takes two primary bit inputs (A and B) along with a Carry In signal, outputting both a Sum and a Carry Out so multiple units can be chained together for multi-bit addition.

Redstone ComputingIntermediateJava Edition
Compact Full Adder video tutorial

Video: Minecraft Compact Full Adder [Tutorial] by Sw1Ftx16

How to build it

  1. Build the First XOR Base

    Place three solid blocks spaced one block apart from each other. At the back end of the layout, add two more blocks extending outward like legs.

  2. Add the Input Torches and Dust

    Attach redstone torches to the initial input blocks and place redstone dust in the center space between them. Place solid blocks directly above those torches and run redstone dust across the top.

  3. Extend the Middle Frame

    Extend the center line of blocks forward by three blocks. Place blocks above the redstone line in an arch or bell shape to cut off unwanted vertical dust connections, then break the temporary support block underneath.

  4. Wire the First Logic Stage

    Place redstone torches on the top blocks and on the two inner sides of the frame. Connect these side torches together with a line of redstone dust.

  5. Build the Second Stage for Carry In

    Place solid blocks directly above the previous torches, which should power them off. Add a central block ahead of them with torches on the inside faces, and link the path with redstone dust to create the Sum output.

  6. Construct the Carry Out Line

    Branch off the side of the circuit with a small step of blocks to separate the Carry In input from the Carry Out path. Run redstone dust along these side blocks to link both stages of the adder.

  7. Place Final Inverting Torches and Levers

    Place the final two redstone torches on the side carry blocks so the Carry Out logic functions properly. Attach levers to Input A, Input B, and the Carry In line to test your binary addition.

How it works

A full adder works by combining two half-adders (built around XOR and AND gates) to calculate binary addition across three inputs: A, B, and Carry In (Cin).

  • First Stage (A + B): The front section acts as an XOR gate for inputs A and B. If only one input is active (1 + 0), the middle torch line outputs a signal of 1. If both A and B are active (1 + 1), both side torches turn off and the preliminary carry torch activates instead.
  • Second Stage (Adding Carry In): The result of the first XOR gate feeds into a second XOR gate alongside the Carry In line. If the total number of active inputs is odd (1 or 3), the final Sum output turns on (representing 1 in the ones column).
  • Carry Out (Cout): If any two—or all three—inputs are powered at the same time, the side torches invert the signal and power the Carry Out line (representing 2 in binary). This Carry Out line can be wired directly into the Carry In of an adjacent full adder to add multi-bit numbers.

Tips & variations

  • Don't Forget the Final Torches: A very common mistake on this layout is forgetting the last two torches on the upper carry blocks, which prevents the Carry Out line from triggering when A and B are both on.
  • Cutting Redstone Connections: Use solid opaque blocks (like wool, concrete, or stone) above dust lines to prevent adjacent wires from linking together. Transparent blocks like glass or slabs will not cut redstone dust lines.
  • Chaining Adders: To build a 4-bit or 8-bit calculator, build several of these units side-by-side and wire the Carry Out of each bit into the Carry In of the next unit.
  • Silent Operation: Because this design relies strictly on redstone torches and dust without pistons, it is completely silent and works consistently across Java Edition versions.

Frequently asked questions

What is the difference between a half adder and a full adder?
A half adder only adds two inputs (A and B) and cannot accept an incoming carry value. A full adder includes a third input (Carry In), allowing you to chain multiple adders together to add larger binary numbers.
What do the Sum and Carry Out outputs represent?
In binary, the Sum output represents a value of 1, while the Carry Out output represents a value of 2. If both outputs are on at the same time (when A, B, and Carry In are all active), the total equals 3.
Why are my redstone wires connecting where they shouldn't?
Make sure you place solid building blocks diagonally above the dust lines as shown in the arch step. Solid blocks cut vertical redstone connections so the XOR gate lines stay isolated.

Components used

More adder