Sub topic 12
Kirchhoff's Current Law
Prerequisites and scope
This chapter assumes you can already do the following:
- Define current as the rate of charge flow, I = Q/t.
- Assign a reference direction to a current and read the sign of the result.
- Recognize a closed circuit and apply Ohm's law, V = IR.
It covers Kirchhoff's current law (KCL): what it says, why it holds, how to apply it with consistent signs, and where people usually go wrong. Kirchhoff's voltage law is the next chapter.
What KCL says
Kirchhoff's current law states that the algebraic sum of the currents at any node is zero. A node is a point where two or more circuit elements connect. Every wire joined to that point without a circuit element in between counts as part of the same node.
In symbols:
ΣI = 0
An equivalent form is often easier to apply. The total current entering a node equals the total current leaving it:
ΣIin = ΣIout
KCL says nothing about the size of any one current. It only says that the currents at a node must balance.
Why it holds: conservation of charge
KCL is conservation of charge written for a single point. In ordinary circuits a node cannot store a meaningful amount of charge. If more charge arrived each second than left, charge would pile up at the node. The pile-up would produce a growing voltage, and that voltage would push the extra charge out until the flows balance again.
Because current is charge per unit time, balanced charge flow means balanced current. If 5 C arrives at a node each second, then 5 C must leave each second.
The law also applies to a larger region. Draw a closed boundary around any part of a circuit, including several nodes and the elements between them. The currents crossing that boundary must still sum to zero. This is called a supernode or generalized node. It lets you find a current without solving everything inside the region.
Applying KCL step by step
- Label every node, or mark the one you are analyzing.
- Assign a reference direction to each branch current. A guess is fine, because a wrong guess only produces a negative answer.
- Choose a sign rule and keep it for the whole node. A common choice is that currents entering the node are positive and currents leaving are negative.
- Write ΣI = 0 with those signs.
- Solve for the unknown. Interpret the sign of the result against your reference direction.
The diagram below shows a node with one incoming and two outgoing branches.
Entering currents are positive and leaving currents are negative:
5 − 2 − IC = 0, so IC = 3 A
The same calculation in Python:
# Currents at one node, in amperes. Positive means current flowing into the node.
i_in_a = 5.0
i_out_b = 2.0
# Kirchhoff's current law: the sum of currents into a node is zero.
# Unknown current i_out_c flows out of the node, so it enters with a negative sign.
# i_in_a - i_out_b - i_out_c = 0
i_out_c = i_in_a - i_out_b
print(f"Current leaving through branch C: {i_out_c:.1f} A")The output is Current leaving through branch C: 3.0 A.
Reading negative results
Suppose you guessed that I_C leaves the node, but the real flow is into the node. Your equation still works. It returns a negative number. A result of −3 A means 3 A flows opposite to your reference arrow. You do not redraw the circuit or redo the work. You report the value with its sign, or flip the arrow and change the sign.
This is the same idea as voltage polarity and the passive sign convention from earlier chapters. The arrow is a reference, and the sign tells you how reality compares with it.
Worked example: KCL with Ohm's law
KCL often combines with Ohm's law. Consider a 12 V source connected to a node that splits into two parallel resistors, R1 = 48 Ω and R2 = 24 Ω. Both resistors connect directly across the 12 V source.
The resistor currents follow from Ohm's law:
- I1 = 12 / 48 = 0.25 A
- I2 = 12 / 24 = 0.50 A
At the node where the source current splits, KCL gives:
I_source = I1 + I2 = 0.75 A
You can confirm this in code:
voltage_v = 12.0
r1_ohm = 48.0
r2_ohm = 24.0
i1_a = voltage_v / r1_ohm
i2_a = voltage_v / r2_ohm
# KCL at the splitting node: source current = sum of branch currents
i_source_a = i1_a + i2_a
# Power check: source power should equal the sum of resistor powers
p_source_w = voltage_v * i_source_a
p_resistors_w = voltage_v * i1_a + voltage_v * i2_a
print(f"I1 = {i1_a:.3f} A, I2 = {i2_a:.3f} A")
print(f"Source current = {i_source_a:.3f} A")
print(f"Source power = {p_source_w:.2f} W, resistor power = {p_resistors_w:.2f} W")The power check is a useful habit. Charge conservation (KCL) and energy conservation should both hold. Here both powers come to 9.00 W.
Several nodes
A circuit usually has more than one node, and KCL applies at each. For a circuit with N nodes, only N − 1 of the KCL equations are independent. The last one is implied by the others, because the currents in a closed network already balance overall.
The next diagram shows a small circuit with two nodes, joined by three branches.
At node 1: Is − I1 − I2 = 0. At node 2: I1 + I2 − Is = 0. The second equation is the first with all its signs flipped, so it adds no new information. This is why you may skip one node, usually the reference node, when writing equations.
Common errors
| Error | What goes wrong | Fix |
|---|---|---|
| Mixing sign rules at one node | Some currents are counted "in = positive" and others "out = positive", so the equation is wrong | Pick one rule per node and apply it to every branch |
| Treating the guessed direction as the true direction | A negative answer is read as an error | Remember that the sign is relative to your arrow |
| Applying KCL to a single wire as if it were a node with a source | A source or element sits between two points, so they are different nodes | Check that no element lies between the points you merge |
| Forgetting a branch | The sum does not balance | Count every wire touching the node, including ones to ground |
| Mixing units | A current in mA is added to one in A | Convert everything to amperes first |
Edge cases
Wires and ideal conductors
An ideal wire has zero resistance and holds no charge. All points along it are one node. A crossing of two wires on a diagram is not a node unless the drawing marks a junction, usually with a dot.
Capacitors and stored charge
An ideal capacitor stores charge on its plates. Even so, KCL holds for a node that touches one plate, because the stored charge belongs to the plate and not to the node's connecting point. The current into the capacitor is a branch current like any other. In a more careful treatment, a changing electric field between the plates carries a displacement current. KCL still holds when you count it. You will only need this once you meet capacitors and high-frequency circuits.
Very fast signals
KCL assumes that charge does not accumulate at nodes and that the circuit is small compared with the wavelength of the signals. At radio and microwave frequencies, and in long transmission lines, current can differ at two ends of a wire at the same instant. Circuit theory then needs transmission-line models. For the DC and low-frequency circuits in this tutorial, KCL is exact for practical purposes.
Supernode example
Take a boundary around a resistor pair. If 4 A enters the boundary through one wire and 1.5 A leaves through a second wire, a third wire must carry 2.5 A out. You can find this without knowing how the current divides inside. Using the boundary this way reduces the number of unknowns.
Checking your work
- Count: the sum of all signed currents at a node must be zero.
- Compare totals: the sum of entering magnitudes must equal the sum of leaving magnitudes.
- Check plausibility: a branch carrying more current than the source supplies means a sign or arithmetic mistake, unless other currents also enter the node.
- Test power balance as in the worked example.
Summary
- KCL: the algebraic sum of currents at a node is zero. It follows from conservation of charge.
- Choose one sign rule per node. A negative result means the true direction is opposite to your arrow.
- A closed boundary around part of a circuit also obeys KCL.
- A circuit with N nodes yields N − 1 independent KCL equations.
- The law fails to describe fast signals in physically large circuits, so ordinary DC and low-frequency analysis is its main territory.
Exercise
A node has four wires attached. Currents of 3 A and 1.2 A flow into the node. A current of 2 A flows out through the third wire. What is the current in the fourth wire, and does it flow in or out?
Show answer
Take entering currents as positive: 3 + 1.2 − 2 + I4 = 0, where I4 is the current entering through the fourth wire. This gives I_4 = −2.2 A. The negative sign means 2.2 A flows out of the node through the fourth wire. Check: entering total 4.2 A equals leaving total 2 + 2.2 = 4.2 A.
Exercise
A 9 V source feeds three parallel resistors of 18 Ω, 36 Ω and 90 Ω. Use Ohm's law and KCL to find the total current from the source, and give the answer in milliamperes.
Show answer
The branch currents are 9/18 = 0.5 A, 9/36 = 0.25 A and 9/90 = 0.1 A. By KCL at the node where the source current splits, the total is 0.5 + 0.25 + 0.1 = 0.85 A, which is 850 mA.
Exercise
Why are only N − 1 of the KCL equations independent in a circuit with N nodes?
Show answer
Every branch current leaves one node and enters another, so it appears once with a positive sign and once with a negative sign across the full set of node equations. Adding all N equations makes every term cancel and gives 0 = 0. Any one equation can therefore be derived from the other N − 1.