Primepoly Co., Ltd.

Application

HDPE Pipe & Tanks for Rainwater Harvesting: Collecting, Storing & Distributing Rainwater the Right Way (2026)

A rainwater system lives or dies on a handful of unglamorous components — the first-flush diverter, the calm inlet, the mosquito screen. Get those wrong and you've built a stagnant, algae-filled mosquito farm; get them right, with corrosion-free HDPE carrying and storing the water, and you've built a supply that lasts decades.

Dr. Wei Liu, P.E.

Dr. Wei Liu, P.E.

Senior Engineering Manager · Primepoly

Published: Jun 20, 2026

Updated: Jun 21, 2026

16 min read

Reviewed byRaymond Chen·Technical Director · Primepoly·Last reviewed: Jun 21, 2026
HDPE Pipe & Tanks for Rainwater Harvesting: Collecting, Storing & Distributing Rainwater the Right Way (2026)

Rainwater harvesting is one of the simplest ideas in water engineering — catch the rain off a roof, store it, use it — and one of the easiest to do badly. The pipes and the tank are the obvious parts, but the difference between a system that delivers clean water for decades and one that becomes a stagnant, algae-filled mosquito breeding ground comes down to a few unglamorous components most people leave out: the first-flush diverter, the calm inlet, the screened overflow, and simple light exclusion. Get those right, with durable corrosion-free HDPE doing the conveying and storing, and rainwater harvesting becomes a genuinely valuable supply — for irrigation, toilets and washing, or, with proper treatment, for drinking. This guide walks the whole system, the sizing maths, the quality components that matter, and where HDPE fits.

Why rainwater harvesting, and where HDPE fits

Rainwater harvesting captures a free, soft, locally-available water source that would otherwise run off and be lost — easing demand on mains supply and groundwater, reducing stormwater runoff, and providing resilience where supply is scarce or unreliable. It's especially valuable in water-stressed regions and for properties off the mains. HDPE earns its place throughout such a system for the same reasons it dominates water pipe generally: it's corrosion-free and won't rust or taint the water like galvanised steel, it's UV-stable in its black grades for the above-ground downpipes and tanks that rainwater systems inevitably have, it's leak-free when fused and comes as seamless one-piece rotomoulded tanks with no joints to weep, it's durable and lightweight for easy handling of long pipe runs and large tanks, and — when certified to NSF/ANSI 61 — it's safe for potable contact. From the downpipe to the storage tank to the distribution line, HDPE is the material that makes a rainwater system last as long as the idea deserves.

HDPE pipe and tanks for rainwater harvesting — corrosion-free conveyance, seamless one-piece storage and leak-free distribution, UV-stable for the above-ground runs every rainwater system has.
HDPE pipe and tanks for rainwater harvesting — corrosion-free conveyance, seamless one-piece storage and leak-free distribution, UV-stable for the above-ground runs every rainwater system has.

How a rainwater harvesting system works

A rainwater system is a chain from the roof to the point of use, and every link has a job — especially the few that protect water quality. The flowchart traces the full path. Skip the first-flush diverter, the calm inlet or the mosquito screen and the system still 'works' in the sense that water reaches the tap, but the water quality and the tank's longevity suffer; include them and a simple system delivers clean water reliably.

A rainwater harvesting system, end to end
Catchment: rain falls on the roof and runs to the gutters (1 mm on 1 m² = 1 litre, before losses).Conveyance: downpipes (and sometimes buried HDPE runs) carry the water toward the tank, through a leaf screen.First flush: a first-flush diverter dumps the dirty initial runoff (roof dust, droppings, debris) before clean water reaches the tank.Storage: water enters through a calm inlet into an opaque (light-excluding) tank with a mosquito-screened overflow.Distribution: gravity or a pump delivers the water through HDPE pipe to the point of use.Potable only: add fine filtration + disinfection and use NSF/ANSI 61-certified components, with backflow protection to the mains.

How much water can you harvest? The yield formula

