› Kirchhoff Laws Simulator Back
Electrical Circuit Simulator

Kirchhoff Laws Simulator — Series-Parallel Resistor Circuit

Real-time visualisation of Kirchhoff's voltage law (KVL) and current law (KCL) in a circuit with R_1 in series with the source V and R_2, R_3 in parallel beyond it. See the relation between current division and voltage drops in the diagram and the numbers at the same time.

Parameters
Circuit topology
Presets
Source voltage V
V
Resistance R_1
Ω
Resistance R_2
Ω
Resistance R_3
Ω

The moving dots are the current: their speed and density are proportional to its magnitude. With the series-parallel defaults the total current is 54.5 mA, I_2 = 32.7 mA, I_3 = 21.8 mA and V_par = 6.55 V.

Live values
—
Total current I_total
—
Total resistance R_total
—
Node voltage V_a
—
Power P
—
Branch current I_1
—
Branch current I_2
—
Branch current I_3
—
Voltage drop ΔV_2
—
Total current I_total
—
Branch current I_2
—
Branch current I_3
—
Parallel-section voltage V_par
——
Circuit animation (current flow)
I_total / I_1 I_2 I_3 Node voltage (colour = level)

The moving dots are the current: the faster and denser, the larger the current. The current splits and rejoins at the node (KCL), and around the loop the voltage drops add up to the EMF (KVL).

Current and voltage distribution (KCL / KVL)

Series = voltage drops (KVL: ΣΔV=V); parallel and series-parallel = branch currents (KCL: sum of branches = I_total). The yellow dashed line marks the total.

Theory & Key Formulas

A circuit with R_1 in series with the voltage source V, followed by R_2 and R_3 in parallel. First the equivalent resistance of the parallel section:

$$R_{par} = \frac{R_2\,R_3}{R_2 + R_3}$$

Total resistance and, from Kirchhoff's voltage law (KVL), the total current:

$$R_{total} = R_1 + R_{par}$$ $$I_{total} = \frac{V}{R_{total}}$$

Voltage across the parallel section and the branch currents:

$$V_{par} = V - I_{total}\,R_1$$ $$I_2 = \frac{V_{par}}{R_2},\quad I_3 = \frac{V_{par}}{R_3}$$

Check with Kirchhoff's current law (KCL):

$$I_{total} = I_2 + I_3$$

Current divides in inverse proportion to resistance, so I_2 > I_3 when R_2 < R_3. With the series preset (R=10 Ω×3, V=12) R_total=30 Ω, I=0.4 A and each drop is 4 V (KVL: 4+4+4=12). With the parallel preset (10 Ω×3) R_total=3.33 Ω, I_total=3.6 A and each branch carries 1.2 A (KCL: 1.2×3=3.6).

About the Kirchhoff's Laws Simulator

🙋
If I connect a single resistor to a battery, Ohm's law V=IR gives me the current. But how do I solve a circuit where resistors are mixed in series and parallel?
🎓
That is where Kirchhoff's laws come in. There are only two: KVL (the voltage law) says that the voltages around any closed loop sum to zero, and KCL (the current law) says that the current flowing into a node equals the current flowing out. For a series-parallel circuit you first combine the parallel section into a single resistor; the circuit then becomes a simple series loop and V=IR gives the total current. The voltage across the parallel section then fixes each branch current.
🙋
With the defaults V=12 V, R_1=100 Ω, R_2=200 Ω and R_3=300 Ω, I_total reads 54.5 mA. How is that computed?
🎓
You can follow it by hand. The parallel section is R_par = R_2·R_3/(R_2+R_3) = 200·300/500 = 120 Ω. Adding the series R_1 gives the total resistance R_total = 220 Ω. From KVL the total current is I_total = V/R_total = 12/220 ≈ 0.0545 A = 54.5 mA, which matches the I_total in the simulator's live values exactly. The voltage across R_1 is I_total·R_1 = 5.45 V, so the parallel-section voltage is V_par = 12 − 5.45 = 6.55 V. Distributing that over the branches gives I_2 and I_3.
🙋
I see! So which is larger, I_2 or I_3? In the diagram they look about the same…
🎓
In parallel branches the voltage is shared, so more current flows through the smaller resistance. Applying V_par = 6.55 V to R_2 = 200 and R_3 = 300 gives I_2 = 6.55/200 ≈ 32.7 mA and I_3 = 6.55/300 ≈ 21.8 mA, a ratio of 3:2. In the bar chart I_2 + I_3 = 54.5 mA equals I_total – that is KCL in evidence. Pull R_3 right down with the slider and you will see the current shift towards I_3 while I_total itself grows, which is the interesting part.
🙋
What happens if I lower R_3 all the way to 1 Ω? That is almost a short, isn't it?
🎓
Good experiment. With R_3 → 1 Ω, R_par ≈ 1 Ω, R_total ≈ 101 Ω and I_total rises to about 119 mA. V_par drops to about 0.12 V, so I_2 = 0.12/200 ≈ 0.6 mA while I_3 = 0.12/1 = 120 mA – almost all the current goes through R_3. This is the familiar "current concentrates in the low-resistance path" effect, directly relevant to protecting semiconductor circuits and to designing fuses and shunts. Move the R_3 slider slowly and you can watch it happen continuously.

