Lab

Online SPICE Simulator

An online SPICE simulator solves a circuit with a SPICE engine on the web, so you install nothing. In DCACLab you draw the circuit, the lab writes the netlist, and NGSpice returns a Time Domain, AC Sweep or DC Sweep plot.

Last updated:

Open the lab

Run a real SPICE circuit now

This RC low-pass filter (1.6 kΩ and 1 µF) opens with its NGSpice Time Domain chart plotted. Switch the analysis type to AC Sweep to see its frequency response.

Preview of RC Low-Pass Filter: Frequency Response Lab
Open in the lab Embed Run the circuit right here. To edit it in the full lab, sign in; free accounts have a time limit there.

The circuit above works without an account and opens with its chart already plotted. NGSpice charts in the full lab need an account. Create a free account

What is a SPICE simulator?

SPICE is the standard way to simulate analog circuits. A netlist lists each part and the two or more nodes it connects, and the simulator solves the circuit for the analysis you ask for: voltages over time, a frequency response or a sweep of a source. An online SPICE simulator does this on the web, so you can draw the circuit instead of typing the netlist.

What runs under the hood

The engine is NGSpice, and it runs on DCACLab's servers. The lab sends your circuit to NGSpice, the open-source SPICE engine, and draws the answer as a chart. It runs on DCACLab's servers, so there is nothing to install or configure. A student does not need to write a netlist to get a plot.

The analyses you can run

The lab runs three NGSpice analyses:

See and edit the netlist

The lab writes the netlist from the board. Open the NGSPice tab beside the board to read it, and click a model line to open its parameter editor. Advanced users can build their own IC in IC Creator: the lab writes the .subckt line, and you write the body and the .model lines. IC Creator is not in the Starter plan.

Worked example: the RC filter's cutoff

f_c = 1 / (2πRC) = 1 / (2π × 1.6 kΩ × 1 µF) ≈ 99.5 Hz

The circuit at the top is a 1.6 kΩ resistor and a 1 µF capacitor. Its cutoff frequency is about 99.5 Hz, where the output falls to about 70.7 % of the input and lags it by 45°. Switch the chart to AC Sweep and read the magnitude and phase near 100 Hz to check it.

From blank board to plot in 3 steps

The RC low-pass filter in the screenshot below is the example. To build your own:

  1. Open the lab signed in with a free account (NGSpice charts need one), then place a source, a resistor and a capacitor, and wire them with a ground.
  2. Pick an analysis type: Time Domain, AC Sweep or DC Sweep.
  3. Read the chart, then open the NGSPice tab to check the netlist the lab wrote.
The DCACLab lab showing an RC low-pass filter on the board with its Time Domain chart plotted by NGSpice.
The RC filter in the lab, with its NGSpice chart.

Use it in class

Teachers can use it with a class: students see the circuit, its netlist and the SPICE result in one place.

Setting up a class needs a free account. Your free classroom gets a 7-day full-class trial, counted from when the first student joins.

Start teaching

Schools and departments: how to order

Frequently asked questions

Is this real SPICE?

Yes, it is real SPICE: the lab runs your circuit with NGSpice, the open-source SPICE engine, and plots the result.

Do I need to install anything?

No, there is nothing to install. The engine runs on DCACLab's servers and the lab opens on the web, so there is nothing to download.

What is free?

Circuits embedded on DCACLab pages, like the RC filter above, are free and run without an account. NGSpice charts in the full lab need an account, and saving a circuit needs a plan.

Can I see the netlist?

Yes, the NGSPice tab beside the board shows the netlist the lab wrote from your circuit.

Can classes use it?

Yes, classes can use it. A free classroom gets a 7-day full-class trial from the first student join, and schools can order through the procurement page.

Try it on your own circuit

Open the lab, draw a circuit and plot it with NGSpice.

Open the lab