The amount of rainwater you can collect follows a simple formula: harvestable water equals the rainfall depth times the catchment area times a runoff coefficient times a system (or filter) efficiency. The foundation is a neat unit identity — 1 millimetre of rain falling on 1 square metre of roof is exactly 1 litre — so a year of 800 mm rain on a 100 m² roof represents 80,000 litres of gross potential. The two multipliers then account for losses. The runoff coefficient captures what the roof itself loses to evaporation, wetting, splash and wind — about 0.8 to 0.95 for hard smooth roofs (see the table) — and the system efficiency captures what the rest of the system loses, mainly to the first-flush diversion and filter and overflow, typically around 0.75 to 0.95. (US guidance often folds both into a single collection-efficiency factor of about 0.80.) Applying, say, a 0.85 runoff coefficient and 0.9 system efficiency to that 80,000-litre roof yields about 61,000 litres a year of usable water. The formula is the starting point for every rainwater design.

Table 1 — Runoff coefficient by catchment surface
Roof / catchment surfaceRunoff coefficient
Hard, smooth roofs (metal, glazed tile)0.8 – 0.95
Tiles (unglazed / composition)0.8 – 0.9
Concrete / asphalt surfaces0.6 – 0.8
Gravel / green roofs~0.2 – 0.5 (much lower)

Sizing the storage tank

Sizing the tank is a balance between supply and demand, and both the rainfall pattern and the usage pattern matter more than the annual totals alone. On the supply side, what counts isn't just how much rain falls but how it's distributed through the year — a long dry season demands more storage to bridge it than the same annual rainfall spread evenly. On the demand side, the storage needs to cover the daily consumption through the dry spells you want the system to ride out. The simple design methods size the tank either from the demand (daily use times the number of days of autonomy you want) or from the supply (a fraction of the annual yield), and take the smaller, most cost-effective of the two. The two failure modes bracket the answer: an oversized tank wastes capital and lets water sit and stagnate, while an undersized tank overflows in every decent rain and throws away harvestable water. The right size is the one that captures most of the yield you can actually use without paying for storage that rarely fills.

The components that protect water quality

The quality of harvested rainwater is made or lost at a handful of components, listed in the table, and they're the parts cheap systems omit. The first-flush diverter discards the first flush of each storm — the runoff that carries the roof's accumulated dust, bird droppings, pollen and debris — into a dedicated chamber that drains away before clean water reaches the tank. The calm (or smoothing) inlet brings incoming water in low and gently so it doesn't stir up the sediment settled on the tank floor and so it oxygenates the lower water rather than letting it go stagnant. The overflow must be screened with fine mesh (commonly 1 mm or finer) to stop mosquitoes breeding and vermin entering while still letting the tank overflow safely. And light exclusion — an opaque, UV-stable tank and covered openings — denies algae the sunlight they need to grow. None of these are expensive, but each one prevents a specific, predictable failure, which is why a good rainwater system always includes them.

Table 2 — The water-quality components (and why each matters)
ComponentFunctionWhy it matters
Leaf guard / inlet screenKeeps leaves & coarse debris out of gutters/downpipesFirst line of defence; prevents blockages & debris in tank
First-flush diverterDumps the dirty first runoff of each stormWithout it: roof dust, bird droppings & bacteria enter the tank
Calm / smoothing inletDiffuses inflow low in the tankWithout it: stirred sediment clouds the water; poor oxygenation → stagnation
Overflow + mosquito screen (≤1 mm)Safe overflow; excludes pestsWithout it: mosquito breeding & vermin entry
Light exclusion (opaque tank)Keeps sunlight off the waterWithout it: algae bloom & biofouling
Distribution (gravity / pump)Delivers water to the point of useSized to demand; HDPE pipe keeps it leak-free
A practical walk-through of a rainwater harvesting system — catchment, first-flush, storage and distribution — illustrating how the pieces fit together end to end.

Potable vs non-potable: what changes

Most rainwater harvesting is for non-potable use — garden and crop irrigation, toilet flushing, laundry, vehicle and yard washing, and stock water — and for those uses the system described above, with first-flush, screening and a clean tank, is sufficient. Drinking water is a different bar. To make harvested rainwater potable you add, on top of the first-flush and screening, fine filtration (down to a few microns, often sediment plus carbon) and disinfection (ultraviolet, chlorination or an equivalent), and every wetted component — pipe, tank, fittings — should be certified for potable contact (NSF/ANSI 61) and made from food-grade material. Wherever a non-potable rainwater system can possibly connect to the mains drinking-water supply, backflow prevention (a dual-check valve or, for higher risk, an air gap or reduced-pressure zone device) is mandatory to stop the non-potable water ever flowing back into the potable network. The practical message is to be clear from the outset about which the system is: design and certify for non-potable by default, and add the treatment and certification properly if drinking water is the goal — don't blur the two.

