Pipe Size Calculator
Enter flow rate, pipe length, allowable head loss, and pipe material to calculate the minimum required pipe diameter using the Hazen-Williams formula.
Pipe Size Inputs
GPM
ft
ft
Fill in the inputs and click Calculate
to find the minimum pipe size.
Recommended Standard Pipe Size
Min. Calculated Diameter
Hazen-Williams C
Velocity (std pipe)
Recommended < 8 ft/s
Head Loss / 100 ft
in selected std pipe
Nearby Standard Pipe Sizes
| Nominal | ID (in) | ID (mm) | Velocity | HL/100ft |
|---|
Formula:
Q = 0.4322 × C × d2.63 × (hf/L)0.54
— Solved for d: d = (Q / (0.4322 × C × (hf/L)0.54))1/2.63
Summary
Enter flow rate, pipe length, allowable head loss, and pipe material to calculate the minimum required pipe diameter using the Hazen-Williams formula.
How it works
- Select your unit system: US customary (GPM, feet, psi) or metric (L/min, meters, kPa).
- Enter the design flow rate in gallons per minute (GPM) or liters per minute (L/min).
- Enter the total pipe length in feet or meters.
- Enter the allowable head loss in feet or meters (or pressure drop in psi/kPa).
- Select the pipe material to set the Hazen-Williams C factor.
- Click Calculate to see the minimum pipe diameter and the recommended standard pipe size.
Use cases
- Sizing water supply lines for residential or commercial buildings.
- Designing irrigation systems and selecting the correct pipe diameter.
- Verifying that an existing pipe can handle a proposed flow increase.
- Engineering fire-suppression system supply lines.
- Estimating pipe diameters for HVAC chilled-water loops.
- Teaching fluid mechanics and pipe flow to engineering students.
- Checking contractor pipe specifications before construction begins.
Frequently Asked Questions
Last updated: 2026-06-11 ·
Reviewed by Nham Vu