Gallons of stains needed are calculated in gallons per number of square feet. There are many online stain calculators to use. However, for your DIY projects, you can calculate the gallons of stain needed by following some fundamental information.