Truth Table Generator
Interactive simulation — adjust parameters and watch the visualization update in real time.
Truth table
f = A & B| A | B | OUT |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
How it works
Type a **combinational** Boolean expression using **A**, **B**, and optionally **C**. The simulator parses **NOT** (!), **AND** (&), **OR** (|), and **XOR** (^), then lists every input combination and the output bit — the full truth table for your function.
Key equations
XOR: A ⊕ B = (A ∨ B) ∧ ¬(A ∧ B)