Create your own
Lesson illustration

Solving Circuits with Kirchhoff’s Laws

Welcome back. In the previous lesson, you established the sign conventions that make circuit analysis reliable: voltage polarity is a chosen reference, current arrows are chosen references, and a negative result tells you the physical direction is opposite to the chosen arrow. You also used Ohm’s law and the passive sign convention to calculate power.

Now we add the two conservation laws that allow us to solve interconnected circuits:

  • Kirchhoff’s Current Law (KCL) governs what happens at nodes.
  • Kirchhoff’s Voltage Law (KVL) governs what happens around closed paths.

These laws are the foundation of node-voltage analysis, mesh analysis, DC bias calculations, and eventually MOS amplifier design. A MOSFET bias network may look more complicated than a resistor circuit, but its operating point is still constrained by KCL and KVL.


Two laws, one physical idea: conservation

A node is every point connected by uninterrupted ideal wire. Even if a wire bends around the page or has several component terminals attached, it is one node and has one voltage.

Kirchhoff’s Current Law

KCL states that the algebraic sum of currents at a node is zero:

Equivalently:

KCL follows from conservation of charge. In ordinary lumped circuits, significant charge cannot continuously pile up at a node. If enters a node, then must leave it through one or more other branches.

A practical convention for nodal analysis is:

Define every branch current as leaving the node being analyzed, then set their sum equal to zero.

For a resistor between nodes and , if you define current from to , Ohm’s law becomes

This expression is especially useful because it works even when you do not yet know which node is at the higher voltage. If the calculated current is negative, actual current flows from to .

Kirchhoff’s Voltage Law

KVL states that the algebraic sum of voltage changes around any closed path is zero:

It is a statement that if you start at one point in a circuit, travel around a closed loop, and return to the same point, your final voltage must equal your starting voltage.

When writing a KVL equation, pick a loop direction and keep it. As you traverse each element:

Element crossingSigned voltage change
Voltage source from to
Voltage source from to
Resistor in the assumed current direction
Resistor opposite to the assumed current direction

The key is not guessing the actual current direction perfectly. Choose directions, write equations consistently, and let the algebra decide.

Kirchhoff's Law, Junction & Loop Rule, Ohm's Law - KCl & KVl Circuit Analysis - Physics

Watch “Kirchhoff's Law, Junction & Loop Rule, Ohm's Law” from The Organic Chemistry Tutor. It gives a visual introduction to KCL, KVL, and the resistor/source sign rules before solving a two-loop circuit.

Watch the rules and signs first, paying particular attention to why a resistor is a voltage drop when you traverse in the assumed current direction. Then watch the worked circuit, which combines one KCL equation with two KVL equations. Notice that the final node-voltage check is not a separate trick: it is another expression of the same laws.


One unknown node: KCL becomes a voltage equation

The node-voltage method uses node voltages as the unknowns. This is generally the most useful method for IC analysis because transistor circuits naturally contain many current branches meeting at a few important nodes.

First choose one node as the reference node, or ground:

Every other node voltage is measured relative to that reference. Ground does not mean “zero physical energy” or necessarily earth ground; it is simply the chosen zero of voltage.

Consider a circuit with:

  • a node connected to an unknown node through ,
  • a resistor from to ground,
  • a resistor from to ground.

Write all resistor currents as leaving :

Multiplying through by gives

Now calculate the branch currents:

The KCL check is immediate:

The important pattern is that each resistor current is simply the voltage at one end minus the voltage at the other end, divided by resistance. This same pattern will later become the starting point for MOS small-signal node equations.

Circuit Analysis using the Node and Mesh Methods

Read the MIT OpenCourseWare notes “Circuit Analysis using the Node and Mesh Methods.” They present systematic node and mesh procedures that scale beyond the small examples in this lesson.

In the PDF subsection “The Node Method” on approximately pp. 1–5, read the nodal procedure. Focus on the role of the reference node and on expressing each branch current using node-voltage differences. Then move to “The Mesh Method” on approximately pp. 10–13 and read the mesh procedure. For now, aim to understand why a branch shared by two meshes carries the difference of their mesh currents.


Two unknown nodes: write one KCL equation per node

Now consider a circuit with two unknown node voltages, and :

  • a known node connects to through ;
  • connects to ground through ;
  • connects to through ;
  • connects to ground through .

Use the “currents leaving” convention at node :

