Collecting rainwater from your roof is one of the simplest ways to reduce your water bill and provide a backup source for irrigation during dry spells. A basic system is cheap to build, and even a small 500-gallon tank can supply weeks of garden irrigation in many climates. Getting the math right upfront means you won't build a system that overflows in every rainstorm or runs dry after a week.
The basic formula for rainwater harvest potential is: roof collection area (sq ft) x rainfall (inches) x 0.623 x collection efficiency. The 0.623 factor converts inches of rainfall over square feet into gallons. Collection efficiency accounts for first-flush losses, evaporation, and splashout. For a properly designed system with a first-flush diverter, this is typically 80-90%, so use 0.85 as a practical factor. Example: a 1,500 sq ft roof footprint (use the horizontal footprint, not the actual sloped roof area) with 2 inches of rain produces about 1,500 x 2 x 0.623 x 0.85 = 1,589 gallons in a single rain event. Your annual harvest potential is roof area x annual rainfall (in inches) x 0.623 x 0.85.
Tank sizing depends on two things: how much water you want to store between rain events, and how much you'll actually use. For landscape irrigation, a common rule is to size for 2-4 weeks of typical water demand between rain events. A vegetable garden of 500 square feet uses roughly 1-2 inches of water per week, or about 300-600 gallons. A 1,000-gallon tank covers a month of irrigation for that garden. Larger tanks (1,500-5,000 gallons) make sense for larger lots, supplemental toilet flushing, or areas with long dry seasons. Above-ground poly tanks are the most affordable option ($0.50-$1.00 per gallon capacity). Buried cisterns (concrete or fiberglass) are invisible and keep water cool but cost 3-5x more to install.
The first water off a roof after a dry period carries the highest concentration of bird droppings, dust, and shingle grit. A first-flush diverter automatically discards the initial portion of runoff (typically 1 gallon per 100 square feet of roof) before directing cleaner water to the tank. This one component significantly improves the water quality in your tank and reduces how often you need to clean it. First-flush diverters are inexpensive ($30-$80) and are one of the best investments in a collection system.
Rainwater collection is legal in most of the United States, but regulations vary significantly by state. Colorado historically had the strictest limits (only 2 x 55-gallon barrels permitted) but has expanded allowances for residential use in recent years. Texas actively encourages rainwater harvesting and prohibits HOAs from banning collection systems. Utah, Washington, and Oregon allow collection with registration or permit requirements. A handful of states have no regulation at all. Check your state's water rights agency or environmental department before investing in a large system, and note that local ordinances and HOA rules may add another layer of restrictions beyond state law.
A functional rainwater collection system for irrigation requires: gutters and downspouts on the house (already present on most homes), a downspout diverter to redirect water to your collection pipe, a first-flush diverter, your storage tank with an overflow outlet, a mesh inlet screen to exclude mosquitoes and debris, and a spigot or pump to access the stored water. For gravity-fed drip irrigation, the tank needs to be elevated at least 3-4 feet above the garden for adequate pressure. A simple wooden platform achieves this. For a hose or sprinkler, a small 1/10 HP submersible pump ($60-$120) provides adequate pressure.
Rainwater collected from asphalt shingles and standard aluminum gutters is suitable for irrigation but is not potable without additional treatment. Wood-shake roofs, roofs with moss treatments or zinc strips, and painted roofs can leach compounds into the water that make it unsuitable even for vegetable gardens. For edible gardens, apply collected water to the soil rather than on the foliage or fruit directly, as a precaution. For potable use (drinking water), the system requires multi-stage filtration and disinfection (sediment filter, carbon filter, UV sterilization) and periodic water quality testing. Potable rainwater systems are well-established in rural areas and on rainwater-dependent islands, but require significantly more investment and ongoing maintenance than an irrigation-only system.