For a penetrating oil-based stain, it is safe to assume 150 square feet of surface area per gallon of stain. Get the total surface area of your dock in order to calculate the amount of dock stain needed for it.