Pipe run · calculator
Water Pipe Size Calculator: Required Diameter from GPM & Velocity
Estimate the required inside diameter for a target GPM, available pressure loss, pipe length, and Hazen-Williams coefficient.
Method record
What this calculator measures
This rearranges the Hazen-Williams equation to solve for hydraulic inside diameter. Actual pipe products vary by material and schedule.
d = [4.52 × L × Q¹·⁸⁵ ÷ (ΔP × C¹·⁸⁵)]¹/⁴·⁸⁷ Use it correctly
Calculation steps
- Set required design GPM.
- Allocate pressure loss to this pipe run.
- Choose a real pipe ID at or above the calculated result.
Applicability
Use the model within its limits
Final sizing must also check velocity, fittings, elevation, future demand, and applicable plumbing or fire codes.
What this result represents
- System
- Pipe run
- Formula
- d = [4.52 × L × Q¹·⁸⁵ ÷ (ΔP × C¹·⁸⁵)]¹/⁴·⁸⁷
- Review
- Verify safety-sensitive work with qualified guidance.
Worked Field Example
Worked Example: Sizing a Building Water Supply Header
Field Scenario: Determining minimum inside diameter to deliver 65 GPM while restricting maximum velocity to 5.5 ft/s to minimize water hammer risk.
Given Input Parameters
Step-by-Step Mathematical Solution
- Apply sizing formula: d = √[(0.4085 × Q) / v] = √[(0.4085 × 65.0) / 5.5].
- d = √[26.5525 / 5.5] = √4.8277 ≈ 2.197 inches minimum ID.
- Compare schedules: 2" Sch 40 PVC has ID = 2.067" (v = 6.22 ft/s). 2-1/2" Sch 40 PVC has ID = 2.469" (v = 4.36 ft/s).
Select nominal 2-1/2" Schedule 40 PVC pipe (ID = 2.469 in, velocity = 4.36 ft/s).
Professional Guidance: Selecting 2-1/2" keeps velocity safely at 4.36 ft/s, cutting friction loss by 45% compared to 2" pipe.
Engineering FAQs
Frequently Asked Questions
Can I size a pipe based purely on nominal pipe size (NPS)?
No. Nominal pipe size is only a manufacturing designator. A 1" Schedule 40 PVC pipe has an ID of 1.049", while a 1" Schedule 80 PVC pipe has an ID of 0.957", and 1" Type K copper has an ID of 0.999". Velocity and friction must always be calculated using the exact internal diameter.
How does pipe sizing affect ongoing pump operating costs?
Undersizing a pipe by just one nominal diameter can double or triple friction head loss (since friction scales inversely with diameter to the 4.87 power). This forces pumps to operate against higher head, drastically increasing annual electrical kilowatt-hour consumption.
What safety factor should be applied when sizing supply piping?
Engineers typically design for peak instantaneous demand (using fixture units per IPC/UPC) rather than average demand, adding a 10% to 20% margin for future expansion or pipe wall aging.