Calculate how many gallons of paint you need for walls, ceilings, or trim. Never buy too much or too little.