1 gallon of coffee will give you 20 average cups of coffee.
So if you're having an event and you want to provide a cup of coffee to the people then you should have at least 2 gallons of coffee for every 20 people since some people will drink at least 2 cups of coffee.
2 gallons of coffee will give you 40 cups of coffee.