Refill, Flow & Time
Pipe Size Flow Rate Calculator
Given a pipe, a length and a pressure difference, the flow is set by a balance: the available head is consumed by friction along the line. The Hazen-Williams equation is the standard empirical way to describe that balance for water, with a coefficient C that captures how smooth the pipe is inside.
This calculator converts the pressure into metres of head, subtracts any pressure needed at the outlet and the height the water must rise, and solves Hazen-Williams for the resulting flow. It also reports velocity and friction loss so you can judge whether the proposed pipe size is sensible. Local losses at fittings are not included.
Calculator
How to use this calculator
- Enter the internal diameter of the pipe. For Schedule 40 PVC, ½ inch is about 0.622 in bore and 1 inch about 1.049 in; using the outside diameter can overstate flow because flow scales with diameter to the 2.63 power.
- Enter the pipe length, adding an allowance for fittings or using their equivalent lengths.
- Enter the supply pressure and the pressure needed at the far end. A freely discharging open pipe needs 0 at the outlet.
- Add the height the water must rise, choose a material for the Hazen-Williams C, and read the flow, velocity and friction loss.
The formula
hf = supplyHead − outletHead − riseS = hf ÷ lengthQ = 0.2785 × C × D2.63 × S0.54v = Q ÷ A · A = π(D ÷ 2)²Q in m³/s with D in metres and S in m/m. 1 psi ≈ 0.703 m water ≈ 2.31 ft water.
Variables
| Symbol | Meaning | Unit | Note |
|---|---|---|---|
D | Inner diameter | m | Converted from inches, millimetres, centimetres or feet. |
C | Hazen-Williams coefficient | — | 150 PVC/HDPE, 140 copper, 130 new cast iron, 120 galvanised, 100 aged steel. |
hf | Friction head available | m | Supply head minus outlet requirement and elevation rise. |
S | Hydraulic gradient | m/m | Available head divided by pipe length. |
Q | Flow rate | m³/s | Solved from Hazen-Williams, then converted to GPM or L/min. |
v | Water velocity | m/s | Flow divided by cross-sectional area. |
Hazen-Williams C by material
| Material | C | Notes |
|---|---|---|
| PVC / HDPE | 150 | Smooth plastic, common default for new mains |
| Copper | 140 | New drawn copper tube |
| Cast iron, new | 130 | Falls substantially with corrosion |
| Galvanised steel | 120 | New; older zinc-coated pipe is lower |
| Aged steel | 100 | Typical older installation |
| Badly corroded pipe | 60–80 | Not offered here; measure or replace |
Flow is directly proportional to C, so a C of 150 carries about 50% more than a C of 100 at the same head.
Recommended flow velocities
| Application | Desirable m/s | Upper m/s |
|---|---|---|
| Residential supply | 0.9–1.5 | 2.4 |
| Irrigation mains | 0.9–1.8 | 3.0 |
| Fire mains | 1.5–3.0 | 4.5 |
| Industrial process | 1.5–3.0 | 4.5 |
These are conventional ranges rather than code limits. Manufacturer guidance and local regulations prevail.
Limits of the Hazen-Williams estimate
Hazen-Williams applies to water at ordinary temperatures and to fully flowing pipes. It does not apply to gases or to very high viscosity liquids. This calculator treats all the available head as pipe friction, so elbows, valves, meters and backflow devices are omitted; add their equivalent length or use a hydraulic model for a final design. A friction-only result should be checked against the pump curve before purchase.
Worked example
A gravity line from a hill tank: 15 m head, 200 m of 2-inch Schedule 40 PVC (2.067 in bore), open outlet, C = 150.
- Convert diameter: 2.067 in × 0.0254 = 0.0525 m.
- Gradient S = 15 ÷ 200 = 0.075 m/m.
- Q = 0.2785 × 150 × 0.0525^2.63 × 0.075^0.54 ≈ 0.00444 m³/s.
- That is about 266 L/min or 70 US GPM; velocity ≈ 2.05 m/s, near the upper residential range.
- The full 15 m head (about 21.3 psi) is consumed by friction. A 1-inch line would carry only about 45 L/min.
Result: About 266 L/min (70 GPM) through the 2-inch line, with a velocity near 2 m/s.
Frequently asked questions
How do I calculate flow rate from pipe size and pressure?
Convert pressure to head, subtract outlet needs and elevation, divide by pipe length to get the gradient, then solve Hazen-Williams for Q.
What pipe size do I need for a given flow in GPM?
Rearrange Hazen-Williams for diameter using a target velocity around 1.5 m/s. At that speed Schedule 40 sizes carry roughly 4.7, 8.3, 13.5 and 31.7 GPM for ½, ¾, 1 and 1½ inch.
What is the difference between GPM and LPM?
One US gallon is 3.785411784 litres, so 1 GPM equals 3.785 L/min.
What is a good residential pipe flow velocity?
About 0.9–1.5 m/s. Below 0.6 m/s sediment can settle; above 2.4 m/s noise, water hammer and erosion become likely.
Does pipe material change the flow?
Yes. Flow is proportional to the Hazen-Williams C, so smooth PVC at C 150 passes roughly 50% more than aged steel at C 100.
How does pipe length affect flow?
Flow scales approximately with length to the power −0.54, so doubling the length cuts flow by roughly 31% at the same pressure.
Can I use this calculator for gas pipes?
No. Hazen-Williams is for incompressible water. Gas sizing uses compressible-flow equations such as AGA or Weymouth.
Sources and verification
- Hazen-Williams formula reference — Standard water-distribution hydraulics and friction-loss practice.
- ASTM D1785 — PVC pipe dimensions — Schedule 40 nominal sizes and actual inside diameters.
- NIST Guide to the SI — Pressure-to-head and length conversions.
Formula verification uses published references and hand-checked examples. We do not claim a named professional has reviewed this page; the method and sources are published instead.
Results are estimates for general information, based on standard geometry, hydraulics and published reference values. They are not engineering, medical, legal or professional advice. Verify critical calculations with a qualified professional and check local requirements.
Keep calculating
Tank Refill Time Calculator
Work out how long a tank takes to fill from its volume and the net flow arriving at it.
Water Flow Rate Calculator
Convert pipe diameter and velocity — or a timed volume — into flow in nine common units.
Tank Drainage Time Calculator
Estimate how long it takes to empty a tank by steady pumping or by gravity through an outlet.
Water Pressure Calculator
Work out the static pressure delivered by a raised water tank from tank height, water depth and outlet elevation.