# Kirchhoff's Current Law

Kirchhoff’s Laws for current and voltage are the heart and soul of circuit analysis. With Kirchhoff’s Laws plus the basic $i$-$v$ equations for individual components (resistor, capacitor, inductor), we have the tool set we need to analyze circuits.

This article covers Kirchhoff’s Current Law, also known as KCL. The companion of KCL is Kirchhoff’s Voltage Law.

Make sure you are familiar with the circuit terms node, distributed node, branch, and loop.

### Contents

### Where we’re headed

Kirchhoff’s Current Law for currents in a node,

$\large\displaystyle \sum_n i_n = 0$

## Currents into a node

Try to reason through this example by yourself, before we talk about the theory. The schematic below shows four branch currents flowing in and out of a distributed node. The currents are in milliamps, $\text{mA}$. One of the currents, $\blueD i$, is not known.

Problem 1. **What is $i$?**

$i = $ _____ $\text{mA}$

## show answer

$i = +4\,\text{mA}$

Currents flowing *into* the node have to find some way to flow *out* on another branch. There is no place for charge to pile up inside the node.

$6\,\text{mA}$ flows into the node $(5$ from the left, and $1$ from the right$)$, so $6\,\text{mA}$ must flow out somewhere. $2\,\text{mA}$ flows out the top. That leaves $4\,\text{mA}$ that must flow out the bottom on branch $\blueD i$. The current arrow for $\blueD i$ points out of the node, in the same direction as the current, so the answer is positive.

Here’s another example, this time with variable names instead of numerical values and a more abstract-looking node. This node has $5$ branches. Each branch might (or might not) carry a current, labeled $i_1 \,\text{to} \, i_5$.

All the arrows are drawn pointing in. This choice of direction is arbitrary. We don’t know which way the currents are actually flowing, so all arrows pointing in is as good a choice as any. The arrows establish a *reference direction* for what we choose to call a positive current.

Each current variable $(i_1 \ldots i_5)$ will end up with either a $+$ or $-$ sign. The direction of the current arrow together with the sign of the current variable tells us the direction each current actually flows.

**Look at branch current ${i_1}$. Where does it go?**

The first thing ${i_1}$ does is flow into the node (represented by the black dot).

**Then what?**

$i_1$ is flowing charge. Here’s two things charge can’t do:

- It can’t collect inside the node. (Nodes do not have a place to store charge).
- It can’t jump off the wires into thin air. (Charge doesn’t do that under normal circumstances.)

What’s left? The current *has* to flow out through one or more of the other branches.

If $i_1$ is a positive current flowing into the node, then one or more of the other currents must be flowing out. The currents flowing out exactly balance the currents flowing in. Those currents flowing out will have a $-$ sign.

If we add the five currents they all balance out and add up to zero,

$i_1 + i_2 + i_3 + i_4 + i_5 = 0$

## Kirchhoff’s Current Law

This observation about currents in a node is nicely captured in general form as Kirchhoff’s Current Law,

**The sum of all currents flowing into a node is zero.**

$\large\displaystyle \sum_n i_{in_n} = 0$

The index $n$ counts the branches attached to the node.

## What is the big zig-zag symbol?

The $\sum$ symbol is the Greek letter capital Sigma. In mathematical notation it indicates the *summation* operation. It is used to sum up a number of related quantities. The expression

$i_1 + i_2 + i_3 + i_4 + i_5 = 0$

can be written compactly as,

$\displaystyle \sum_{n=1}^{n=5} i_n = 0$

It is understood that the index, $n$, runs from lower limit $n=1$ to upper limit $n=5$, stepping by $1$.

Kirchhoff’s Current Law is flexible. It can be stated two other ways. We could phrase it as,

**The sum of all currents flowing out of a node is zero.**

The summation equation looks the same as above, but with all the current arrows pointing out of the node.

$\large\displaystyle \sum_m i_{out_m} = 0$

You can also think of Kirchhoff’s Current Law this way, where the current arrows are allowed to point either in or out of the node,

