Electronic Circuit Simulator
Place parts on a grid by dragging between points, connect them with wires and press Run. Voltages colour the wires, moving dots show current, LEDs light up, and selecting a part shows its voltage, current and power with an oscilloscope trace.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Load an example or start fresh
Six examples included.
- 2Place parts
Drag between grid points.
- 3Press Run
Watch voltages and current.
- 4Flip switches and select parts
Read V, I and power.
- 5Use the oscilloscope
Trace changes over time.
About this tool
Electronics makes more sense when you can see it happen. A simulator shows what the textbook describes: current flowing round a loop, a capacitor charging along its curve, a transistor switching an LED, a logic gate responding to switches. This simulator solves the circuit many times per second with the same mathematical method used by professional SPICE tools, and animates the result, so students, hobbyists and teachers can experiment safely without components, a breadboard or a power supply.
Who this is for
Students learning electronics, teachers demonstrating circuits in class, hobbyists checking a resistor value before soldering, and anyone curious how a circuit behaves.
Parts
Wires, resistors, capacitors, inductors, batteries, AC sources, current sources, switches and push buttons, diodes, LEDs in five colours, lamps, ground, NPN transistors, logic gates (AND, OR, NAND, NOR, XOR, NOT) and a voltmeter.
Building a circuit
Choose a part and drag from one grid point to another to place it; parts connect wherever their ends meet. Ground, transistors and gates are placed with a tap: transistors have the base on the left, collector above and emitter below; gates have inputs on the left and the output on the right. Load an example to start: LED with resistor, capacitor charging, voltage divider, transistor switch, AC low-pass filter and logic AND gate.
Running and reading the circuit
Press Run. Wire colours show voltage (green positive, red negative, grey near 0 V) and yellow dots move in the direction of conventional current at a speed proportional to the current. LEDs glow in proportion to their current. Tap a switch to flip it or hold a push button. Select a part to see its voltage, current and power, and an oscilloscope trace of voltage and current over time.
Time step
Choose the simulated time per step and how many steps run per frame. Use 1 ms steps for slow RC and RL circuits, 10-100 µs for 50 Hz AC, and smaller steps for fast filters. Changing the circuit restarts the simulation.
Models
Resistors, capacitors and inductors are ideal. Diodes and LEDs follow the Shockley equation, with LED forward voltage set by colour. The NPN transistor uses a simplified Ebers-Moll model with adjustable current gain. Logic gates are ideal 5 V parts with a 2.5 V input threshold.
Common mistakes
- No ground: one is chosen automatically, but adding one makes readings clearer. - A battery shorted by a wire, which cannot be solved. - An LED without a series resistor, which draws unrealistic current.
Limits
Parasitic effects, temperature, component tolerances and MOSFETs or op-amps are not modelled. Results are for learning, not for verifying safety-critical or mains-voltage designs.
Worked example
A 9 V battery, 470 Ω resistor and red LED run at about 14.9 mA with 2.0 V across the LED, close to the hand calculation (9 − 2) ÷ 470.
Quick facts
- Category: Engineering & Construction
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: Modified nodal analysis with Newton-Raphson (as in SPICE); Shockley diode and Ebers-Moll transistor models
Frequently asked questions
Is anything uploaded?
No. The simulation runs in your browser and circuits are saved there.
How accurate is it?
It uses the same nodal analysis as SPICE with simplified device models, accurate enough for learning.
Can I simulate AC?
Yes. Use the AC source with amplitude and frequency, and the oscilloscope.
Does it have logic gates?
Yes: AND, OR, NAND, NOR, XOR and NOT at 5 V.
How do I measure voltage?
Select any part, or place a voltmeter between two points.
Can I save circuits?
Yes, as a file, and the current circuit is kept in your browser.
