Full Adder

A full adder adds three bits — A, B and a carry in from the column before — and gives a Sum and a Carry out. Chain one per bit, the carry out of each into the next, and you can add numbers of any width.

Try it live

This is the Circuit Simulator itself, running in the page — it is LogicsBench's own example design, read-only. Open it full size, and sign in to make your own copy to change.

  • Step through all eight combinations with − and + under the switches.
  • Check that Cout follows the majority: any two inputs at 1 carry.
  • Fork it and chain a second one to make a 2-bit adder.

Full adder truth table

ABCinSumCout
00000
00110
01010
01101
10010
10101
11001
11111

How it works

  • Sum = A ⊕ B ⊕ Cin
  • Cout = AB + B·Cin + A·Cin

Sum is 1 when an odd number of the three inputs are 1: two XOR gates in a row.

Carry out is 1 when at least two of the three are 1 — the majority function, three ANDs into an OR.

Four full adders in one package, with the carries chained inside, is a 74LS283 (or the older 74LS83, the same circuit with the power on pins 5 and 12).

Building it from 74-series chips

74LS86two XOR gates make Sum
74LS08three AND gates for the carry terms
74LS32two OR gates join them (there is no TTL 3-input OR)
74LS283or four whole full adders in one chip

More example circuits

Build your own.

The Circuit Simulator is free, in your browser — start from a blank page or from this example.