Audited 27 Jul 2026·Last updated 28 Oct 2026·5 citations·Tier 1·0 uses

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

Collectable rainfall after efficiency and losses
1,569.6105
US gallons reaching the tank after the collection efficiency and the fixed first-flush loss are applied.
Gross rainfall volume
1,870.13
Ending tank volume after demand
700
Overflow volume
769.6105
Shortfall volume
0
Capture ratio of gross rainfall
83.93

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.

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.

Gal = A × R × 0.623 × e − f

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.

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.

fixed Loss Gallons20
demand Gallons300
collection Efficiency Percent85
roof Area Sq Ft1,200
rainfall In2.5
starting Tank Gallons200
tank Capacity Gallons1,000

Frequently asked questions.

Do I measure my roof along the slope or flat?
Flat. Rain falls more or less vertically, so a roof catches the water landing on its footprint, the area it covers seen from above, regardless of pitch. A steep roof and a shallow one over the same house collect the same amount. Measure the outside dimensions of the building plus the overhangs, and include only the roof planes whose gutters feed this tank.
How much rain does it take to fill a rain barrel?
Very little. On the example's 1,200 square foot roof at 85 percent efficiency, an empty 55-gallon barrel fills with about 0.118 inches of rain once the 20-gallon first flush has been diverted, and with about 0.086 inches if there is no diverter. That is why barrels overflow in almost every storm, and why larger tanks or several barrels linked together are common.
Why does a light shower collect nothing?
Because the first-flush loss is a fixed volume. A 0.02-inch shower on the 1,200 square foot roof produces about 14.96 gallons gross and roughly 12.7 after efficiency, which is less than the 20 gallons the diverter takes, so the collectable volume is zero. In practice light rain also tends to wet the roof and evaporate, so a small first-flush figure still describes real losses.
Can I enter a whole year of rainfall?
You can, but the tank figures will mislead you. Thirty inches a year on the example roof with no first flush gives 19,075.33 gallons collectable; with an empty 1,000-gallon tank and 15,000 gallons of annual demand, the model reports 18,075.33 gallons of overflow and a 14,000-gallon shortfall, because it fills the tank only once. The collectable total is still useful. For storage questions, run each month separately and carry the ending volume forward.
What collection efficiency should I use?
The default of 85 percent is a reasonable planning starting point for a typical roof with working gutters. Smooth metal roofing sheds water readily and supports a higher figure; rough, porous or gravel surfaces hold more water back, and clogged gutters or undersized downspouts lose more in heavy rain. Run the calculation at 70 and 95 percent as well: on the example storm that spans 1,289.09 to 1,756.62 gallons collectable.
Why is the capture ratio higher than the share my tank kept?
The capture ratio compares the water reaching the tank inlet with the rain that fell, and ignores what overflowed. In the example it is about 83.9 percent, yet only 800 of the 1,870 gallons, about 43 percent, stayed in the tank. If the ratio is high and the overflow is large, a bigger tank or more use between storms will help; better gutters will not.
Is harvested rainwater safe to drink?
Not without treatment. The CDC notes that rainwater can pick up germs and chemicals from the roof, gutters and tank, from bird and animal droppings, and from the air. Drinking it calls for filtration, disinfection, regular testing and suitable tank materials. Watering ornamental plants is the simplest use; connecting a tank to indoor plumbing usually needs permits and protection against backflow into the mains supply.
How heavy is a full rainwater tank?
A US gallon of water weighs about 8.34 pounds, so a full 1,000-gallon tank holds about 8,340 pounds of water, roughly 3.8 tonnes, before the weight of the tank itself. Set it on a level, compacted pad or a slab built for the load, never on soft soil or a deck that was not designed for it, and keep the overflow pipe discharging away from the house foundation. Screen the inlet and the overflow outlet as well, so mosquitoes cannot get in and breed in the stored water.
Where can I find rainfall figures for my area?
For planning, use long-term monthly averages: NOAA's US Climate Normals list them for thousands of weather stations, based on the 1991 to 2020 period. For a single storm, use the forecast total or a rain gauge reading. Remember that averages hide dry spells; a tank sized from an average month will run short in a dry one, so try the driest month on record as well.
Can I work in litres and square metres?
The inputs are in square feet, inches and US gallons, so convert first: multiply square metres by 10.7639 to get square feet, divide millimetres by 25.4 for inches, and divide litres by 3.785411784 for gallons. The metric shortcut is a good check on the result: 1 millimetre of rain on 1 square metre is exactly 1 litre, so 111.5 square metres under 63.5 mm of rain is about 7,080 litres gross.

How this page was produced

Published by
Quanta Calculator
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
Coming soon