Logic Gate Simulator

Combine AND, OR, NOT, NAND, XOR, and more with draggable wires to build small combinational circuits and read output LEDs.

Who it's for: Digital logic and CS intro; Boolean algebra practice.

Key terms

  • logic gate
  • Boolean
  • truth table
  • combinational circuit
  • NAND

How it works

Build **combinational** logic on a breadboard-style canvas. **NOT** uses a single input (**in₀**). The **OUT** LED shows the signal wired to it. Open inputs are treated as **floating** (undefined) until you connect them.

Key equations

NAND(a,b) = ¬(a ∧ b)  ·  XOR(a,b) = a ⊕ b