Pipe Flow Calculator
Work out the GPM a pipe delivers from available pressure, size, length and material — or the psi lost at a given flow. Hazen-Williams, NFPA 13 form.
Pipe Flow Calculator
Background.
People search for a "psi to gpm" conversion every day, and there isn't one. Pressure and flow are not two units of the same thing, any more than voltage and current are. What actually exists is a relationship: a specific pipe, of a specific bore, over a specific length, with a specific internal roughness, will pass a certain flow when a certain amount of pressure is spent pushing water through it. Give the calculator those four things and it will give you the gallons per minute. That is what this page does, and it is the honest version of the question people are really asking.
The relationship used here is Hazen-Williams, in the US customary form NFPA 13 specifies for sprinkler hydraulics and that plumbing designers use for water piping: friction loss in psi per foot equals 4.52 times flow to the power 1.85, divided by the roughness coefficient to the power 1.85 times the internal diameter to the power 4.87. Multiply the per-foot loss by the total equivalent length and you have the pressure the run costs you. Rearrange it and you get the flow a given pressure buys. The calculator does both, and the two modes are exact inverses of each other — a test asserts that solving for flow at 20 psi and feeding the answer back returns 20 psi.
Look at the exponents, because they explain almost everything counter-intuitive about water piping. Flow appears to the power 1.85, so doubling the flow does not double the pressure loss, it multiplies it by about 3.6. Diameter appears to the power 4.87, so a pipe one size up is dramatically better than a longer or smoother pipe of the old size: going from a 3/4 inch copper bore of 0.785 inches to a 1 inch bore of 1.025 inches is only a third more diameter, but it cuts friction loss at the same flow by more than two thirds. This is why plumbers reach for a larger line rather than a smoother one, and why a single undersized section can throttle an otherwise generous system.
The one input that trips people is the pressure. The field asks for the pressure available for friction, and that is not the pressure on your gauge. From your static supply pressure you first subtract the elevation gain to the highest fixture at 0.433 psi per foot, then the loss through the water meter, then the backflow preventer, then the water heater and any filter or softener, and then the minimum pressure the fixture itself needs to work — commonly 8 to 20 psi depending on the fitting. Whatever is left over is what the pipe run may spend, and that is the number to enter. Putting the full static pressure in this field will overstate the flow substantially.
The C factor is the other judgement call. It is a roughness coefficient, and it describes the pipe's condition as much as its material: 150 for copper and listed plastics, 140 for cement-lined cast or ductile iron, 120 for wet-system steel and galvanised pipe, 100 for unlined cast iron and dry-system steel. A forty-year-old tuberculated galvanised line can be well below 100, which is why an old house loses pressure that the original design should have delivered. Because different authorities publish slightly different tables, C is an editable number here rather than a hidden constant.
The worked example is 100 feet of 3/4 inch Type L copper with 40 feet of fitting equivalent length, so 140 feet in total, C of 150, and 20 psi available for friction. The answer is 12.2575620048 gallons per minute — but read the velocity beside it, because it is 8.1255803164 feet per second, which is above the Copper Development Association's recommended 8 ft/s ceiling for cold water in copper. The pressure will push that much water through the pipe; the pipe should not be asked to carry it, because water moving that fast strips the protective oxide film and causes erosion-corrosion at the fittings. Pressure was not the binding constraint here. Velocity was.
Finally, the scope. Hazen-Williams is an empirical correlation for water only, in turbulent flow, at ordinary temperatures of roughly 40 to 75 °F. It is not valid for other liquids, for laminar flow, for compressible fluids, or for water far outside that band. And a friction calculation is not a design: water distribution sizing is governed by the plumbing code your jurisdiction has adopted, sprinkler hydraulics by NFPA 13 as adopted and amended, adopted editions and local amendments vary between jurisdictions, and a licensed plumber — or a licensed fire protection engineer for sprinkler work — must sign off before anything is installed.
What is pipe flow calculator?
Pipe flow, in the plumbing sense, is the volume of water per unit time a pipe will carry under a given pressure difference. It is limited by three separate things at once: the pressure available to overcome friction, the friction the pipe itself imposes, and the velocity limit the pipe material can tolerate. A design is only acceptable when all three are satisfied, which is why this page reports flow, pressure loss and velocity together rather than one in isolation.
The key vocabulary is developed length, equivalent length, friction loss, roughness coefficient and velocity. Developed length is the distance measured along the pipe, following every offset. Equivalent length is the extra pipe an elbow, tee, valve or meter behaves like — a fitting-rich run can easily add 25 to 50 percent to the effective length. Friction loss is the pressure that disappears into turbulence and wall shear, expressed either as total psi over the run or as psi per 100 feet, the form printed friction charts use. The roughness coefficient C is Hazen-Williams' single empirical description of how smooth the pipe wall is.
This calculator handles one pipe of one size at a time. It does not size a whole system, distribute demand across branches, apply fixture-unit diversity, account for elevation, simultaneous use or pressure-reducing valves, or check any code requirement. It computes one leg of the hydraulic picture accurately so you can assemble the rest.
How to use this calculator.
- Choose whether you are solving for flow rate or for pressure loss. Solving for flow answers "how many GPM will I get?"; solving for pressure loss answers "what will this flow cost me in psi?"
- Choose the pipe material and schedule or tube type, then the nominal size. This sets the actual bore, which the friction loss depends on to the power 4.87 — it is by far the most sensitive input. For 3 in and larger, choose Custom and enter the bore directly.
- Set the C factor for the pipe's material and condition. Use 150 for copper and listed plastics, 140 for cement-lined iron, 120 for wet-system steel, 100 for unlined cast iron, and lower for old corroded pipe.
- Enter the developed length, measured along the pipe rather than point to point.
- Add the equivalent length of the fittings and valves. Use your fitting-allowance table for real work; 25 to 50 percent of the developed length is a rough first pass.
- In flow mode, enter the pressure available for friction — the static pressure minus elevation, meter, backflow preventer, heater and the pressure the fixture itself needs. In pressure-loss mode, enter the flow instead.
- Read the flow rate, then check the velocity beside it against the limit for your material before accepting the answer.
- Confirm the design against your adopted plumbing code and have a licensed professional sign off before installing anything.
The formula.
The calculator implements the Hazen-Williams friction relation in the US customary form NFPA 13 uses: friction loss p, in psi per foot of pipe, equals 4.52 × Q^1.85 ÷ (C^1.85 × d^4.87), where Q is flow in US gallons per minute, C is the dimensionless roughness coefficient and d is the actual internal diameter in inches. Total loss over the run is that per-foot figure multiplied by the total equivalent length, which is the developed pipe length plus the fitting allowance. Solving the same relation for flow gives Q = [Δp × C^1.85 × d^4.87 ÷ (4.52 × L)]^(1/1.85). Working the example: d is 0.785 inches for 3/4 inch Type L copper, C is 150, L is 100 + 40 = 140 feet and Δp is 20 psi, which yields 12.2575620048 gpm, or 46.3999196559 litres per minute. The loss works out at 14.2857142857 psi per 100 feet, which is simply 20 psi spread over 140 feet. Velocity is a separate, exact conversion rather than part of the empirical correlation: one US gallon is exactly 231 cubic inches, so velocity in feet per second is Q × 231 × 4 ÷ (π × d² × 720), the 720 being 12 inches per foot times 60 seconds per minute. That gives 8.1255803164 ft/s, or 2.4766768805 m/s, and it reduces to the textbook shorthand 0.4085 × Q ÷ d². Note the exponent convention: the classical Hazen-Williams exponents are 1.852 and 4.8655, while NFPA 13 rounds them to 1.85 and 4.87. This page implements the NFPA form because it is the code-referenced one, and the two agree to better than 0.71 percent across the normal plumbing range — a comparison that is asserted in the test suite rather than merely claimed. All arithmetic including the fractional powers is carried at twenty significant digits and rounded only at the final result.
A worked example.
A homeowner wants to know what a 100 foot run of 3/4 inch Type L copper to a garden hydrant will actually deliver. The bore is 0.785 inches, copper takes a C factor of 150, and the run has enough elbows and a valve to add roughly 40 feet of equivalent length, giving 140 feet in total. After subtracting elevation, the meter and the pressure the hydrant itself needs, 20 psi is left to spend on friction. The calculator returns 12.2575620048 gallons per minute — 46.3999196559 litres per minute — at a loss of 14.2857142857 psi per 100 feet. But the velocity beside it reads 8.1255803164 feet per second, or 2.4766768805 m/s, which is above the roughly 8 ft/s ceiling recommended for cold water in copper tube. The pressure is capable of pushing that much water through the pipe, but the copper should not be asked to carry it, because water that fast erodes the protective film at fittings. The correct conclusion is not "12.26 gpm is available" but "this run is velocity-limited, not pressure-limited, and the next size up is the answer".
Frequently asked questions.
How do I convert psi to gpm?
Is the "pressure available for friction" the same as my water pressure?
Why does one pipe size up make such a large difference?
What C factor should I use?
Why does doubling the flow more than double the pressure loss?
What is equivalent length, and how much should I add?
Should I accept a flow rate if the velocity looks high?
When is Hazen-Williams not valid?
Can I use this result to size a water service or a sprinkler system?
References& sources.
- [1]NFPA 13, Standard for the Installation of Sprinkler Systems — friction loss formula p = 4.52 Q^1.85 / (C^1.85 d^4.87), with Q in gpm, C the Hazen-Williams coefficient and d the actual internal diameter in inches. NFPA offers free read-only access after registration; the adopted edition varies by jurisdiction.
- [2]UpCodes — reproduction of the NFPA 13 friction loss formula section, used to confirm the constant and both exponents.
- [3]The Toro Company — "The Hazen-Williams Equation", the classical US customary head-loss form with the 1.852 and 4.8704 exponents used as the independent cross-check on this page's NFPA-form implementation.
- [4]Hazen-Williams C coefficients for common pipe materials — 150 copper and listed plastics, 140 cement-lined cast and ductile iron, 120 wet-system steel and galvanised, 100 unlined cast iron and dry-system steel.
- [5]Engineers Edge — Schedule 40 steel pipe dimensions citing ANSI/ASME B36.10M-1995, and the ASTM B88 copper tube chart, giving the actual internal diameters this calculator uses.
- [6]Copper Development Association — designing and installing copper piping systems, giving the recommended maximum water velocities of roughly 5–8 ft/s for cold water, 4–5 ft/s for hot water below 140 °F and 2–3 ft/s above 140 °F, to avoid erosion-corrosion.
- [7]International Code Council — International Plumbing Code, Chapter 6, Water Supply and Distribution. The adopted edition and any local amendments govern; confirm which edition applies in your jurisdiction.
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 977 calculators remain free
- No billing is enabled