Why HDPE for pipe, conveyance and tanks

Drawing the material thread together: HDPE is well suited to nearly every wetted part of a rainwater system. For conveyance — downpipes and the buried runs to the tank — it's corrosion-free and won't rust or contaminate the water as galvanised steel does, and its black grades are UV-stable for the inevitable above-ground sections. For storage, large rotomoulded or fabricated HDPE tanks are seamless and one-piece, eliminating the joints and seams that leak, and opaque to exclude the light that feeds algae. For distribution, fused HDPE pipe is leak-free and durable. Across all of it, HDPE is chemically inert, long-lived, lightweight enough to handle big tanks and long pipe by hand, fully recyclable, and — crucially for drinking-water systems — available certified to NSF/ANSI 61 for potable contact. It's the combination of corrosion immunity, UV stability, leak-free integrity and potable certification that makes HDPE the natural choice for a rainwater system meant to last.

5 design mistakes

  1. No first-flush diverter — the roof's accumulated dust, bird droppings and bacteria wash straight into the tank with the first rain.
  2. No mosquito-proofing or light exclusion — unscreened openings breed mosquitoes and sunlight on the water grows algae; screen the overflow (≤1 mm) and keep the tank opaque.
  3. Wrongly sized tank — undersized overflows and wastes yield every storm; oversized wastes capital and lets water stagnate.
  4. No calm inlet — turbulent inflow stirs up settled sediment and clouds the supply, and fails to oxygenate the lower water.
  5. Wrong materials — non-UV-stable pipe or tank above ground degrades and lets light in, and non-certified components on a system intended for drinking water.

Glossary

Catchment & runoff coefficient
The collecting surface (roof) and the fraction of rain it yields after evaporation/wetting losses — ~0.8–0.95 for hard smooth roofs.
First-flush diverter
A device that dumps the dirty first runoff of each storm (roof dust, droppings, debris) before clean water reaches the tank.
Calm / smoothing inlet
An inlet that brings water in low and gently so it doesn't stir settled sediment and helps oxygenate the lower water.
Light exclusion
Keeping sunlight out of the tank (opaque, UV-stable material; covered openings) to stop algae growth.
Yield formula
Harvestable water ≈ rainfall (mm) × area (m²) × runoff coefficient × system efficiency; 1 mm on 1 m² = 1 litre.
Potable vs non-potable
Most RWH is non-potable (irrigation/toilets); potable needs added filtration + disinfection and NSF/ANSI 61-certified components.

References & standards

  1. [1]Texas Water Development BoardTexas Manual on Rainwater Harvesting (3rd ed.)
  2. [2]Texas Water Development BoardRainwater volumes from roof runoff (formula & efficiency)
  3. [3]ARCSA / ASPEARCSA/ASPE 63 — rainwater catchment systems standard
  4. [4]ARCSAVirginia rainwater harvesting manual
  5. [5]NC State ExtensionMosquito control for rainwater harvesting systems
  6. [6]Brad LancasterWater harvesting calculations (yield & sizing)
  7. [7]Oklahoma State ExtensionDesign of rainwater harvesting systems
  8. [8]CARPHAFirst-flush diverters — techsheet

Frequently asked questions

