Boolean Circuit Sim

Build logic circuits — place gates, connect wires, toggle inputs

INPUT
OUTPUT
AND
OR
NOT
XOR
NAND
NOR
WIRE
DELETE
CLEAR
Half Adder
SR Latch
Click canvas to place selected gate. WIRE: click output pin → input pin. Toggle INPUT nodes by clicking.
Truth table will
appear here
after you add
INPUT + OUTPUT
nodes.

Logic gates implement Boolean algebra operations. Any computable function can be expressed as a circuit of NAND gates alone (NAND-completeness). Half adder: XOR computes sum bit, AND computes carry bit.