Physical Model and Key Equations

Kirchhoff's laws impose two constraints on any linear circuit of resistors, voltage sources and current sources: conservation of loop voltage (the voltage law, KVL) and of node current (the current law, KCL). This simulator treats a circuit with a series resistor $R_1$ connected to a voltage source $V$, followed by the parallel resistors $R_2$ and $R_3$: a single loop plus one node.

The parallel section has the equivalent resistance $R_{par}=R_2 R_3/(R_2+R_3)$ and the total resistance is $R_{total}=R_1+R_{par}$. Applying KVL to the closed loop, $V = I_{total} R_1 + V_{par}$ immediately gives $I_{total}=V/R_{total}$, and the voltage across the parallel section is $V_{par}=V-I_{total} R_1$. Ohm's law gives the branch currents $I_2=V_{par}/R_2$ and $I_3=V_{par}/R_3$, and KCL at node a, $I_{total}=I_2+I_3$, is seen to be satisfied automatically.

With the defaults $V=12$ V, $R_1=100$ Ω, $R_2=200$ Ω and $R_3=300$ Ω we get $R_{par}=120$ Ω, $R_{total}=220$ Ω, $I_{total}=12/220\approx 54.5$ mA, $V_{par}=6.55$ V, $I_2\approx 32.7$ mA and $I_3\approx 21.8$ mA, and $I_2+I_3=54.5$ mA $=I_{total}$ holds. Moving any of the simulator's four sliders updates all of these values in real time.

Real-World Applications

Shunt resistors: The classic parallel circuit used to extend the range of an ammeter. Placing a low-resistance shunt $R_s$ in parallel with the meter's internal resistance $R_m$ sends most of the current through $R_s$ and reduces the meter current to $I_m=I\cdot R_s/(R_s+R_m)$. It is still standard today in power meters, clamp meters and car battery monitors.

Current imbalance in parallel LEDs: When two or more LEDs are connected in parallel to the same supply, small unit-to-unit differences in forward voltage $V_f$ make the current pile into the device with the lowest $V_f$, which then burns out. The standard remedy is a small current-limiting resistor in series with each LED so that the $V_f$ spread is absorbed as a voltage drop – a typical design idea rooted in KVL/KCL.

Power distribution and parallel loads: In a household AC distribution board or a data centre's DC supply, many loads hang in parallel and each draws current according to KCL. Over long runs where the wiring resistance $R_w$ cannot be neglected, the voltage drops at each branch, so heavier copper must be chosen. Seen through KVL, it is the task of balancing the voltage budget around each loop and checking that the design voltage actually arrives at the far end.

The Wheatstone bridge: A bridge of four resistors with a galvanometer across the middle is the most elegant application of KVL/KCL. Because no current flows through the meter when the bridge is balanced, $R_1/R_2=R_3/R_4$, it is used for high-precision measurement of unknown resistances and for the differential detection of strain gauges and temperature sensors.

Common Misconceptions and Pitfalls

