Home Calculators Categories Category: Science & Engineering

Rainwater Collection Calculator

This rainwater collection calculator estimates how much water a roof can deliver to storage from a given depth of rain, and it can also compare two tank sizes against a full year of monthly rainfall and water demand. Enter the connected roof footprint, rainfall depth and collection efficiency to see estimated collection in metric or US units. The chart splits the gross rainfall volume into collected water and collection losses. Switch to Advanced mode to see annual overflow and unmet demand for two tank capacities side by side.

Input
Load a roof event or a seasonal tank comparison. Changing a value switches to Custom.

Use Advanced (gear icon) to compare tank sizes.

Measure the connected area from above, including eaves that drain to the tank.
m²

Use the horizontal roof area draining to the tank.

A rain gauge or local rainfall report gives the depth for one event or another selected period.
mm

Enter the total depth for the period you want to estimate.

Set 100% for theoretical runoff without losses. Lower the percentage to account for water that misses the tank.
%

80% is an example collection efficiency. Adjust it for losses at your site.

Visual
Rainwater collection Compare estimated collection and losses, or two tank capacities month by month.
Output
Estimated collection
—

Water reaching the tank before overflow.

What the calculator does

The tool has two modes, and both use the same two roof inputs: Roof footprint and Collection efficiency.

  • Simple mode answers one question: how much water reaches storage from a single rain event or period? It uses one Rainfall depth value and does not use tank capacity at all.
  • Advanced mode answers a storage question: given 12 monthly rainfall depths, 12 monthly demand volumes and two tank capacities, how much water overflows and how much demand goes unmet in each tank?

The calculator opens in Simple mode with Metric units. You can switch to US units (ft², inches and US liquid gallons) at any time. Reset restores the Metric Simple defaults.

The rainwater collection formula

The core of any rainwater harvesting calculator is a unit conversion. One millimetre of rain falling on one square metre of surface is exactly one litre of water. So with roof footprint AA in m², rainfall depth dd in mm and collection efficiency ee as a percentage:

G=A×dG = A \times d
Y=G×e100Y = G \times \frac{e}{100}
L=G−YL = G - Y

Here GG is gross rainfall volume in litres, YY is estimated collection in litres, and LL is collection loss in litres.

Gross volume, yield and loss

  • Gross rainfall volume is the water that falls on the connected roof footprint.
  • Estimated collection is the volume that reaches storage before any tank overflow. It is the number to use when you ask how much a roof can collect.
  • Collection loss is everything that does not reach storage. At 0% efficiency the whole gross volume is loss. At 100%, all of it is collected under the model.

If either roof area or rainfall is zero, gross volume, yield and loss are all zero.

Worked example in metric units

The default Simple inputs are a 100 m² roof, 25 mm of rain and 80% efficiency:

  • Gross volume: 100×25=2,500100 \times 25 = 2{,}500 L
  • Estimated collection: 2,500×0.80=2,0002{,}500 \times 0.80 = 2{,}000 L
  • Collection loss: 2,500−2,000=5002{,}500 - 2{,}000 = 500 L

The "Small roof event" example uses 50 m², 20 mm and 80% efficiency. Gross volume is 1,000 L, so estimated collection is 800 L and loss is 200 L.

The same calculation in US units

The US option converts inputs exactly, using 1 ft² = 0.09290304 m², 1 in = 25.4 mm and 1 US gal = 3.785411784 L. These combine into a single shortcut. One inch of rain over one square foot gives 144 cubic inches of water, and one US gallon is 231 cubic inches, so:

Ggal=Aft2×din×144231G_{\text{gal}} = A_{\text{ft}^2} \times d_{\text{in}} \times \frac{144}{231}
Ygal=Ggal×e100Y_{\text{gal}} = G_{\text{gal}} \times \frac{e}{100}

That is about 0.623 US gallons per square foot per inch of rain before losses. For a 1,000 ft² roof receiving 1 inch of rain at 80% efficiency, gross volume is about 623.38 US gal and estimated collection is 498.70 US gal.

Choosing the inputs

Roof footprint

Roof footprint is the horizontal projected area that drains into the collection system. It is the area you would see looking straight down at the roof, which is the ground-plan area under the roof including overhangs, not the sloped surface area. The calculation uses rainfall depth over that horizontal area, so roof pitch does not add to the modeled catchment.

Include connected roof sections whose gutters and downpipes feed your tank or storage system. Exclude sections that drain elsewhere. If you are using a rainwater catchment calculator to size a system for an outbuilding, enter only the area that actually drains into that system.

The calculator accepts footprints from 0 to 100,000 m² (about 1,076,391 ft²), and decimals are allowed.

Collection efficiency

Collection efficiency is the percentage of rainfall volume that reaches storage after aggregate collection losses. In practice those losses can include roof surface wetting and absorption, evaporation, splashing and wind, gutter and downpipe overflow in heavy rain, first-flush diversion, and leaks. The calculator does not model each loss separately. You enter one combined percentage.

