Kirchhoff's Laws

KCL and KVL analysis.

Darshan N
Updated: 19 March 2026
4 min read

Kirchhoff's laws are the two foundational rules that govern the behavior of electric circuits — every circuit analysis technique, from mesh analysis to Thevenin's theorem, is ultimately built on top of these laws. They follow directly from two fundamental physical conservation principles: conservation of charge and conservation of energy. For any engineering student or GATE aspirant, these laws are the absolute starting point of circuit analysis and must be understood at both the intuitive and mathematical level.

Kirchhoff's Current Law (KCL) and Voltage Law (KVL)KCL — Node AnalysisNI1=4AI2=2AI3=3AI4=5ASum in = Sum out4+3 = 2+5 → 7A = 7AΣI_in − ΣI_out = 0KVL — Loop Analysis+−12V4Ω2Ω6Ωi→KVL: −12+4i+6i+2i=012i = 12 → i = 1AΣV around closed loop = 0
Figure 1: KCL at a node (current conservation) and KVL around a closed loop (energy conservation)

Core Concept Explanation

Kirchhoff's Current Law (KCL) states that the algebraic sum of all currents entering a node equals zero, or equivalently, the sum of currents entering a node equals the sum of currents leaving it. The physical basis is conservation of electric charge — charge cannot accumulate at a node in a steady-state DC circuit, so whatever charge enters per unit time must leave per unit time. Mathematically, KCL is written as: ΣI = 0 at any node.

Kirchhoff's Voltage Law (KVL) states that the algebraic sum of all voltages around any closed loop in a circuit equals zero. The physical basis is conservation of energy — if you start at a point, travel around a closed path, and return to the starting point, the net energy gained or lost must be zero. In circuit terms, every voltage rise (source) must be balanced by voltage drops (resistors, capacitors, inductors). Mathematically, KVL is written as: ΣV = 0 around any closed loop.

A critical point about sign conventions: for KVL, a consistent sign convention must be chosen and applied throughout. The most common approach is the passive sign convention — when traversing a resistor in the direction of assumed current, the voltage change is a drop (negative); when traversing against the current direction, it is a rise (positive). For voltage sources, traveling from negative to positive terminal is a rise.

Mathematical Expression

For a node with n branches carrying currents I1, I2, ..., In (with sign convention: positive for entering, negative for leaving):

KCL: I1 + I2 + ... + In = 0 (algebraic sum at any node = 0)

For a closed loop with voltage sources V1, V2, ... and resistors R1, R2, ... carrying current I:

KVL: ΣVsource - ΣI x R = 0 (sum of EMFs = sum of voltage drops)

In a circuit with N nodes, KCL provides (N - 1) independent equations. In a circuit with B branches and N nodes, KVL provides (B - N + 1) independent loop equations. Together, these B equations are exactly sufficient to solve for all B unknown branch currents, which is why Kirchhoff's laws form a complete and self-consistent system for circuit analysis.

Practical Understanding

In practice, KCL and KVL are applied systematically through nodal analysis (based on KCL) and mesh analysis (based on KVL). Nodal analysis assigns a voltage variable to each independent node and writes KCL equations in terms of those node voltages, typically using conductances (G = 1/R). Mesh analysis assigns a current variable to each independent loop and writes KVL equations in terms of those mesh currents.

Kirchhoff's laws generalize beyond resistive circuits. For AC circuits with inductors and capacitors, the same laws apply with impedances replacing resistances. For transient analysis, KVL in an RL circuit gives a first-order differential equation whose solution describes exponential current growth or decay. KCL in an RC circuit gives the charging or discharging equation for the capacitor voltage.

Solved Numerical Example

A series circuit contains a 24 V voltage source, a 4 ohm resistor R1, and an 8 ohm resistor R2 connected in a single loop. Apply KVL to find the loop current and then verify using KCL at any node.

Example
Given:
Vs = 24 V
R1 = 4 Ω
R2 = 8 Ω
Single loop circuit (series connection)

Why this formula applies:
KVL: algebraic sum of all voltages around the loop = 0
Sign convention: voltage rise at source (+Vs), voltage drops at resistors (−IR)

Formula:
+Vs − I×R1 − I×R2 = 0

Substitution:
+24 − I×4 − I×8 = 0
24 = 12I

Calculation:
I = 24/12 = 2 A

Final Answer:
Loop current I = 2 A
Voltage across R1 = 2×4 = 8 V
Voltage across R2 = 2×8 = 16 V
Verification: 8 + 16 = 24 V (matches source — KVL satisfied)
KCL check: same 2 A flows into and out of every node (series circuit)
Exam Tip: In GATE problems involving supernode or supermesh, KCL and KVL still apply — a supernode is formed by a voltage source connecting two non-reference nodes. Write KCL for the combined supernode (excluding the source branch) and add the constraint equation from the voltage source. This two-equation approach solves every supernode problem cleanly.

Mechanism: Applying KCL and KVL Systematically

Multi-loop Circuit — KCL and KVL Application+−V112V3Ω6Ω4Ω+−V26VI1 →I2 →I3↓Loop 1Loop 2KCL at node (top of 4Ω): I1 = I2 + I3KVL Loop 1: −12 + 3I1 + 4I3 = 0 | KVL Loop 2: −4I3 + 6I2 + 6 = 0
Figure 2: Multi-loop circuit demonstrating simultaneous application of KCL and KVL to set up system of equations
  • KCL is applied at each node except the reference node — this gives (N-1) independent equations for a circuit with N nodes.
  • KVL is applied to each independent loop (mesh) — a circuit with B branches and N nodes has (B - N + 1) independent loops.
  • Assign current direction consistently before writing equations — if the answer is negative, the actual direction is opposite to the assumed direction.
  • For circuits with a voltage source between two non-reference nodes, form a supernode and apply KCL to the combined supernode boundary.
  • For circuits with a current source shared between two meshes, form a supermesh by excluding that branch and apply KVL to the combined loop.
  • KCL and KVL together always provide exactly enough independent equations to solve for all unknown branch currents and node voltages.

Quick Revision

  • KCL: Sum of currents at any node = 0 (conservation of charge, no current accumulates at a node).
  • KVL: Sum of voltages around any closed loop = 0 (conservation of energy, net work done per unit charge = 0).
  • For N nodes: KCL gives (N-1) independent equations; for B branches: KVL gives (B-N+1) independent equations.
  • Supernode: voltage source between two non-reference nodes — write KCL for the supernode and add the source constraint equation.
  • Supermesh: current source shared by two meshes — write KVL excluding the source branch and add the source constraint.
  • Common trap in GATE: wrong sign for voltage across a source during KVL traversal — always check direction of traversal versus source polarity.
  • KCL and KVL apply to instantaneous values in time-varying circuits and to phasor values in AC steady-state analysis.

Kirchhoff's Laws Quiz

Apply fundamental circuit laws.

Question 1 of 3

Q1.Kirchhoff's Current Law (KCL) is based on the conservation of: