Kirchhoff’s voltage law or loop (mesh) rule states that the sum of voltages in a closed loop will be equal to 0.

In this example, we have two closed loop that are going to be analyse. Kirchhoff’s voltage law speculates that the sums of voltages in a closed loop will be equal to 0. In this specific example, we can find two formulas with Kirchhoff’s voltage law :
The formula for the left loop is :
The formula for the right loop is :
The results are based on the orientation of the arrow on the picture. Having the arrow in the incorrect direction is not an issue when you are solving problems using Kirchhoff’s voltage law. Instead of having a positive value for the voltage, you will get a negative value for the voltage which means the current direction is in the opposite direction of the arrow. The best example is the right loop. If you solve this loop, you get . But we know that the current flowing into the resistor of
is in the opposite direction of this arrow because of the position of the voltage source and this is why you will get a negative value for
.