Proper mainline sizing is critical for any irrigation system. An undersized mainline leads to excessive friction losses, reduced pressure at emitters, and poor uniformity. An oversized mainline wastes money on pipe and fittings. This article presents a detailed worked example for sizing the mainline of a mixed-use irrigation system serving both drip irrigation and sprinkler zones. We'll walk through flow rate determination, pipe material selection, friction loss calculations using the Hazen-Williams coefficients, velocity checks, and final pipe selection with real-world cost data from US retailers.

The example site is a 2.5-acre residential property in California with a mix of turf areas (sprinklers) and shrub beds (drip). The water source is a municipal supply at 60 psi static pressure. The mainline runs 400 ft from the point of connection to the farthest zone valve. We'll size the mainline for both friction loss and velocity limits, then compare PVC and polyethylene options.

Step 1: Determine Total Flow Demand

The first step in mainline sizing is to calculate the total flow required when all zones that could operate simultaneously are running. In residential irrigation, it's common to design for simultaneous operation of multiple zones unless a controller is programmed to prevent overlap. For this example, we assume the controller can manage up to two zones at once, but we will design for the worst case: the largest single zone plus any concurrent drip zones.

We have the following zones:

  • Zone A: Turf area, 8 rotary sprinklers at 3.5 gpm each = 28 gpm
  • Zone B: Turf area, 6 rotary sprinklers at 4.0 gpm each = 24 gpm
  • Zone C: Shrub bed, drip tubing with 200 emitters at 0.6 gph each = 2.0 gpm
  • Zone D: Shrub bed, drip tubing with 150 emitters at 0.9 gph each = 2.25 gpm

The largest single zone is Zone A at 28 gpm. If we design for simultaneous operation of Zone A plus one drip zone (say Zone D at 2.25 gpm), the total flow is 30.25 gpm. To be conservative, we'll round up to 31 gpm. This is the design flow for the mainline.

Step 2: Select Pipe Material and Schedule

Common materials for irrigation mainlines are PVC (polyvinyl chloride) and polyethylene (poly pipe). PVC is rigid, strong, and has low friction loss, but requires glue joints and is susceptible to sun damage if not buried. Polyethylene is flexible, easier to install with barbed fittings, and more resistant to freezing, but has higher friction loss for the same diameter.

For this example, we'll consider Schedule 40 PVC, which is typical for residential mainlines in California. The Hazen-Williams coefficient for new PVC is 150. For polyethylene, the coefficient is typically 140. We'll use PVC for the mainline due to lower friction loss and lower cost per foot at larger diameters.

We will evaluate two candidate sizes: 1.5-inch and 2-inch Schedule 40 PVC. Smaller sizes (1 inch or less) would have excessive friction loss at 31 gpm, and larger sizes (2.5 inch) may be overkill.

Step 3: Calculate Friction Loss Using Hazen-Williams

The Hazen-Williams formula for friction loss in pipes is:

hf = 10.67 * L * (Q / C)^1.852 / (d^4.87)

where hf is friction loss in feet of head, L is pipe length in feet, Q is flow in gpm, C is the Hazen-Williams coefficient, and d is the inside diameter in inches. For Schedule 40 PVC, the inside diameters are: 1.5-inch = 1.610 in, 2-inch = 2.067 in. For polyethylene (SDR 11), 1.5-inch ID = 1.610 in (similar), 2-inch ID = 2.067 in (but C=140).

For a 400 ft mainline at 31 gpm, let's compute:

  • 1.5-inch PVC (C=150): hf = 10.67 * 400 * (31/150)^1.852 / (1.610^4.87) ≈ 10.67 * 400 * (0.2067)^1.852 / (1.610^4.87). First, (0.2067)^1.852 = 0.2067^1.852. Using log: 1.852 * log(0.2067) = 1.852 * (-0.6845) = -1.267, so antilog = 0.0541. Next, 1.610^4.87: log(1.610)=0.2068, times 4.87=1.007, antilog=10.16. So hf = 10.67 * 400 * 0.0541 / 10.16 = (10.67*400*0.0541)/10.16 = (231.0)/10.16 = 22.74 ft. 22.7 ft of head loss.
  • 2-inch PVC (C=150): hf = 10.67 * 400 * (31/150)^1.852 / (2.067^4.87). (2.067^4.87): log(2.067)=0.3153, times 4.87=1.535, antilog=34.31. So hf = 10.67*400*0.0541 / 34.31 = 231.0 / 34.31 = 6.73 ft. 6.7 ft of head loss.

For comparison, 1.5-inch polyethylene (C=140) would be slightly higher: (31/140)^1.852 = (0.2214)^1.852 = 0.2214^1.852. 1.852*log(0.2214)=1.852*(-0.6547)= -1.212, antilog=0.0614. Then hf = 10.67*400*0.0614 / 10.16 = 262.0 / 10.16 = 25.8 ft. So 1.5-inch poly loses about 26 ft, which is even worse.

Clearly, 1.5-inch PVC is borderline: 22.7 ft loss in 400 ft is significant. If we have 60 psi static (138 ft of head), the pressure at the end would be 60 - (22.7 * 0.433) ≈ 60 - 9.8 = 50.2 psi. That's acceptable for most sprinklers (which need 40-50 psi), but drip systems often need pressure regulation down to 20-30 psi. However, the mainline is before zone valves; the pressure loss in the mainline reduces pressure available at each valve. For the drip zones, we would use pressure regulators anyway. But for sprinkler zones, 50 psi is fine. However, we also need to account for velocity.

Step 4: Check Flow Velocity