The 80% starting value is an example input, not a recommendation. A well-maintained roof with good gutters may perform differently from a rough or leaky one. Use a site-specific figure if you have one, and test a lower and a higher value to see how sensitive your result is. Efficiency can be set anywhere from 0% to 100%.

Rainfall depth

In Simple mode, rainfall depth is the depth for whichever event or period you want to estimate: one storm, one month or a whole season. The allowed range is 0 to 3,000 mm (about 118.11 inches). Depth and area must describe the same thing, so if you enter a monthly total, the result is the monthly yield.

Comparing tank sizes in Advanced mode

Choosing a tank is usually a balance between three things: how much rain arrives, when it arrives, and how much water you draw. Annual rainfall totals alone cannot show this, because a tank can overflow in a wet month and run dry in a dry one. Advanced mode uses a monthly balance to show both effects, which makes it a practical rainwater harvesting tank size calculator for comparing two candidate capacities.

What to enter

Enter exactly 12 rainfall depths and 12 demand volumes, each ordered from January through December. Values can be separated by commas, spaces or line breaks. A few input rules matter:

  • Enter 0 for a dry month or a month with zero demand.
  • Enter numbers without thousands separators, for example 1000, not 1,000, because commas separate values.
  • Monthly demand is the total volume you expect to draw in that month.
  • Capacities are usable storage volumes. If a tank holds 3,000 L but only 2,500 L can actually be drawn, enter 2,500. A capacity of zero represents no storage.

Each rainfall value can be 0–3,000 mm per month. Demand can be up to 100,000,000 L per month, and each tank capacity can be up to 1,000,000 L. The equivalent limits apply in US mode, using inches for rainfall and US gallons for demand and capacity.

If the monthly series are in the wrong order, the model will pair rain with the wrong demand, so check that January is first in both lists. If you are using a northern-hemisphere calendar for a southern-hemisphere site, the labels still follow January to December. Enter your local rainfall for those calendar months.

The monthly water balance

The tool simulates the two tanks independently. Each receives the same roof inflow and faces the same demand. Both start empty in January. Within each month the order of operations is fixed: add the month's inflow, spill anything above capacity, then draw the month's demand. Whatever remains carries into the next month.

Monthly inflow for month mm is:

Im=A dm e100I_m = A \, d_m \, \frac{e}{100}

For one tank with usable capacity CC, monthly demand DmD_m and previous month-end storage Sm−1S_{m-1} (with S0=0S_0 = 0):

Wm=Sm−1+ImW_m = S_{m-1} + I_m
Om=max⁡(0,  Wm−C)O_m = \max(0,\; W_m - C)
Rm=min⁡(C,  Wm)R_m = \min(C,\; W_m)
Um=max⁡(0,  Dm−Rm)U_m = \max(0,\; D_m - R_m)
Sm=max⁡(0,  Rm−Dm)S_m = \max(0,\; R_m - D_m)

In words, WmW_m is the water available before the capacity limit, OmO_m is overflow, RmR_m is the water retained before demand, UmU_m is unmet demand, and SmS_m is month-end storage. Demand supplied is Dm−UmD_m - U_m. Annual overflow and annual unmet demand are the sums of the monthly values. All of this is calculated in litres internally, even when the display is set to US gallons.

Some edge cases follow directly from this order. With zero capacity, all inflow spills and all demand is unmet. With zero demand, nothing is withdrawn and unmet demand is zero. A dry month brings no new inflow but can still draw on water carried forward from earlier months.

Worked example: the default seasonal comparison

The "Seasonal tank comparison" example uses a 100 m² roof and 80% efficiency. Rainfall is 50 mm in January and 25 mm in April, with none in other months. Demand is 1,000 L every month. Tank A holds 1,000 L and Tank B holds 3,000 L.

Inflow is 100×50×0.8=4,000100 \times 50 \times 0.8 = 4{,}000 L in January and 100×25×0.8=2,000100 \times 25 \times 0.8 = 2{,}000 L in April.

For Tank B (3,000 L), the first months run like this:

Month Inflow (L) Demand (L) Overflow (L) Unmet (L) Month-end stored (L)
January 4,000 1,000 1,000 0 2,000
February 0 1,000 0 0 1,000
March 0 1,000 0 0 0
April 2,000 1,000 0 0 1,000
May 0 1,000 0 0 0

In January, 4,000 L is available but only 3,000 L fits, so 1,000 L spills. Then 1,000 L is drawn, leaving 2,000 L. The tank empties by the end of March, receives 2,000 L in April, and is empty again by the end of May. From June to December there is no stored water and no rain, so each of those seven months has 1,000 L of unmet demand.

The annual results are:

Result Tank A (1,000 L) Tank B (3,000 L)
Annual overflow 4,000 L 1,000 L
Annual unmet demand 10,000 L 7,000 L
Demand supplied 2,000 L 5,000 L

