Kirchhoff's voltage law states that the sum of all the voltages entering or leaving a loop in an electrical circuit must be equal to zero. In other words, the total voltage dropped (ie. from a resistor) in a loop must be equal to the total voltage gained (ie. from a battery).