The most common is the mistaken belief that "the current splits equally because the branches are in parallel". In parallel branches it is the voltage that is shared; the current divides in inverse proportion to resistance, so it is only equal when $R_2=R_3$. With the defaults R_2=200, R_3=300 the current ratio is 3:2, with less on the R_3 side. The safe habit is to check the bar chart in the simulator each time rather than trust intuition.

Next, confusing the equivalent resistance of the parallel section with a simple sum. In series the total is the simple sum R_total = R_1 + R_2 + …, but in parallel it is the sum of reciprocals, $1/R_{par}=1/R_2+1/R_3$. The key check is therefore that R_par is always smaller than the smallest individual resistor. The relation R_2=200, R_3=300 → R_par=120 is also useful for catching design errors early.

Finally, writing KVL while ignoring long wiring resistance. Real circuits have resistance in leads, cables and connectors, and unless these are included as series elements you cannot explain voltage drops such as "the supply says 12 V but only 11 V reaches the load". For EV battery wiring, DC supply in data centres and long DC sensor feeds, KVL/KCL modelling that includes the wiring resistance is essential.

Frequently Asked Questions

It depends on the circuit structure. When you can proceed "equivalent resistance → total current", as in a series-parallel circuit, apply KVL first to get the total current, then return to the parallel section and use KCL for the branch currents. For complex circuits with several loops, mesh analysis (simultaneous KVL) or nodal analysis (simultaneous KCL) solves all currents and voltages at once. This simulator is the typical first case: KVL → KCL fixes every variable.
In a parallel connection the voltage $V_{par}$ across every branch is the same. Ohm's law gives each branch current $I_k=V_{par}/R_k$, and the total is $I=V_{par}\sum 1/R_k$. Replacing the branches by one equivalent resistor $R_{par}$ with $I=V_{par}/R_{par}$ yields $1/R_{par}=\sum 1/R_k$. The two-resistor special case is the "product over sum" form $R_{par}=R_2 R_3/(R_2+R_3)$; for three or more use the general sum of reciprocals.
Yes. Resistances are replaced by complex impedances $Z=R+jX$, and voltages and currents are treated as phasors (complex numbers) carrying phase. KVL, $\sum V_k=0$, and KCL, $\sum I_k=0$, remain valid as complex equations. RLC circuits with capacitors and inductors, resonant circuits and filter design are all handled in the same framework. This simulator is a purely resistive DC model, so no phase appears.
KVL and KCL themselves always hold regardless of whether the elements are linear, because they are conservation laws derived from charge and energy conservation. However, since the voltage–current characteristic $V=f(I)$ of a non-linear element is not a straight line, the loop and node equations become non-linear and cannot be solved analytically; numerical methods such as Newton–Raphson (the inside of a SPICE simulator) are needed. This simulator contains only linear resistors, so it solves in closed form.

How to Use

  1. Choose the circuit topology (series / parallel / series-parallel) and a preset, then set the source voltage slider between 1 and 100 V to fix the driving voltage
  2. Adjust the series resistor R1 between 1 and 1000 Ω to set the overall current limit
  3. Set the parallel resistors R2 and R3 between 1 and 1000 Ω each; the KCL check runs in real time and the total current I_total, the branch currents I_2 and I_3 and the parallel-section voltage V_par are computed automatically

Worked Example

With a 12 V source, series resistor R1=100 Ω and parallel resistors R2=200 Ω and R3=300 Ω: the parallel equivalent is 120 Ω and the parallel-section voltage V_par=120÷(100+120)×12=6.55 V. The total current is I_total=12÷220=54.5 mA and the branch currents are I_2=6.55÷200=32.7 mA and I_3=6.55÷300=21.8 mA. KCL check: 32.7+21.8≈54.5 mA; KVL check: the R1 drop 5.45 V + V_par 6.55 V = 12.0 V ≈ 12 V closes the loop.

Practical Notes

  1. On a real board, differences in trace length between parallel resistors create parasitic inductance, so simulated and measured values diverge at high frequency; restrict the comparison to low-frequency DC analysis
  2. Account for the temperature coefficient of the resistors (e.g. ±50–100 ppm/°C for metal-film types) and add a correction from the 25 °C reference value in high-precision circuits
  3. When the total current through the series resistor R1 is large, keep its dissipation below the rated power (e.g. 250 mW at most for a 1/4 W resistor)