Skip to main content

Kirchhoff's Laws

Learning Objectives

  • State Kirchhoff's Current Law (KCL) and Kirchhoff's Voltage Law (KVL) and the physical conservation principle behind each.
  • Apply KCL at a node to find an unknown branch current.
  • Apply KVL around a loop to find current or voltage in a series circuit.
  • Set up and solve mesh-current equations for a two-loop circuit.
  • Explain when to prefer mesh analysis versus nodal analysis.
  • Avoid common sign-convention mistakes when combining KCL and KVL.

Quick Answer

Kirchhoff's Laws are two rules, formulated by Gustav Kirchhoff in 1845, that let you analyze any circuit no matter how complex. KCL (Current Law) says the current flowing into a node must equal the current flowing out — a direct consequence of charge conservation. KVL (Voltage Law) says the voltages around any closed loop must sum to zero — a consequence of energy conservation. Together they're the engine behind mesh analysis and nodal analysis, the two systematic methods used to solve circuits that are too complicated for simple series/parallel reduction. Every circuit simulator (like SPICE) is, at its core, solving KCL and KVL equations.

Kirchhoff's Current Law (KCL)

Statement: At any node (junction), the sum of currents entering equals the sum of currents leaving.

Physical basis: charge cannot pile up at a point in a steady-state circuit — whatever charge flows in must flow back out.

Worked Example 1: Two currents flow into a node: I1 = 3A and I2 = 2A. A single current I3 leaves. Find I3.

I1 + I2 = I3
3 + 2 = I3
I3 = 5 A

Applying KCL step by step:

  1. Pick a node.
  2. Label currents entering as positive, leaving as negative (or vice versa — just be consistent).
  3. Set the algebraic sum to zero and solve for the unknown.

Kirchhoff's Voltage Law (KVL)

Statement: The algebraic sum of all voltage rises and drops around any closed loop equals zero.

Physical basis: energy conservation — a charge that travels around a loop and returns to its starting point has done zero net work, so voltage gained from sources must exactly equal voltage lost across components.

Sign convention:

  1. Choose a direction to walk around the loop (clockwise or counterclockwise — either works).
  2. Crossing a battery from − to + is a voltage rise: +V.
  3. Crossing a resistor in the direction of current flow is a voltage drop: −IR.

Worked Example 2: A 9V battery drives current through R1 = 2Ω and R2 = 1Ω in series. Find the current.

KVL around the loop: +9 − I(2) − I(1) = 0
9 = 3I
I = 3 A

Combining KCL and KVL: Mesh Analysis

Mesh analysis writes one KVL equation per independent loop (mesh) and solves the resulting system for the unknown mesh currents.

Steps:

  1. Identify every independent mesh in the circuit.
  2. Assign a clockwise mesh current to each (I1, I2, ...).
  3. Write KVL for each mesh, treating shared resistors as carrying the difference of the two adjacent mesh currents.
  4. Solve the simultaneous equations.

Worked Example 3: A circuit has a 12V source driving mesh 1 through R1 = 4Ω, a shared resistor R3 = 6Ω between meshes, and mesh 2 contains R2 = 2Ω plus a 6V source.

Mesh 1: 12 − 4·I1 − 6·(I1 − I2) = 0 → 12 − 10I1 + 6I2 = 0
Mesh 2: −6 − 2·I2 − 6·(I2 − I1) = 0 → −6 + 6I1 − 8I2 = 0

Solving simultaneously:
From Mesh 1: I1 = (12 + 6I2) / 10 = 1.2 + 0.6I2
Substitute into Mesh 2: −6 + 6(1.2 + 0.6I2) − 8I2 = 0
−6 + 7.2 + 3.6I2 − 8I2 = 0
1.2 − 4.4I2 = 0
I2 = 0.273 A
I1 = 1.2 + 0.6(0.273) = 1.364 A

The current through the shared resistor R3 is I1 − I2 = 1.091A — this is the value you'd actually measure with an ammeter placed in that branch.

Nodal Analysis (Using KCL)

Nodal analysis writes one KCL equation per non-reference node to solve for unknown node voltages.

Steps:

  1. Pick a reference node ("ground", 0V) — usually the node with the most connections.
  2. For each other node, write KCL: sum of currents leaving the node (expressed as voltage differences divided by resistance) equals zero.
  3. Solve the simultaneous equations for node voltages.
  4. Once voltages are known, use Ohm's Law to find any branch current.

Mesh vs. Nodal Analysis

MethodBased onBest forUnknowns solved for
Mesh analysisKVLCircuits with few loops and mostly voltage sourcesMesh currents
Nodal analysisKCLCircuits with few nodes and mostly current sourcesNode voltages

Key Terms

TermDefinition
NodeA point where two or more circuit elements connect
Loop / MeshA closed path in a circuit; a mesh is a loop that contains no other loop inside it
KCLSum of currents into a node equals sum of currents out (charge conservation)
KVLSum of voltage rises and drops around a closed loop equals zero (energy conservation)
Mesh currentAn assumed circulating current used in mesh analysis, not always the actual physical branch current
Reference node (ground)The node assigned 0V, against which all other node voltages are measured
Branch currentThe actual current flowing through a specific circuit element

