PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

Related simulators

Similar topics nearby (including related fields) — or browse all 48 in Engineering.

View category →
School

Truth Table Generator

Launch Simulator

Build a circuit, auto-generate the truth table.

School

Gear Train

Launch Simulator

Connect gears, adjust teeth count, see speed and torque ratios.

FeaturedSchool

Circuit Builder

Launch Simulator

Drag and drop components: battery, resistor, bulb, switch. See current flow.

NewSchool

Stress–Strain & Hooke’s Law

Launch Simulator

Qualitative σ–ε curve: elastic Hooke region, yield, strain hardening, necking, and fracture. Drag strain and tune E, σ_y, σ_u.

NewSchool

Bridge Builder

Launch Simulator

Place beams and joints. Apply load. See stress distribution.

NewSchool

Finite State Machine

Launch Simulator

Traffic-light Moore machine: timed green–yellow–red cycle or manual step; state graph.

PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Engineering/Logic Gate Simulator

Logic Gate Simulator

AND, OR, NOT, NAND, XOR. Drag, drop, connect, see output.

Interaction

Place: choose a gate below, then click the canvas. Wire: click a source or gate output, then a gate input or LED. Move: drag gate bodies.

Gate type (Place mode)

Inputs

Shortcuts

  • •Esc — cancel wire

Measured values

LED (output)LOW (0)
Wires0

About this model

Combine AND, OR, NOT, NAND, XOR, and more with draggable wires to build small combinational circuits and read output LEDs.

Who it's for: Digital logic and CS intro; Boolean algebra practice.

Key terms

  • logic gate
  • Boolean
  • truth table
  • combinational circuit
  • NAND

How it works

Build combinational logic on a breadboard-style canvas. NOT uses a single input (in₀). The OUT LED shows the signal wired to it. Open inputs are treated as floating (undefined) until you connect them.

Key equations

NAND(a,b) = ¬(a ∧ b) · XOR(a,b) = a ⊕ b