An algorithm has the property of termination if it stops on every input that meets its precondition. A variant of a loop is a whole number, computed from the variables, that is never negative while the loop runs and that strictly decreases at each turn.
gcd(233, 144), from the run above: a staircase that only goes down, one step per turn, and cannot go below .