Rainwater Harvesting Calculator

Tank size, first-flush diverter and cost from your roof's actual catchment.

Rainwater Harvesting Calculator — project drawing PROJECT DRAWING GARDEN & YARD Rainwater Harvesting … TANKS TO BUY 2 × 275-gal IBC tote ANNUAL HARVESTABLE YI… ≈ 20525 gal/yr RECOMMENDED STORAGE 400 gal (14-day buffe… ROOF CATCHMENT 1200 sq ft, Asphalt s… DIFFICULTY Intermediate BUILD TIME ½–1 day EST. MATERIALS $591–$800 MyBuildPlanner
Configure

Rainwater Harvesting calculator

Storage tank type
Advanced optionsfine-tune the details…
Catchment
Roof material
Storage
Plumbing
Pump

Estimates are planning aids, not a professional quote. Double-check quantities and product coverage — and any local code or permit requirements — before you buy.

Estimated materials$591–$800
Shopping list ↓
PROJECT SUMMARY

Rainwater Harvesting project summary

Tanks to buy2 × 275-gal IBC tote
Annual harvestable yield
≈ 20525 gal/yr
Recommended storage
400 gal (14-day buffer)
Roof catchment
1200 sq ft, Asphalt shingle
Downspouts captured
2
Transfer pump
Gravity-fed
Difficulty
Intermediate
Build time
½–1 day
Estimated materials
$591–$800

Cost breakdown

Material only · national-average rates
Plumbing & Heating$303–$409
Drainage$275–$373
Soil & Fill$13–$18
Total$591–$800

Excludes tools, delivery, tax and permit fees. Labor not included — this is a DIY materials estimate.

Shopping list

Every item · grouped by store section

These are affiliate links: we may earn a commission if you buy through them, at no extra cost to you. It never changes what the calculator recommends — the shopping list comes from your dimensions, not from what pays.

Drainage

Plumbing & Heating

Soil & Fill

  • 0.32× cu ydCompacted gravel pad base — 4" bed under each tank footprint — keeps the tank level and off wet ground
    Find ↗

Tools

✓ required · ○ helpful
  • Ladder — installing the downspout diverter at the gutter
  • PVC pipe cutter or hacksaw — first-flush riser and overflow pipe
  • Cordless drill / driver — mounting brackets and cutting the bulkhead opening
  • 4 ft level — leveling the tank pad and checking pipe slope
  • Adjustable wrench — tightening bulkhead and spigot fittings
  • Tape measure
  • Utility knife — cutting into the gutter for the diverter tie-in
  • Safety glasses & gloves

Project notes

  • This is a planning estimate, not an engineered stormwater or plumbing design. Harvestable yield uses the standard conversion of 0.623 gallons per square foot of roof per inch of rain, discounted by a roof-material runoff coefficient and an 85% capture efficiency that covers evaporation, splash-out and the first-flush diversion itself.
  • The first-flush riser is sized separately from the yield calc — it's the volume of dirty roof-wash (dust, pollen, bird droppings, shingle grit) diverted away before the tank sees clean water, not a fraction of the annual total. Asphalt roofs need a bigger diverted slug than metal because they shed more grit with every storm.
  • Do not drink harvested rainwater or use it anywhere it could contact food without adding real filtration and disinfection on top of this system — everything priced here gets water into and out of a tank, not up to a potable standard. Several states and municipalities also regulate or require a permit for collection systems above a certain size, so check local rules before you buy tanks.
  • Keep the tank on a level, well-drained pad, screen every inlet so mosquitoes can't breed in the water, and plan for freeze protection in cold climates — drain and disconnect above-ground tanks and exposed pipe before the first hard freeze, or bury the storage and only keep the draw line exposed.
  • Clean the leaf screens and inspect the first-flush diverter each season, and empty or reset the first-flush chamber after long dry spells when roof grit builds up the most. A system that's never maintained just silts in the tank instead of diverting it.

About this calculator

How to estimate a rainwater harvesting

The Rainwater Harvesting Calculator sizes a collection system from your roof and your climate instead of a guess at what tank looks about right. Enter the roof area that actually drains to your downspouts, your area's average annual rainfall, and how much water your garden beds draw in a typical week, and it works out how many gallons a year the roof can realistically deliver against how many tanks to buy to bridge a dry stretch.

It also sizes the parts gutter calculators stop short of — a first-flush diverter that keeps the first dirty slug of roof-wash out of the tank, a leaf screen at every downspout, overflow routing once the tank is full, and an optional transfer pump if the garden sits uphill from the tank. Pick a rain barrel, an IBC tote or a poly cistern and every line reprices instantly.

Step by step

How to set up a rainwater harvesting system

A step-by-step walkthrough to go with your plan above. Follow the product instructions and any local code or permit requirements as you work.

  1. 1

    Size the system

    Use your roof area, local rainfall and garden's weekly demand to get a target storage volume and confirm the roof can realistically refill it — a tank far bigger than what the roof or the garden can cycle just sits full.

  2. 2

    Set the tank pad

    Level a spot within reach of the downspout you're tying into and lay a compacted gravel bed under each tank's footprint so it can't settle unevenly once it's full and heavy.

  3. 3

    Cut in the downspout diverter

    Cut the downspout at the diverter's height, install the diverter body, and route its outlet toward the first-flush riser rather than straight to the tank.

  4. 4

    Build the first-flush riser

    Plumb the capped vertical pipe ahead of the tank inlet, sized to the target diverted volume, with a slow-drain valve at the bottom so it empties and resets between storms.

  5. 5

    Set the tank and bulkhead

    Position the tank on the pad, cut the bulkhead opening, and install the fitting with its gaskets snug on both sides of the tank wall for a watertight seal.

  6. 6

    Plumb the overflow

    Run the overflow line from a high fitting near the top of the tank out to a safe daylight point well clear of the foundation, so a full tank sheds excess water instead of backing up at the inlet.

  7. 7

    Add the spigot and pump

    Install the spigot at the bulkhead for hose use, and if the garden needs more than gravity can deliver, plumb in the transfer pump sized to the lift.

  8. 8

    Test and screen every inlet

    Run water through the whole system to check every joint, confirm the overflow sheds cleanly, and screen every open inlet so standing water can't become a mosquito breeding site.

Equip the job

Recommended gear for this build

Hand-picked categories that match the shopping list above. Links open a current selection so you can compare brands and prices.

These are affiliate links: we may earn a commission if you buy through them, at no extra cost to you. It never changes what the calculator recommends — the shopping list comes from your dimensions, not from what pays.

Plumbing & Heating275-gal IBC tote (food-grade, reconditioned)The common mid-size DIY tank — stackable footprint, built-in cage and a threaded outlet ready for a bulkhead fitting.
$130–180
DrainageFirst-flush diverter kitA capped riser and ball valve that diverts the dirty first slug of roof-wash before it reaches the tank.
$35–55
DrainageDownspout diverter / rain chain kitRoutes gutter flow into the collection line and switches back to normal drainage for winter.
$30–45
Plumbing & HeatingSubmersible utility transfer pumpSits in the tank and pushes water to garden beds through a standard hose — enough for most gravity-assist lifts.
$70–120
Plumbing & HeatingBulkhead fitting kitThe watertight tank-wall fitting every outlet, overflow and drain line threads into.
$12–20

As an Amazon Associate I earn from qualifying purchases. We may also earn from other retailer links here. This doesn’t change your price and helps keep these planners free.

Keep planning

Related calculators

Garden & Yard

More garden & yard calculators

Answers

Frequently asked questions

How much rainwater can I actually collect?

One inch of rain on one square foot of roof yields about 0.623 gallons, so a 1,200 sq ft roof in a 38-inch-a-year climate has roughly 28,400 gallons of rain falling on it annually. You never capture all of it — roof material, splash-out, evaporation and the first-flush diversion all take a cut, which is why this calculator discounts the raw number by a runoff coefficient and an 85% capture efficiency before it ever reaches the tank sizing.

What is a first-flush diverter and why do I need one?

The first few gallons off any roof carry dust, pollen, bird droppings and shingle grit that built up since the last rain, and letting that straight into your tank fouls the water and clogs the outlet over time. A first-flush diverter is a length of capped pipe plumbed ahead of the tank inlet that fills with that dirty slug first, then lets clean water pass through once it's full — this calculator sizes that pipe from your roof area and roof material, since asphalt sheds more grit per storm than metal.

What size tank do I actually need?

Size it to your garden's draw, not to how much rain theoretically falls — a tank far bigger than what your beds use in a few weeks just sits full and never cycles. This calculator multiplies your weekly garden demand by the number of dry days you want the system to bridge (the autonomy buffer) to get a target storage volume, then rounds that up to a whole number of whichever tank size you pick, whether that's rain barrels, IBC totes or a single larger cistern.

Do I need a pump, or can the system run on gravity alone?

If the tank sits above the beds it's feeding — on a stand, a hillside, or just a taller foundation than the garden — a gravity drip line or soaker hose can work with no pump at all, though flow will be modest. If the beds are level with or above the tank outlet, or you want real hose pressure, you need a transfer pump; this calculator sizes a small submersible pump for lifts up to about 10 feet and steps up to a surface-mounted pump with a pressure switch above that.

Is harvested rainwater safe to drink?

Not as collected off an asphalt or metal roof through the system priced here — it's suitable for irrigation, washing and other non-potable uses only. Turning it into drinking water requires additional filtration (typically a multi-stage sediment and carbon filter) plus a certified disinfection step like UV treatment or chlorination, on top of everything this calculator lists. Treat any system without that added treatment as garden and outdoor-use water only.

Is rainwater harvesting legal where I live?

In most of the U.S. it's unrestricted or actively encouraged, sometimes with rebates for the equipment. A handful of states and municipalities regulate collection volume or require a permit above a certain tank size — Colorado is the most commonly cited example, having only broadly legalized it in recent years with specific limits. Check your state and local codes before you buy tanks, especially if you're planning a cistern-sized system rather than a couple of barrels.