Multiplying by ,

At node ,

Multiplying by ,

The second equation gives

Substitute into the first:

The resistor joining the two unknown nodes carries

Because this result is positive, the assumed direction from to was correct.

A node-analysis workflow

For basic resistor circuits, use this procedure:

  1. Identify all distinct nodes.
  2. Choose a reference node and set it to .
  3. Label every unknown node voltage.
  4. Use any voltage source connected to ground to identify a known node voltage immediately.
  5. At each unknown node, write KCL.
  6. Express each resistor current as a node-voltage difference divided by resistance.
  7. Solve the simultaneous equations.
  8. Calculate individual branch currents and verify KCL.

A useful structural check: in an equation for , the coefficient multiplying comes from all conductances connected to node . Terms involving neighboring node voltages usually have negative signs when all currents are written as leaving the node.


Loop analysis with KCL and KVL

Some circuits are more naturally solved by defining branch currents and writing loop equations. The diagram below shows a circuit with two loops and a central junction .

A two-source resistive circuit. At junction \(b\), the indicated currents satisfy KCL; the left loop \(abefa\) and right loop \(ebcde\) provide independent KVL equations.

At node , the labelled currents satisfy

This is KCL: the current arriving from the left equals the algebraic sum of the currents leaving through the downward and right-hand branches.

Now write KVL around the left loop , traversed clockwise. The source is crossed from its negative to its positive terminal, so it is a rise. Both resistors are crossed in their assumed current directions, so they are drops:

For the right loop , traversed clockwise:

  • crossing upward is opposite to , giving ;
  • crossing and in the direction of gives drops;
  • crossing the source from to gives a drop.

Therefore,

or

We now have three equations:

Substituting the KCL relation into the left-loop equation gives

Solving with the right-loop equation yields

The negative result for is meaningful. It says that the actual current in the right branch is opposite to the arrow drawn in the diagram: it flows upward through and leftward through .

Nothing has “failed” because the direction assumption was opposite to reality. In fact, retaining the original reference arrow and reporting is often the clearest and most rigorous answer.

Both laws check:

For the left loop,

For the right loop,


Choosing between node and loop methods

Both methods solve the same physical circuit, and both ultimately use KCL, KVL, and element laws. The choice is about efficiency.

Circuit featureUsually convenient method
Several current sources or many branches meeting at nodesNode-voltage analysis
Several voltage sources in simple planar loopsLoop or mesh analysis
Circuit with few unknown node voltagesNode-voltage analysis
Circuit with few independent meshesMesh analysis

For integrated circuits, node-voltage analysis becomes particularly important. A common-source amplifier, differential pair, or current mirror often contains several transistor currents meeting at a high-impedance output node. KCL at that node is central to finding gain, output resistance, and transient behavior.

One important distinction:

  • A loop is any closed path.
  • A mesh is a loop that contains no other loops inside it.

In a planar two-window circuit, the two interior meshes provide independent equations. Writing an equation around the large outside loop usually adds no new information; it can be formed by combining the two interior-loop equations.


Debugging and verification

Circuit analysis errors are often bookkeeping errors rather than algebra errors. Use these checks systematically.

Check node equations

At every node, confirm that the signed branch currents sum to zero:

A negative branch current means that current enters the node despite being defined as leaving.

Check loop equations

Around each independent loop, confirm that all voltage rises and drops sum to zero:

If your computed currents are correct but a loop does not balance, a source polarity or resistor-drop sign is probably wrong.

Check resistor behavior

For a resistor between nodes and ,

If , the current calculated in the -to- direction should be positive. Also, a positive physical resistor must dissipate nonnegative power:

These checks will remain valuable when the resistors are replaced by MOSFET small-signal resistances and controlled current sources.


Key takeaways

KCL expresses charge conservation at a node:

KVL expresses voltage consistency around a closed path:

For node-voltage analysis, choose a ground node, label unknown node voltages, write each resistor current as a voltage difference divided by resistance, and apply KCL once for each unknown node.

For loop analysis, assign current references, write KCL at junctions as needed, then write KVL around independent loops. A negative current result does not indicate an error; it tells you that the actual current direction is opposite to your chosen reference arrow.

Next, you will use these same laws to derive Thévenin and Norton equivalents, which let you replace a complicated linear network with a simple source-and-resistance model at a selected port.

Can't find a good explanation? Sign up and we'll make it for you

Sign up