# ngspice

Open\-source analog and mixed\-signal circuit\-simulation engine with command\-line and shared\-library interfaces\.

ID: Q995 · Revision: 1043

Type: software · License: Modified BSD; documentation has separate terms[^ng-faq] · Status: active

Website: https://ngspice.sourceforge.io/



ngspice is an open\-source circuit\-simulation engine for analog and mixed\-signal work\. It processes netlists and component models and can be used from a command\-line environment or through another application's interface\. This makes it both a simulator in its own right and a building block beneath graphical electronics tools\.[^ng-home][^ng-faq]

## Capabilities and substitutions

### Embeddable simulation engine — supported

A shared\-library API exposes simulation control and data callbacks\.[^ng-shared]

Use case: Electronic circuit simulation · Platforms: Windows, Linux, macOS, FreeBSD · Region: Availability depends on platform, build and component\-model compatibility

### Built\-in schematic entry — unsupported

Schematic capture is supplied by separate frontends rather than the ngspice core\.[^ng-home]

Use case: Electronic circuit simulation · Platforms: Windows, Linux, macOS, FreeBSD · Region: Availability depends on platform, build and component\-model compatibility

### [Substitute for Xyce](/xyce) — limited

Alternative engine for supported models and analyses; syntax, numerical behavior and frontend requirements differ\.[^ng-home][^xy-faq]

Use case: Compatible netlist\-based circuit analysis · Platforms: Windows, Linux, macOS, FreeBSD · Region: Availability depends on platform, build and component\-model compatibility

## References

[^ng-faq]: [ngspice FAQ](<https://ngspice.sourceforge.io/faq.html>) — Sections 1\.1, 1\.5 and 2\.3: architecture, licensing and command\-line interface; old version list not used (vendor; retrieved 2026-10-07T03:38:18Z)

[^ng-home]: [ngspice project](<https://ngspice.sourceforge.io/>) — Netlist simulation, third\-party interfaces and platform downloads (vendor; retrieved 2026-10-07T03:33:17Z)

[^qucs-home]: [Qucs\-S project](<https://ra3xdh.github.io/>) — Simulator backends, packages and schematic interface (vendor; retrieved 2026-10-07T03:38:18Z)

[^ng-shared]: [ngspice shared library](<https://ngspice.sourceforge.io/shared.html>) — Control functions, callbacks, simulation thread and frontend integration (vendor; retrieved 2026-10-07T03:37:57Z)

[^qucs-compat]: [SPICE troubleshooting and compatibility modes](<https://qucs-s-help.readthedocs.io/en/latest/subckts-and-ext-models/spice-models/spice-troubleshooting-and-compatibility-modes.html>) — Vendor dialects, expressions and ngspice compatibility settings (vendor; retrieved 2026-10-07T03:33:53Z)

[^ng-docs]: [ngspice documentation](<https://ngspice.sourceforge.io/docs.html>) — Stable manual versus continuously updated development documentation (vendor; retrieved 2026-10-07T03:34:05Z)

[^xy-faq]: [Xyce frequently asked questions](<https://xyce.sandia.gov/documentation-tutorials/frequently-asked-questions/>) — SPICE compatibility, parts models, XDM and parallel performance qualifications (vendor; retrieved 2026-10-07T03:34:05Z)

Source revision: https://substitutefor.net/entities/Q995?revision=1043