Common Mistakes

  1. Misconception: "KCL and KVL are alternative methods — you only need one." Why it's wrong: KCL and KVL describe two different physical conservation laws (charge and energy). Most non-trivial circuits need both, either explicitly or implicitly within mesh/nodal analysis. Correct: Use KVL-based mesh analysis when voltage sources dominate and loops are few; use KCL-based nodal analysis when current sources dominate and nodes are few. Both are always true simultaneously in any real circuit.

  2. Misconception: "A mesh current equals the actual current in every resistor of that mesh." Why it's wrong: For a resistor shared between two meshes, the actual current is the difference between the two mesh currents, not either one alone. Correct: Only resistors that belong to a single mesh carry that mesh's current directly; shared resistors carry (I1 − I2).

  3. Misconception: "Sign convention doesn't matter as long as you're careful with the numbers." Why it's wrong: Mixing "entering = positive" in one equation with "leaving = positive" in another produces an internally inconsistent system that gives wrong answers even if the arithmetic is correct. Correct: Fix one sign convention for the whole problem (e.g., entering currents positive) and apply it identically to every node and loop.

Comparison and Connections

ConceptKirchhoff's Current LawKirchhoff's Voltage LawOhm's Law
Conservation principleChargeEnergyN/A (defines R)
Applies atA nodeA closed loopA single component
Typical useNodal analysisMesh analysisFinding V, I, or R for one element
Equation formΣI = 0ΣV = 0V = IR

Practice Questions

Recall 1: State KCL and the conservation law it comes from. Answer guidance: Sum of currents into a node equals sum of currents out; based on conservation of charge.

Recall 2: State KVL and the conservation law it comes from. Answer guidance: Sum of voltage rises and drops around any closed loop equals zero; based on conservation of energy.

Understanding 1: Why must the mesh current through a shared resistor be written as the difference of two mesh currents? Answer guidance: Both mesh currents physically flow through that resistor, in opposite assumed directions, so the net (real) current is their difference.

Understanding 2: Explain why KCL applies even in a circuit with only one current source and multiple resistors. Answer guidance: KCL is a universal statement about charge conservation at any node — it doesn't depend on the type or number of sources in the circuit, only on the wiring topology.

Application 1: At a node, three currents enter: 2A, 1.5A, and 0.5A, and two leave: I_x and 1A. Find I_x. Answer guidance: 2 + 1.5 + 0.5 = I_x + 1 → 4 = I_x + 1 → I_x = 3A.

Application 2: A single loop has a 20V source and two resistors, 5Ω and 15Ω, in series. Find the current and the voltage drop across each resistor. Answer guidance: I = 20/(5+15) = 1A; V_5Ω = 1×5 = 5V; V_15Ω = 1×15 = 15V (5+15=20V, checks out with KVL).

Analysis 1: A two-mesh circuit gives mesh currents I1 = 2A and I2 = 0.5A, both assumed clockwise, sharing one resistor. What is the actual current through the shared resistor, and in which mesh's assumed direction does it flow? Answer guidance: I1 − I2 = 1.5A, flowing in the direction assumed by mesh 1 (since I1 > I2).

Analysis 2: Compare mesh analysis and nodal analysis for a circuit with 2 nodes and 4 meshes. Which method would you choose, and why? Answer guidance: Nodal analysis, because it requires solving only (nodes − 1) = 1 equation versus 4 mesh equations — fewer unknowns means less algebra.

FAQ

Q1: Do KCL and KVL work for AC circuits too? Yes. Both laws hold for AC circuits as well, except voltages and currents are represented as phasors (complex numbers) rather than plain real numbers, to account for phase differences.

Q2: What's the difference between a "mesh" and a "loop"? Every mesh is a loop, but not every loop is a mesh. A mesh is the smallest possible loop — it doesn't enclose any other loop. A larger loop that goes around the outside of two meshes combined is a loop but not a mesh.

Q3: Why do we need a reference node (ground) for nodal analysis? Voltage is always a difference between two points — there's no absolute "voltage" of a single point. Ground gives every other node voltage a common reference point (defined as 0V) so equations become solvable.

Q4: Can KCL be violated in a real circuit? No — it's a direct consequence of charge conservation, which has never been observed to fail. If your equations seem to violate KCL, you've made an error in labeling currents or nodes, not found an exception to the law.

Q5: Which should I learn first, mesh or nodal analysis? Most courses teach mesh analysis first because it maps directly onto the loops you'd draw by hand, and it pairs naturally with the KVL example above. Nodal analysis becomes more valuable once circuits have more nodes than loops, which is common in circuits with parallel branches and current sources.

Quick Revision

  • KCL: sum of currents into a node = sum of currents out (charge conservation).
  • KVL: sum of voltage rises and drops around a closed loop = 0 (energy conservation).
  • KVL sign convention: rises (− to + through a source) are positive; drops (through resistors, in current direction) are negative.
  • Mesh analysis: write one KVL equation per independent loop; unknowns are mesh currents.
  • Nodal analysis: write one KCL equation per non-reference node; unknowns are node voltages.
  • Shared resistor between two meshes carries current (I1 − I2), not either mesh current alone.
  • Choose mesh analysis for few loops/voltage sources; nodal analysis for few nodes/current sources.
  • A reference (ground) node is required for nodal analysis — its voltage is defined as 0V.
  • Both laws apply to AC circuits using phasor (complex) voltages and currents.
  • KCL and KVL together fully determine any linear circuit's currents and voltages.

Prerequisites: Ohm's Law, basic series and parallel circuit concepts.

Related Topics: Series and Parallel Circuits, Thevenin's and Norton's Theorems, Network Theorems.

Next Topics: Series and Parallel Circuits, Thevenin's and Norton's Theorems.