Choose a Logic Gate Simulator gate
Start with AND, OR, or NOT, then compare NAND, NOR, XOR, and XNOR. Keep the selected gate visible while you change the inputs.
- Use 0 and 1 as LOW and HIGH
- Start with one gate before chaining
Choose AND, OR, NOT, NAND, NOR, XOR, or XNOR, flip 0/1 inputs to see the output, and build a small multi-gate circuit.
Read the guideStart Logic Gate Simulator here: choose a gate, toggle A and B between 0 and 1, inspect the highlighted truth table row, then drag gates into a simple circuit chain.
Use one gate for a clean truth table, or switch to the circuit builder for chained gates.
Click each input to switch between 0 and 1. NOT uses input A only.
Click a gate for the current mode, or drag it onto the circuit builder.
Share the page, or copy a result link that includes the selected gate, inputs, and circuit.
Single-gate mode
XOR
The highlighted row matches your current inputs.
Use these symbols to connect the gate to Boolean algebra.
Drag-and-drop circuit
Drop gates to chain them. Each gate receives the previous output plus a selected second input when needed.
Input A1
Input B0
Final output1 Drop AND, OR, NOT, NAND, NOR, XOR, or XNOR here to build a simple circuit.
| A | B | OUT |
|---|
This table recalculates the final output for every A/B input pair.
Multiple conditions must be true at the same time, such as an enable signal and a safety check.
Any one condition can trigger an action, such as either button starting an alert.
A signal is inverted, such as turning an active-high signal into active-low logic.
Two inputs are compared to detect whether they are different, which is useful in adders and parity checks.
Continue from Boolean logic into digital inputs, outputs, voltage, current, and resistance.
Quick check
AND inputs 1 and 0: what is the output?
OR inputs 0 and 0: what is the output?
Which gate outputs 1 when two inputs are different?
NOT input 1: what is the output?
What is the relationship between NAND and AND?
Logic Gate Simulator is an educational Boolean logic model. It explains ideal logic gates and truth tables, not voltage timing, propagation delay, or physical chip behavior.
Logic Gate Simulator starts with clear single-gate results, then moves into a simple drag-and-drop circuit so the same 0/1 logic stays visible.
Choose AND, OR, NOT, NAND, NOR, XOR, or XNOR and Logic Gate Simulator highlights exactly which truth table row explains the current output.
Drag multiple gates into Logic Gate Simulator to build a small circuit chain, then watch the output, step explanation, and circuit truth table update together.
Use this Logic Gate Simulator guide to connect a gate symbol, binary inputs, truth table rows, and the final output explanation.
Start with AND, OR, or NOT, then compare NAND, NOR, XOR, and XNOR. Keep the selected gate visible while you change the inputs.
Toggle A and B and watch the highlighted row move. The highlighted row is the reason the output becomes 0 or 1.
Switch to circuit mode, drag several gates into the canvas, choose each second input, and read the step-by-step explanation.
For homework practice, predict the final output first, then use the circuit truth table to check your reasoning.