Rainwater Harvesting Calculator
Find how many gallons a roof yields from a storm or month of rain, after runoff and first-flush losses, and whether your tank holds it, overflows or runs dry.
Rainwater Harvesting Calculator
Background.
A storm that drops two and a half inches of rain on a 1,200 square foot house sends about 1,870 gallons off the roof. People who put a tank under a downspout are usually surprised by that number, and then surprised again by how little of it they keep. Some of the rain never reaches the gutter, the first-flush diverter dumps the dirtiest runoff, and what is left, about 1,570 gallons here, arrives at a 1,000-gallon tank that was already holding 200. It can take 800 more. Everything else goes out of the overflow.
That is the usual pattern: the roof is rarely the limit, the tank is. A common 55-gallon rain barrel under the same roof fills from empty with less than an eighth of an inch of rain once the diverter has done its work, so one ordinary shower tops it up and the rest of the storm runs to waste. A larger tank only pays off if the water is used between storms, which is why the calculator asks for the starting level and the demand as well as the rain. Enter a garden's watering need for a week of dry weather and the tank either carries it or comes up short, and you see by how much.
Keep the period consistent. A single storm, a month or a dry spell all work, provided the rainfall, the demand and the starting level describe the same stretch of time. A whole year in one go does not: the model fills the tank once and drains it once, while a real tank fills and empties many times, so annual totals produce absurd overflow and shortfall figures. Work month by month, carrying each month's ending volume forward as the next month's starting level.
What is rainwater harvesting calculator?
Rainwater harvesting is collecting the runoff from a roof or other hard surface and storing it for later use, typically for watering gardens, washing and, with the right plumbing, flushing toilets. The yield of a catchment is set by its area and the depth of rain: one inch falling on one square foot is a twelfth of a cubic foot, or about 0.6234 US gallons, so every 1,000 square feet of roof sheds about 623 gallons per inch. In metric units the relationship is exactly one litre per millimetre per square metre. Real systems collect less than that gross volume. Rain splashes past gutters in wind, wets the roof and evaporates in light showers, and leaks or overflows at joints and screens; a first-flush diverter deliberately discards the opening runoff, which carries most of the dust, pollen, leaves and droppings. What reaches the tank then has to fit. The Texas Water Development Board's rainwater harvesting manual is a widely used practical reference for these systems, and NOAA's climate normals give long-term monthly rainfall for US weather stations.
How to use this calculator.
- Enter the catchment roof area in square feet: the footprint the roof covers seen from above, overhangs included, not the area along the slope. Count only the roof sections whose gutters actually drain to this tank.
- Enter the rainfall depth in inches for the period you are modelling: a storm total from a forecast or gauge, or a monthly normal for planning.
- Set the collection efficiency. The 85 percent default is a planning assumption; use less for rough or absorbent roofing and neglected gutters, more for a smooth metal roof with clean gutters, and 100 with no fixed loss if you want the theoretical maximum.
- Enter the first-flush or fixed loss in gallons: what your diverter discards each storm. If the period covers several storms, multiply by their number, because the loss is subtracted only once.
- Enter the tank capacity, how much is in it at the start (it cannot exceed the capacity), and the water you expect to draw over the same period.
- Read the collectable rainfall first, then the overflow, the ending volume and any shortfall to see whether the tank or the demand is the limit.
The formula.
Gross volume is G = A × R × 7.48052 ⁄ 12, with the roof area A in square feet and the rainfall R in inches. Dividing by 12 turns inches into feet, so A × R ⁄ 12 is cubic feet of water, and 7.48052 is the number of US gallons in a cubic foot, from the NIST unit tables. Together they make the 0.6234 gallons per square foot per inch usually rounded to 0.623.
Collectable volume is C = max(0, G × e − f), where e is the collection efficiency as a fraction and f the fixed first-flush loss in gallons. The two losses behave differently on purpose. Efficiency scales with the storm, while the diverter takes the same volume from a drizzle as from a downpour, so small events lose a large share and very small ones yield nothing at all. The capture ratio reported with the result is C ⁄ G × 100, the share of the gross rainfall that reaches the tank inlet.
The tank balance then runs in a fixed order. Starting volume S plus C is compared with capacity T; anything above T is overflow. The tank is capped at T, the period's demand D is drawn from it, the ending volume is max(0, min(T, S + C) − D), and any demand the tank could not meet is the shortfall.
Filling the tank before any water is drawn is a simplification. If you water the garden between showers within the same period, that use frees space before the next rain arrives, so a real system overflows somewhat less and stores somewhat more than this model shows. For a single storm the difference is small; across a long, mixed period it grows, which is why shorter periods give better answers.
A worked example.
The roof covers 1,200 square feet and the storm drops 2.5 inches. Gross runoff is 1,200 × 2.5 × 7.48052 ÷ 12 = 1,870.13 gallons. At 85 percent collection efficiency, 1,870.13 × 0.85 = 1,589.61 gallons reach the system, and the 20-gallon first flush leaves 1,569.61 gallons collectable, a capture ratio of about 83.9 percent of the rain that fell. The tank starts with 200 gallons, so it would need to hold 200 + 1,569.61 = 1,769.61 gallons. Its capacity is 1,000, so 769.61 gallons overflow and the tank ends the storm full. Drawing the planned 300 gallons leaves 700 gallons, with no shortfall. Of the 1,870 gallons that fell on the roof, the tank kept 800, roughly 43 percent. Storage, not rainfall, set the outcome: the empty space in this tank would have been filled by about 1.29 inches of the same rain. Had the demand for the period been 1,200 gallons instead, the full tank would supply 1,000 of them and end empty, leaving a 200-gallon shortfall. The 769.61 gallons that went over the overflow would have covered it several times over, if there had been anywhere to keep them.
Frequently asked questions.
Do I measure my roof along the slope or flat?
How much rain does it take to fill a rain barrel?
Why does a light shower collect nothing?
Can I enter a whole year of rainfall?
What collection efficiency should I use?
Why is the capture ratio higher than the share my tank kept?
Is harvested rainwater safe to drink?
How heavy is a full rainwater tank?
Where can I find rainfall figures for my area?
Can I work in litres and square metres?
References& sources.
- [1]Texas Water Development Board (2005). "The Texas Manual on Rainwater Harvesting, 3rd edition." TWDB.
- [2]U.S. Environmental Protection Agency (2024). "Soak Up the Rain: Rain Barrels." EPA.
- [3]Centers for Disease Control and Prevention (2024). "Collecting Rainwater and Your Health: An Overview." CDC.
- [4]National Oceanic and Atmospheric Administration (n.d.). "U.S. Climate Normals." NOAA National Centers for Environmental Information.
- [5]National Institute of Standards and Technology (2026). "NIST Handbook 133, Appendix E: General Tables of Units of Measurement." U.S. Department of Commerce.
How this page was produced
- Published by
- Quanta Calculator
- Overseen by
- Daniel, Quanta Calculator Researcher
- Primary sources
- 5 cited below
- Method
- Gal = A × R × 0.623 × e − f
- Published
- Last verified
Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 1560 calculators remain free
- No billing is enabled