Logic Gate Simulator test binary inputs, truth tables, and circuits

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 guide

Logic Gate Simulator interactive logic tool

Start 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.

Mode

Use one gate for a clean truth table, or switch to the circuit builder for chained gates.

Binary inputs

Click each input to switch between 0 and 1. NOT uses input A only.

Logic gates

Click a gate for the current mode, or drag it onto the circuit builder.

Single-gate mode

XOR

OUT: 1
Input A1
Input B0
XOR
OUT1

Truth table

The highlighted row matches your current inputs.

Boolean expression

Use these symbols to connect the gate to Boolean algebra.

Logic explanation

Real-world logic gate uses

AND

Multiple conditions must be true at the same time, such as an enable signal and a safety check.

OR

Any one condition can trigger an action, such as either button starting an alert.

NOT

A signal is inverted, such as turning an active-high signal into active-low logic.

XOR

Two inputs are compared to detect whether they are different, which is useful in adders and parity checks.

Related circuit learning tools

Continue from Boolean logic into digital inputs, outputs, voltage, current, and resistance.

Quick check

Quick Quiz

Score: 0/5

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 single-gate and circuit workflow

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.

Logic Gate Simulator truth table focus

Choose AND, OR, NOT, NAND, NOR, XOR, or XNOR and Logic Gate Simulator highlights exactly which truth table row explains the current output.

Logic Gate Simulator single gate interface with XOR inputs, live output, explanation, and truth table

Logic Gate Simulator circuit builder

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.

Logic Gate Simulator drag-and-drop circuit builder with connected gates, 0 and 1 wires, output, and truth table

Logic Gate Simulator quick guide

Use this Logic Gate Simulator guide to connect a gate symbol, binary inputs, truth table rows, and the final output explanation.

  1. 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
    Open simulator
  2. Read the Logic Gate Simulator truth table

    Toggle A and B and watch the highlighted row move. The highlighted row is the reason the output becomes 0 or 1.

    • Compare XOR and OR
    • Notice that NOT ignores B
  3. Build a Logic Gate Simulator circuit

    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.