Logic Gate Simulator

Toggle boolean inputs and inspect both the current output and the full truth table for common logic gates.

Gate Setup

Choose a gate and toggle the active inputs.

Primary boolean input.

Secondary boolean input.

Gate
AND
Current Inputs
A=0, B=0
Output
0

Truth Table

Reference output for all input combinations.

A=0B=0Out=0
A=0B=1Out=0
A=1B=0Out=0
A=1B=1Out=1