Rainwater Harvesting Calculator (Gallons from Your Roof)
calc_rainwater_harvestingHow many gallons of rainwater your roof can collect from a storm, a month or a year of rain, how many rain barrels that fills, and how much to divert as first flush, using the Texas Manual on Rainwater Harvesting method. Formula: Gallons = rainfall (in) × roof footprint (sq ft) × 0.62 × efficiency. Barrels = gallons ÷ barrel size, rounded up. First flush = roof ÷ 1,000 × 10 gal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rain_in | No | Rainfall (in); default 1 | |
| roof_sqft | No | Roof footprint (horizontal area) (sq ft); default 1500 | |
| barrel_gal | No | Barrel or tank size (gal); default 55 | |
| efficiency_pct | No | Collection efficiency (%); default 85 | |
| first_flush_gal_per_1000 | No | First-flush diversion (gal per 1,000 sq ft); default 10 |