If the beer in the primary was at 5 gallons, minus the yeast cake, you might be a little less than 5 gallons. For 6-gallon recipes (like this one from NB), it's assuming 5 gallons of FINISHED beer. It's 6 gallons after boil and this is accounting for a half gallon of trub, etc.. Then...