← All tools
DIYFORGE TOOLBOX · ELECTRICAL ENGINEERING

DC Circuit Simulator

Build an intuition for electrical circuits. Change the supply voltage and resistance, switch between series and parallel connections, and see how voltage, current and power behave throughout the circuit.

V = IRP = VI = I²R = V²/R
Ohm's law · Electrical power
CIRCUIT SETUP

Choose your circuit

Ideal DC components are assumed. Resistance is fixed, sources are ideal, and wires have zero resistance. Values update the circuit immediately.

LIVE SCHEMATIC

Series circuit

LIVE SOLUTION
Ideal wireVoltage sourceResistorCurrent arrows show conventional current
LIVE MEASUREMENTS

Whole-circuit results

Total resistance—
Supply current—
Total power—
Solving circuit…
01 · SERIES CIRCUITS

One path for current

In a series circuit, every component lies on the same path. The current is therefore identical through each resistor. The supply voltage is shared between them, and the equivalent resistance is the sum:

Req = R₁ + R₂ + …
02 · PARALLEL CIRCUITS

Multiple paths for current

In a parallel circuit, each branch is connected across the same two nodes. Every branch has the same voltage, while the supply current divides between branches. The equivalent resistance is:

1/Req = 1/R₁ + 1/R₂ + …
03 · CONSERVATION

Current, voltage and power

Kirchhoff's current law says charge does not accumulate at an ideal junction: currents entering equal currents leaving. Kirchhoff's voltage law says voltage rises and drops around a closed loop sum to zero. For a passive resistor, electrical power becomes heat.

P = VI = I²R

Model scope and assumptions

This simulator solves steady-state direct-current (DC) networks using modified nodal analysis. The numerical engine supports ideal resistors, independent ideal voltage sources and independent ideal current sources; the initial interactive interface exposes a single voltage source and two or three resistors in series, parallel or a mixed arrangement. It does not yet model capacitors, inductors, switching, transient response, AC impedance, semiconductor devices, wire resistance, thermal effects or component tolerances. Current direction follows the conventional-current convention. Negative calculated current indicates actual current flows opposite to the component's defined reference direction.

This is an educational circuit model, not a design or safety tool for mains electricity or high-power hardware.

Learn more

Ideal DC circuit simulator · Educational use only.