Logic Gates

Interactive gate simulation — toggle inputs, see outputs in real time, and explore truth tables.

Interactive Simulator
A=0B=1Q=0AND
Input Aclick to toggle
Input Bclick to toggle
01=0
0
Output: LOW (0)
Truth Table — AND
ABOutput
000
010
100
111
Boolean ExpressionQ = A · B
SymbolicA ∧ B
Inputs2
Universal?No

Output is 1 only when ALL inputs are 1. The fundamental conjunction gate used in virtually every digital circuit.

All Gates — Quick Select
ANDA ∧ B
ORA ∨ B
¬NOT¬A
XORA ⊕ B
NAND¬(A ∧ B)
NOR¬(A ∨ B)