The factors are assuming that the keg is properly chilled, the glasses are clean and are being delivered to the glass is what is known as a direct draw system or method, since heat is a factor and the distance the beer must travel from keg to glass greatly effect the number of beers out of the keg do to foaming.