Buddy Code
Create account ↗
All tools
Free to use · No sign-up

DC resistor-network solver

Calculate node voltages, branch currents and power for ideal resistors and DC sources.

Define a JSON array of R (ohms), V (volts) and I (amps) branches. Ground is "0". Positive current flows from → to; voltage sources enforce V(from) − V(to). Positive power is absorbed. Ideal DC only; no hardware or component-safety assessment.

What it does

Calculate node voltages, branch currents and power for ideal resistors and DC sources.

How to use it

  1. Define R, V and I branches as JSON, use node 0 as ground, then solve.
  2. Processing stays in your browser. No upload or sign-up.

Example

A 10 V supply across two equal 1 kΩ resistors produces 5 V at the midpoint and 5 mA through each resistor.

Methodology

Modified nodal analysis stamps conductances and independent sources, solves with partial-pivot Gaussian elimination and checks residuals.

Limitations

100 branches, 40 non-ground nodes; resistors 0.001 Ω–1 GΩ, sources ±1 million units. Floating, conflicting and ill-conditioned circuits fail. Ideal DC only; no AC, hardware connection or component-safety assessment.

Automation

This tool runs in your browser. No upload API or MCP endpoint is available.

View capabilities and documentation

Reference updated

Join the conversation

Helpful tips, questions, and ideas for making this tool better.

Loading discussion…