You can estimate it with a simple formula: harvestable water equals the rainfall depth multiplied by the catchment (roof) area, multiplied by a runoff coefficient, multiplied by a system efficiency. The foundation is a tidy unit identity — 1 millimetre of rain falling on 1 square metre of roof is exactly 1 litre — so, for example, 800 mm of annual rain on a 100 square-metre roof represents 80,000 litres of gross potential. From that gross figure you subtract losses using two factors. The runoff coefficient accounts for what the roof surface itself loses to evaporation, wetting, splash and wind, and it's about 0.8 to 0.95 for hard, smooth roofs like metal or glazed tile (lower for rough or absorbent surfaces). The system efficiency accounts for what the rest of the system loses, chiefly to the first-flush diversion, the filter and overflow, and it's typically around 0.75 to 0.95 (US guidance often combines both into a single collection-efficiency factor of roughly 0.80). Applying, say, a 0.85 runoff coefficient and a 0.9 system efficiency to that 80,000-litre roof gives about 61,000 litres a year of usable water. So the practical method is: take your local annual rainfall in millimetres, multiply by your roof's plan area in square metres to get litres, then multiply by your roof's runoff coefficient and a system efficiency to get a realistic harvestable figure.
A first-flush diverter is a simple device that discards the first portion of runoff at the start of each rain event, before the water is allowed into the storage tank — and yes, you almost always want one, because it's one of the cheapest and most effective protections for water quality. Between storms, a roof accumulates dust, bird and animal droppings, pollen, leaf litter and the bacteria that come with them, and when the rain starts it washes all of that off first. The first-flush diverter routes that initial dirty runoff into a dedicated chamber that fills up and is then bypassed, so once it's full the cleaner water that follows flows on into the tank; the diverted chamber drains slowly to waste between events so it's ready for the next storm. A common rule of thumb is to divert on the order of 0.2 to 0.4 litres per square metre of roof (more in dusty or heavily wooded, bird-frequented areas). Without a first-flush diverter, all that roof contamination goes straight into your stored water, degrading its quality, feeding sediment and biofilm, and making any downstream treatment work harder. It's a small, inexpensive component that prevents a very predictable problem, which is why every well-designed rainwater system includes one.
You can, but only if the system is specifically designed and equipped for potable use — most rainwater harvesting is intended for non-potable purposes, and treating the two the same is a mistake. For non-potable uses — garden and crop irrigation, toilet flushing, laundry, washing vehicles, and stock water — a standard system with a first-flush diverter, inlet screening and a clean, light-excluded tank is sufficient, and this is the majority of rainwater harvesting. To make the water safe to drink, you need to add more: on top of the first-flush and screening, fine filtration (often down to a few microns, typically sediment filtration plus activated carbon) and disinfection (ultraviolet treatment, chlorination, or an equivalent), and every wetted component — the pipe, the tank and the fittings — should be certified for potable contact to NSF/ANSI 61 and made from food-grade material. In addition, wherever a rainwater system could possibly cross-connect with the mains drinking-water supply, backflow prevention is mandatory to stop non-potable water flowing back into the potable network. So the honest answer is: rainwater can be made potable with proper filtration, disinfection and certified materials, but you should decide up front whether the system is potable or non-potable and build it accordingly, rather than assuming untreated rainwater from a basic system is safe to drink.
Because a rainwater system has to survive years of outdoor exposure, store water without tainting it, and stay leak-free, and HDPE meets all of those demands. It's corrosion-free, so unlike galvanised steel it won't rust or leach metals into the water — important for a supply you may eventually want to drink. Its black, carbon-stabilised grades are UV-stable, which matters because rainwater systems always have above-ground elements: downpipes, exposed tanks and fittings that sunlight would degrade in lesser materials. It's leak-free: fused HDPE pipe has monolithic joints, and large HDPE storage tanks are rotomoulded as seamless, one-piece vessels with no seams or joints to weep. Being opaque, an HDPE tank also excludes the sunlight that algae need to grow, protecting water quality. It's chemically inert and long-lived, lightweight enough to handle long pipe runs and big tanks without heavy equipment, and fully recyclable at end of life. And crucially, when the application is drinking water, HDPE is available certified to NSF/ANSI 61 for potable contact. From the downpipe to the storage tank to the distribution line, that combination of corrosion immunity, UV stability, leak-free integrity, durability and potable certification is why HDPE is the natural material choice for a rainwater harvesting system built to last.
The right tank size comes from balancing how much water you can supply against how much you'll use, and it depends as much on the pattern of rainfall and demand as on the totals. On the supply side, what matters isn't just your annual rainfall but how it's distributed through the year: a climate with a long dry season needs a bigger tank to bridge the gap than one with the same annual rainfall spread evenly, because the tank has to store enough during the wet period to carry you through the dry one. On the demand side, the tank needs to hold enough to cover your daily consumption through the dry spells you want the system to ride out. The simple design methods size the tank either from demand (your daily use multiplied by the number of days of autonomy you want) or from supply (a fraction of the annual yield, such as the intermediate rules used in rainwater codes), and you generally take the smaller, most cost-effective of the two. The two ways to get it wrong frame the answer: an undersized tank overflows in every good rain and throws away water you could have captured, while an oversized tank wastes capital and lets water sit long enough to stagnate. So the best size is the one that captures most of the yield you can actually use, sized to your local rainfall pattern and your real demand, rather than simply the biggest tank you can afford.

Need expert advice on your project?

Our engineering team helps utilities, contractors and EPCs specify the right pipe material and SDR for their project. Get a no-obligation technical consultation.

Talk to an engineer