A useful check is that, in this example, total inflow of 6,000 L equals demand supplied plus overflow plus any water left in the tank at year end (zero for both tanks). Tank A: 2,000+4,000=6,0002{,}000 + 4{,}000 = 6{,}000. Tank B: 5,000+1,000=6,0005{,}000 + 1{,}000 = 6{,}000. The larger tank captures more of the same rain, so less is wasted and more demand is met.

Reading the results

Annual overflow

Overflow is rain that reached the system but could not be stored because the tank was full. A high overflow means the tank is small relative to the wet-season inflow. It is a sign that extra storage could capture more water, or that you may need a safe route for the excess.

Annual unmet demand

Unmet demand is the volume you wanted to draw but the tank could not supply. A high figure means demand exceeds what your roof, rainfall and storage can deliver, particularly in dry months. If unmet demand stays high even for a very large tank, the limit may be rainfall or roof area, not storage. The calculator shows an advisory, "Unmet demand in both scenarios", when both tanks have annual unmet demand above 0.01 L.

Monthly breakdown and chart

Each tank card has an expandable table with Month, Inflow, Demand, Stored, Overflow and Unmet. "Stored" is the month-end storage. The comparison chart plots monthly storage, overflow and unmet demand for both tanks, which makes it easy to see when each tank fills, spills or runs dry.

Diminishing returns

Overflow and unmet demand usually fall as capacity grows, but not by the same amount for each added litre. Once a tank is large enough to hold the wet-season surplus, a bigger tank mostly adds cost and space without much additional supply. If you are choosing between two sizes, compare how much unmet demand each one removes. Try adding a middle capacity as Tank A or Tank B in a second run.

Limits of the model

The results apply to the single January–December sequence you enter, starting with empty tanks. They do not describe a typical or guaranteed year. Several things are outside the model:

  • Within-month timing. The model works with monthly totals. It does not resolve when storms fall or when water is withdrawn inside a month. A tank that fills and spills during one heavy storm may be treated more favourably or less favourably than reality.
  • First-flush diversion by event. Diversion is included only as part of the single efficiency percentage.
  • Water quality and treatment. The calculator estimates volume, not whether water is suitable for a given use.
  • Reliability across years. One year of data cannot show how often a tank will fall short. Try several years of rainfall, such as a dry year and a wet year, to see the range.
  • Collection efficiency. Aggregate losses are one input, so the answer is only as good as that estimate.

Treat the output as a planning estimate. Check local rainfall records and any local rules before sizing or building a system.

Display, copy and export

Displayed volumes are shown in litres or US gallons with up to two decimal places. A positive volume smaller than 0.01 in the selected unit appears as <0.01. Calculations use unrounded values, so displayed figures may not add up exactly. If an active input is invalid, the field shows an error and the numeric results are replaced with an em dash. Copy produces a text summary of the results. Export opens the print dialog, where you can print or choose to save the page as a PDF.

Frequently asked questions

How do I calculate how much rainwater I can collect from a roof?

Multiply the connected roof footprint in square metres by the rainfall depth in millimetres to get litres, then multiply by your collection efficiency as a fraction. For a 100 m² roof, 25 mm of rain and 80% efficiency, that is 100×25×0.8=2,000100 \times 25 \times 0.8 = 2{,}000 L. In US units, multiply roof area in ft² by rainfall in inches and by 144/231144/231, then by the efficiency fraction.

Should I use sloped roof area or footprint?

Use the horizontal projected footprint of the sections that drain into your system. The formula applies rainfall depth to that plan area. Using the larger sloped surface area would overstate the modeled collection.

What collection efficiency should I enter?

Use a site-specific figure if you have one. The 80% default is only an example. Because efficiency combines all collection losses, it is worth testing a few values to see how much your result changes.

Does Simple mode use tank size?

No. Simple mode reports the volume reaching storage before any tank overflow. Use Advanced mode to see how tank capacity changes overflow and unmet demand.

Why are the tanks empty at the start?

The model starts both tanks empty in January so that the comparison is consistent. It assumes no carryover from earlier rain. Starting with water can reduce early shortages when the tank can retain and use that water.

Can I compare more than two tanks?

Each run compares two capacities. Run the calculator again with different capacities to test more options while keeping the same roof, rainfall and demand inputs.

What does zero unmet demand mean?

It means that, for the supplied year, the tank was able to meet all of the entered monthly demand under the model's assumptions. It does not guarantee the same result in a drier year or with different usage patterns.

Calculation Methodology Documented

Read the formula definitions, supported input ranges, and limitations before using this estimate.

Review Methodology
Debjeet Bhowmick
Author Debjeet Bhowmick AWS Certified Solutions Architect • Cloud & DevOps Consultant

AWS Certified Solutions Architect Professional and Senior Cloud & DevOps Consultant with over 14 years of hands-on expertise architecting resilient cloud infrastructure across AWS, GCP, and Azure. Specializes in infrastructure as code, continuous delivery automation, and telemetry across Terraform, Ansible, Docker, Kubernetes, ELK, Python, and SQL. Creator of OrangeCalc, delivering client-side high-precision computational tools.