Getting started with OpenSpice

OpenSpice is a free online circuit simulator and schematic editor by Azizul Haque Nafis. It runs ngspice in the browser on macOS and other systems with WebAssembly and Web Workers.

Open the circuit simulator (new tab)

Two resistors form a voltage divider with voltage markers on the OpenSpice schematic

Check the DC bias of a voltage divider

  1. From the File menu, choose the voltage-divider bias-point example.
  2. Run Simulate from the Analysis menu.
  3. Use the bias voltage display or voltage markers to compare the supply and divider node. The example shows how two series resistors divide a DC supply.

Run an AC sweep on an RC low-pass filter

  1. Open the RC low-pass AC sweep example from the File menu.
  2. Run the simulation and read the output voltage in Probe.
  3. Compare the low-frequency passband with higher frequencies. View the magnitude in dB and use the cursor to estimate the cutoff.

Draw circuits or edit SPICE netlists

Place components, wire them together, add a ground reference, and choose a bias point, DC sweep, AC sweep, or transient analysis. You can also switch to Netlist Mode to edit a SPICE deck directly. The simulator runs on your device and can export waveform data as CSV.

OpenSpice was inspired by the PSpice Schematics workflow. It uses ngspice for simulation and opens OpenSpice .osch projects and SPICE netlist files.