**The sum of currents flowing into a node equals the sum of currents flowing out.**

$\large \displaystyle \sum_n i_{in_n} = \sum_m i_{out_m}$

This form of the law may be your favorite, but be sure to keep a sharp eye on the different current arrow directions.

### The current arrows all point in?

If you are wondering how all currents can add up to zero if they all point in the same direction, do not let this bother you. The arrows are *reference* directions, not the actual direction of current. Arrows establish what we mean by a positive current. When the circuit analysis is complete, the math will make sure one (or more) of the current variables ends up with a negative sign. The actual direction of a current is determined by the combination of two things: the direction of its current arrow and the sign of its current variable.

## Concept check

Currents are in milliamps, $\text{mA}$.

Problem 2. **What is $i_5$?**

$i_5 = $ _____ $\text{mA}$

## show answer

$i_5 = -6\,\text{mA}$

Directly apply Kirchhoff's Current Law.

$\displaystyle \sum_n i_n = 0$

Pro Tip: Before starting, check the arrows. Are they pointing in, or out, or some jumble of directions? This will save you from sign errors.

All the arrows in this example are pointing in. So we can do a straight sum of the numbers as written. Sum the five branch currents and set the sum to $0$,

$1 + 4 + (-2) +3 + i_5 = 0$

Solve for $i_5$,

$i_5 = -[1 + 4 -2 +3]$

$i_5 = -6 \,\text{mA}$

(A current of $-6\,\text{mA}$ flowing *in* is the same thing as $+6\,\text{mA}$ is flowing *out* of the node.)

Problem 3. **What is $i_3$ in this distributed node?**

## show answer

$i_3 = 0\,\text{mA}$

This question tests your arrow skills. The arrow directions are jumbled up, some in, some out. This prompts us to break the problem into two steps. Take it slow and get the signs right.

- Redraw the node with all the arrows pointing in the same direction (all in or all out), making adjustments to the numerical signs as needed.
- Apply Kirchhoff’s Current Law.

Step 1. The arrow for $i_3$ is pointing out. The strategy will be to make all the other arrows point the same direction as $i_3$. If a current arrow has to flip, we adjust the sign of the current. Inspecting the original diagram, we have to flip two arrows, and two corresponding signs. The redrawn schematic below has currents $-4$ and $+1$ flowing *out*.

Step 2. Apply Kirchhoff’s Current Law. We use the form of the current law that says, “The sum of all currents flowing out of a node is zero.” So add up all the out currents and set the sum equal to zero.

$-4 +6 + i_3 + 1 + (-3) = 0$

Solving for $i_3$,

$i_3 = -[-4 +6 + 1 + (-3)]$

$i_3 = 0 \,\text{mA}$

There is $0$ current flowing in the branch labeled $i_3$.

## Summary

Kirchhoff’s Current Law for currents in a node,

$\displaystyle \sum_n i_n = 0$

Kirchhoff’s Current Law also goes by its initials, KCL.

We learned how important it is to pay close attention signs to get correct answers. Pay careful attention as you read the schematic and assemble the KCL equation. It is a core skill of every good electrical engineer.

## Questions

Thank you very much for this site. Did electronics in 70’s and wanted to get back to them. I notice Problem 3 refers to https://spinningnumbers.org/i/kcl4.svg but ‘show answer’ refers to https://spinningnumbers.org/i/kcl5.svg

Dixon - The diagram inside the “show answer” for Problem 3 is intentionally different than the diagram in the problem statement. The two diagrams are equivalent, but in the case of the “show answer” diagram, all the arrows are arranged to point

outof the node. Notice two arrows changed direction and their corresponding current values changed sign. The purpose of doing this arrow-flipping stunt is to help you get all the signs in the KCL equation correct. If you are comfortable writing KCL based on the first diagram by all means you should do it that way.How would i be compared when dealing with multiple nodes?

Nathan - Not quite sure I understand your question. If you have a wire connecting two nodes it has a single current value, it can’t have two. So if you write two KCL equations, one at each node, that wire will participate in both equations, and it will have the same value in both equations.