High velocity in pipes can cause water hammer, erosion, and noise. For irrigation mainlines, a typical maximum velocity is 5 ft/s for PVC, though some recommend up to 8 ft/s for short bursts. For polyethylene, lower velocities (3-5 ft/s) are recommended due to flexibility. The velocity formula: V = Q / (A * 448.83) where Q in gpm, A in sq ft. For 1.5-inch PVC (ID=1.610 in, area=0.01414 sq ft): V = 31 / (0.01414 * 448.83) = 31 / 6.347 = 4.88 ft/s. That's under 5 ft/s, so acceptable. For 2-inch PVC (ID=2.067 in, area=0.02330 sq ft): V = 31 / (0.02330 * 448.83) = 31 / 10.46 = 2.96 ft/s. Very safe. For 1.5-inch poly, same ID, velocity same 4.88 ft/s, but poly often limits to 3-4 ft/s, so 4.88 might be high. That's another reason to avoid 1.5-inch poly.

Given the friction loss and velocity, 1.5-inch PVC is marginal but acceptable if pressure is sufficient. However, we should also consider future expansion or additional zones. It's common to size the mainline for the maximum possible flow, even if not all zones run simultaneously. For a 2.5-acre property, the maximum potential flow if all zones ran at once would be 28+24+2+2.25 = 56.25 gpm. That would require a larger pipe. But with smart controllers, simultaneous operation is limited. We'll proceed with 1.5-inch PVC as the base case, but also evaluate 2-inch for comparison.

Step 5: Account for Fittings and Valves

Fittings (elbows, tees, valves) add equivalent length to the pipe. A common rule of thumb is to add 10-20% to the pipe length for fittings. For a 400 ft mainline with a few elbows and a gate valve, we'll add 15%: equivalent length = 400 * 1.15 = 460 ft. Recalculate friction loss for 1.5-inch PVC: hf = 10.67 * 460 * 0.0541 / 10.16 = (10.67*460*0.0541)/10.16 = (265.6)/10.16 = 26.1 ft. That's 26 ft of head loss, which reduces pressure to 60 - (26*0.433) = 60 - 11.3 = 48.7 psi. Still acceptable for sprinklers, but getting tight. For 2-inch PVC: hf = 10.67*460*0.0541 / 34.31 = 265.6/34.31 = 7.74 ft. Pressure at end = 60 - (7.74*0.433) = 60 - 3.35 = 56.65 psi. Much better.

If we use 1.5-inch PVC, we must ensure that the pressure at the farthest sprinkler meets the manufacturer's minimum. For Hunter I-20 rotors, minimum pressure is 40 psi. With 48.7 psi, we have margin. However, if there are elevation changes (e.g., uphill), we lose additional pressure. Assume a 10 ft elevation rise: that's 4.33 psi loss. Then pressure becomes 48.7 - 4.33 = 44.4 psi, still above 40. So 1.5-inch PVC works, but barely. For a more robust design, 2-inch PVC is safer.

Step 6: Cost Comparison and Final Selection

Let's compare costs from Home Depot (California prices as of 2025). For Schedule 40 PVC:

  • 1.5-inch: $0.85 per ft (400 ft = $340)
  • 2-inch: $1.20 per ft (400 ft = $480)
  • Fittings: 1.5-inch elbows $2 each, 2-inch elbows $3 each; valves: 1.5-inch $25, 2-inch $35. Assume 4 elbows and 1 gate valve: 1.5-inch fittings cost $8+$25=$33; 2-inch: $12+$35=$47.
  • Total material: 1.5-inch = $340+$33=$373; 2-inch = $480+$47=$527.
  • Difference: $154.

Labor for installation is similar; larger pipe is slightly heavier but not significantly more labor. For a 400 ft trench, the extra $154 is a small premium for better performance and future-proofing. Considering the pressure margin and lower velocity, 2-inch Schedule 40 PVC is the recommended choice for this mainline.

If budget is tight, 1.5-inch PVC is possible but requires careful pressure management and no future expansion. For drip irrigation zones, the mainline pressure loss is less critical because regulators reduce pressure anyway, but the sprinkler zones need adequate pressure. We'll go with 2-inch.

Step 7: Verify Pressure at Zone Valves

With 2-inch PVC, pressure at the end of mainline is about 56.7 psi (with 15% fittings). At the farthest zone valve (assume 50 ft lateral from mainline, 1-inch PVC, 10 gpm), additional friction loss is small. For sprinkler zones, the valve outlet pressure is essentially the mainline pressure minus losses in the valve and lateral. A typical valve loss is 2-3 psi. So available pressure at sprinkler heads is around 54 psi. That's excellent. For drip zones, we install a pressure regulator (e.g., 25 psi) to reduce pressure down to 20-30 psi. The mainline pressure of 56 psi is well above the regulator's inlet requirement (typically 10 psi minimum).

If we had chosen 1.5-inch PVC, the pressure at the end would be ~48.7 psi, still workable but with less margin. The pipe velocity limits article discusses why staying under 5 ft/s is important for PVC. Our 2-inch design has velocity under 3 ft/s, which is excellent for reducing water hammer risk. For more on water hammer, see water hammer causes and prevention.

Conclusion

This example demonstrates the step-by-step process of sizing an irrigation mainline for a mixed-use system. By calculating total flow demand, selecting pipe material, computing friction loss with Hazen-Williams, checking velocity, and considering costs, we arrived at a 2-inch Schedule 40 PVC mainline as the optimal choice. The 2-inch pipe provides ample pressure and low velocity, ensuring long-term performance and flexibility. For other projects, the same methodology applies: always verify with actual site conditions, including elevation changes and future expansion plans. For more detailed hydraulic calculations, refer to the complete guide to hydraulic calculations.

Related Articles

  • The Complete Guide to Hydraulic Calculations for Engineers and Designers
  • Hazen-Williams Coefficients Table
  • Pipe Velocity Limits
  • Water Hammer Causes and Prevention
  • Economic Pipe Diameter