Rain Barrel Calculator Formula
Understand the math behind the rain barrel calculator. Each variable explained with a worked example.
Formulas Used
Gallons Collected
gallons_collected = roof_sqft * rainfall_inches * 0.623 * collection_efficiency / 100Standard Barrels Needed (55 gal)
barrels_needed = ceil(roof_sqft * rainfall_inches * 0.623 * collection_efficiency / 100 / 55)Liters Collected
liters_collected = roof_sqft * rainfall_inches * 0.623 * collection_efficiency / 100 * 3.785Variables
| Variable | Description | Default |
|---|---|---|
roof_sqft | Roof Catchment Area(sq ft) | 1500 |
rainfall_inches | Rainfall Per Event(in) | 1 |
collection_efficiency | Collection Efficiency(%) | 80 |
How It Works
How Rain Collection Is Calculated
One inch of rain on 1 square foot of roof produces about 0.623 gallons of water.
Formula
Gallons = Roof Area (sq ft) x Rainfall (in) x 0.623 x Efficiency
Efficiency accounts for losses from gutters, splashing, and first-flush diverters.
Worked Example
1,500 sq ft roof, 1 inch of rain, 80% collection efficiency.
roof_sqft = 1500rainfall_inches = 1collection_efficiency = 80
- 01Raw collection = 1,500 x 1 x 0.623 = 934.5 gallons
- 02With 80% efficiency = 934.5 x 0.80 = 747.6 gallons
- 03Standard barrels = ceil(748 / 55) = 14 barrels
Ready to run the numbers?
Open Rain Barrel Calculator