Pipe Flow Calculator
Calculate pipe flow rate, velocity, diameter, pressure drop, head loss, slope, or partially full flow depth using common hydraulic equations.
Calculator is for informational purposes only. Terms and Conditions
Choose what to solve for
Select the hydraulic method and unknown variable. The required inputs update automatically.
Enter the known values
Use actual inside pipe diameter. Material presets fill roughness, Hazen-Williams C, and Manning n values.
Visual Check
The diagram updates by method without overlapping labels.
Solution
Live result, quick checks, warnings, and full solution steps.
Quick checks
- Check—
Show solution steps See the equation, substitutions, assumptions, and result path
- Enter values to see the full calculation steps and checks.
Source, Standards, and Assumptions
Calculation basis, constants, assumptions, and limitations.
Source/standard information updates based on the selected method.
- Assumptions will appear after a valid calculation.
On this page
Calculator Guide
How to Use the Pipe Flow Calculator
The Pipe Flow Calculator above helps estimate flow rate, velocity, pipe diameter, head loss, pressure drop, slope, or partially full pipe depth. Choose the method that matches your flow condition: basic \(Q=Av\), Darcy-Weisbach, Hazen-Williams, full-pipe Manning, or partially full Manning.
Use the calculator for preliminary water, stormwater, sewer, process piping, irrigation, and general fluid mechanics checks. The most important decision is choosing the correct hydraulic method. Pressurized head loss, water-pipe flow, full gravity flow, and partially full open-channel pipe flow are related, but they are not the same calculation.
Quick Answer
The basic pipe flow equation is \(Q=Av\), where \(Q\) is flow rate, \(A\) is internal pipe area, and \(v\) is average velocity. For a given flow rate, increasing diameter lowers velocity. For head loss and pressure drop, use Darcy-Weisbach or Hazen-Williams. For gravity flow and storm/sewer pipes, use Manning equation with the correct slope, roughness, and partially full flow depth when needed.
When not to rely on a simplified result
Do not treat a quick pipe flow estimate as final design when the system includes pumps, valves, bends, entrance losses, outlet losses, air pockets, transient pressure surge, pipe aging, non-Newtonian fluids, multiphase flow, surcharge conditions, or code-driven storm/sewer design. Final hydraulic design should include field conditions, applicable standards, and professional engineering review.
Which Pipe Flow Method Should You Use?
The correct method depends on what you are trying to calculate. A simple flow-rate estimate does not need a friction-loss equation, while a pressure-drop estimate needs pipe roughness, length, and fluid properties.
| Your Situation | Use This Method | Why |
|---|---|---|
| I know diameter and velocity | \(Q=Av\) | Best for direct flow-rate, velocity, or diameter checks with no friction loss. |
| I need pressure drop or head loss for a pressurized pipe | Darcy-Weisbach | Works for many fluids when roughness, density, viscosity, and friction factor are considered. |
| I have a water distribution pipe | Hazen-Williams | Common empirical method for water-pipe head loss estimates. |
| I have a pipe flowing full under gravity | Full-pipe Manning | Uses gravity slope, flow area, hydraulic radius, and Manning roughness. |
| I have a storm drain or sewer pipe flowing partially full | Partially full Manning | Accounts for flow depth, wetted perimeter, area, and hydraulic radius. |
Important distinction
Head loss is energy loss expressed as a fluid height. Pressure drop is the same loss expressed as pressure. The conversion depends on fluid density: \(\Delta P=\rho g h_L\).
Pipe Flow Calculator Inputs and Outputs
The calculator uses different inputs depending on the selected method and solve-for option. A simple velocity calculation may only need diameter and flow rate, while a pressure drop calculation also needs pipe length, roughness, fluid properties, and sometimes minor loss coefficients.
| Type | Value | What It Means | Common Unit |
|---|---|---|---|
| Input or Output | Flow rate, \(Q\) | Volume of fluid passing through the pipe per unit time. | gpm, cfs, L/s, m³/s |
| Input or Output | Velocity, \(v\) | Average fluid speed through the pipe cross-section. | ft/s, m/s |
| Input or Output | Inside diameter, \(D\) | Actual internal pipe diameter used to calculate area and friction. | in, ft, mm, m |
| Input | Pipe length, \(L\) | Length of pipe over which friction loss is calculated. | ft, m |
| Input or Output | Head loss, \(h_L\) | Hydraulic energy loss expressed as an equivalent fluid height. | ft of head, m of head |
| Input or Output | Pressure drop, \(\Delta P\) | Pressure loss caused by pipe friction and minor losses. | psi, Pa, kPa, bar |
| Input | Roughness, \(\varepsilon\), \(C\), or \(n\) | Pipe surface resistance used by Darcy-Weisbach, Hazen-Williams, or Manning. | mm, in, C factor, Manning n |
| Input or Output | Slope, \(S\) | Energy slope or pipe slope for gravity flow calculations. | %, ft/ft, m/m |
| Input or Output | Flow depth, \(y\) | Depth of water in a partially full circular pipe. | in, ft, mm, m |
Pipe Flow Formulas Used by the Calculator
Pipe flow can be calculated using several formulas. The correct formula depends on whether you are checking simple continuity, pressurized pipe loss, water-pipe head loss, full gravity flow, or partially full open-channel pipe flow.
Basic Flow Rate Formula
For a full circular pipe, \(A=\frac{\pi D^2}{4}\). This is the best starting point when you know pipe diameter and average velocity.
Darcy-Weisbach Head Loss
Darcy-Weisbach is a general pressurized pipe loss method. It uses the Darcy friction factor, not the Fanning friction factor. The formula also uses pipe roughness, fluid density, viscosity, and optional minor loss coefficient \(K\).
Pressure Drop from Head Loss
Head loss is energy loss expressed as fluid height. Pressure drop is that same loss expressed as pressure, so it depends on fluid density.
Hazen-Williams Water Pipe Formula
This is the SI form of the Hazen-Williams equation. In this form, \(h_f\) and \(L\) are in meters, \(Q\) is in m³/s, and \(D\) is in meters. Hazen-Williams is commonly used for water pipe estimates, but it should not be used for oils, gases, or non-water fluids.
Manning Gravity Flow Formula
This displayed equation is the SI form. In U.S. customary units, Manning’s equation is commonly written as \(Q=\frac{1.49}{n}AR^{2/3}S^{1/2}\) when \(Q\) is in ft³/s and dimensions are in feet. For a circular pipe flowing full, \(R=A/P=(\pi D^2/4)/(\pi D)=D/4\).
Partially Full Circular Pipe Geometry
This geometry is needed when the pipe is not flowing full. \(P_w\) is the wetted perimeter. The calculation is nonlinear, so solving for flow depth usually requires numerical iteration.
Pipe Flow Variables and Meanings
Every pipe flow formula depends on using the correct physical meaning for each variable. The most common mistake is using nominal pipe size instead of actual inside diameter.
| Symbol | Meaning | How to Enter It |
|---|---|---|
| \(Q\) | Volumetric flow rate. | Use gpm, cfs, L/s, or m³/s depending on your project. |
| \(A\) | Internal flow area. | For full circular pipe, calculate from inside diameter using \(A=\pi D^2/4\). |
| \(v\) | Average pipe velocity. | Use the mean velocity, not local wall or centerline velocity. |
| \(D\) | Actual inside pipe diameter. | Use the internal diameter from pipe data, not the nominal pipe name. |
| \(L\) | Pipe length used for friction loss. | Use the full length between the two calculation points. |
| \(f\) | Darcy friction factor. | Do not confuse it with Fanning friction factor. |
| \(K\) | Minor loss coefficient. | Use the sum of fitting, valve, entrance, bend, and exit loss coefficients. |
| \(\rho\) | Fluid density. | Use kg/m³ or lb/ft³. Water is approximately \(998\,kg/m^3\) near 20°C. |
| \(\mu\) | Dynamic viscosity. | Use Pa·s or cP. Water is approximately \(1.0\,cP\) near 20°C. |
| \(C\) | Hazen-Williams roughness coefficient. | Use only for water-pipe estimates. |
| \(n\) | Manning roughness coefficient. | Use for gravity pipe or open-channel-style flow. |
| \(S\) | Energy slope or pipe slope. | Enter as decimal slope, ft/ft, m/m, or percent depending on the calculator setting. |
| \(y\) | Partially full flow depth. | Measure from pipe invert to water surface. It must be greater than 0 and less than \(D\). |
| \(P_w\) | Wetted perimeter. | For a partially full circular pipe, \(P_w=r\theta\). |
How to Use the Calculator
Start by selecting the method that matches the hydraulic condition. Then choose the value you want to solve for, enter the known values, and review the quick checks for velocity, head loss, pressure drop, Reynolds number, slope, or percent full.
Select the hydraulic method
Use \(Q=Av\) for basic flow and velocity, Darcy-Weisbach for pressurized loss, Hazen-Williams for water pipe estimates, and Manning for gravity flow.
Choose the solve-for variable
Select whether you need flow rate, velocity, pipe diameter, head loss, pressure drop, slope, or partially full flow depth.
Enter actual pipe and fluid inputs
Use actual inside diameter, correct pipe length, realistic roughness, correct fluid density and viscosity, and the right unit selectors.
Review the result and sanity checks
Check whether the velocity, Reynolds number, pressure drop, slope, or percent full is physically reasonable before using the result.
How to Interpret Pipe Flow Results
A pipe flow result should be checked for both mathematical correctness and engineering reasonableness. A calculated flow rate may be valid in the formula but still impractical because velocity, pressure loss, slope, or operating conditions are unrealistic.
| Result Pattern | What It May Mean | What to Check Next |
|---|---|---|
| Very high velocity | Pipe may be undersized or losses may be excessive. | Check pipe diameter, pressure drop, noise, erosion, and pump energy. |
| Very low velocity | Pipe may be oversized or gravity flow may not self-clean. | Check sedimentation risk, minimum velocity requirements, and flow variability. |
| High pressure drop | Friction loss may be too large for the pump or system pressure. | Increase diameter, reduce length, reduce flow, or review fittings and roughness. |
| Very steep slope | Gravity flow result may be physically unusual or unit input may be wrong. | Verify percent versus decimal slope and site grades. |
| Depth near full pipe | Pipe may be close to surcharge or may need a different analysis. | Check hydraulic grade line, downstream control, and peak-flow assumptions. |
| Reynolds number near transition | Friction factor is less certain. | Review viscosity, velocity, diameter, and whether flow is laminar or turbulent. |
What to do with the result
Use the output to compare design options, not just to produce one number. If the calculated velocity is too high, try a larger pipe diameter. If pressure drop is too high, review length, fittings, roughness, and flow rate. If a gravity pipe is too full, check slope, downstream conditions, and whether the design flow should be routed through a larger pipe or parallel system.
What changes pipe flow the most?
Diameter usually has the strongest effect. Area varies with \(D^2\), while friction and gravity capacity formulas include even stronger diameter relationships. A small change in inside diameter can produce a large change in velocity, head loss, pressure drop, and Manning capacity.
Input Quality Checklist
Most wrong pipe flow results come from wrong diameter, wrong units, wrong method, or incomplete loss assumptions. Check these items before relying on the output.
Use inside diameter
Nominal pipe size is not always the same as internal diameter. This matters because area and friction depend directly on \(D\).
Match the method to the flow condition
Use Darcy-Weisbach or Hazen-Williams for pressurized water pipe loss and Manning for gravity/open-channel flow.
Check slope units
A 1% slope equals \(0.01\) ft/ft or m/m. Entering 1 as a decimal slope instead of 1% creates a 100x slope error.
Include local losses when needed
Valves, bends, entrances, exits, strainers, and fittings can contribute meaningful minor losses in short or complex systems.
Use realistic roughness
New PVC, old cast iron, concrete, steel, corrugated metal, and aged pipes can have very different roughness behavior.
Use the right fluid properties
Water, oil, glycol mixtures, wastewater, and process fluids can have different density and viscosity values.
Step-by-Step Worked Example
This example calculates the flow rate in a full circular pipe from inside diameter and average velocity. This is the most common first check for a pipe flow calculator.
Calculate Pipe Area
Substitute Diameter
Calculate Flow Rate
Convert to Gallons per Minute
Result
Flow rate: approximately 0.982 ft³/s or 441 gpm.
Is the result reasonable?
A 6-inch full pipe flowing at 5 ft/s carrying about 441 gpm is plausible for a pressurized water-flow estimate. The next design check would be head loss or pressure drop, because velocity alone does not tell you whether the system has enough available pressure.
Engineering Diagram for Pipe Flow
A useful pipe flow diagram should show the difference between full-pipe flow, pressure/head loss, and partially full gravity flow. The variables are not interchangeable: diameter controls area, length and roughness control friction loss, and flow depth controls partially full Manning geometry.
Reference Values, Coefficients, and Practical Ranges
Reference values vary by material, age, temperature, and application. Use the ranges below as starting points, then verify with project-specific pipe data and design criteria.
| Value | Typical Range or Example | Why It Matters |
|---|---|---|
| Water density | About \(998\,kg/m^3\) near 20°C | Used to convert head loss into pressure drop. |
| Water dynamic viscosity | About \(1.0\,cP\) near 20°C | Used in Reynolds number and Darcy friction calculations. |
| Hazen-Williams \(C\) | Often about 100 to 150 for many water pipe checks | Higher \(C\) means smoother pipe and lower calculated head loss. |
| Manning \(n\) | Often about 0.009 to 0.015 for many smooth pipe materials | Higher \(n\) means rougher gravity flow and lower capacity. |
| Reynolds number | Laminar below about 2300, transitional near 2300–4000, turbulent above about 4000 | Flow regime affects friction factor and loss reliability. |
| Velocity | Project-specific minimum and maximum limits | Too low may settle solids; too high may increase noise, erosion, or pressure loss. |
Practical insight competitors often miss
Roughness coefficients are not universal constants. New pipe, aged pipe, biofilm, corrosion, scaling, joints, and deposits can change real performance. A calculator result using a “smooth pipe” preset may underpredict losses in an older system.
Design Ranges and Engineering Judgment
A pipe can have a mathematically valid result and still be a poor design. Engineering judgment is needed to check velocity, head loss, pressure rating, slope, maintenance, sediment transport, and downstream control.
Velocity Range
Low velocity can allow sediment or solids to settle. High velocity can increase noise, erosion, surge risk, and head loss.
Diameter Sensitivity
Pipe diameter usually dominates the result. If the answer looks wrong, check inside diameter before changing coefficients.
Partially Full Flow
A partially full pipe may not behave like a pressurized pipe. Downstream tailwater, slope, and hydraulic grade line can control the actual result.
Field design note
For storm drains, sewers, culverts, pump discharge lines, and pressure piping, the final design should also check peak flow, minimum flow, material pressure rating, air release, surcharge, entrance and exit losses, erosion protection, and applicable local criteria.
Pipe Flow Units and Conversion Notes
Pipe flow calculations are unit-sensitive. A correct formula can produce a wrong answer if diameter, slope, pressure, or flow rate are entered in the wrong unit system.
| Quantity | Common Units | Conversion Reminder |
|---|---|---|
| Flow rate | gpm, cfs, L/s, m³/s | \(1\,ft^3/s \approx 448.831\,gpm\) |
| Diameter | in, ft, mm, m | \(1\,in=0.08333\,ft=0.0254\,m\) |
| Velocity | ft/s, m/s | \(1\,m/s \approx 3.281\,ft/s\) |
| Pressure | psi, Pa, kPa, bar | \(1\,psi \approx 6894.76\,Pa\) |
| Head | ft, m | \(1\,m \approx 3.281\,ft\) |
| Slope | %, ft/ft, m/m | \(1\% = 0.01\,ft/ft = 0.01\,m/m\) |
Most common unit trap
Slope is often entered incorrectly. A 2% slope is \(0.02\), not \(2.0\), when using decimal slope. This mistake can make gravity pipe capacity appear about ten times too high because Manning flow varies with \(\sqrt{S}\).
Darcy-Weisbach vs. Hazen-Williams vs. Manning
The best pipe flow method depends on the application. Darcy-Weisbach is more general, Hazen-Williams is convenient for water pipes, and Manning is normally used for gravity/open-channel flow.
| Method | Best For | Can Solve | Main Limitation |
|---|---|---|---|
| \(Q=Av\) | Basic flow, velocity, and diameter checks. | Flow rate, velocity, or diameter. | Does not calculate friction, head loss, or pressure drop. |
| Darcy-Weisbach | Pressurized pipe loss for many fluids. | Head loss, pressure drop, flow rate, or diameter. | Needs fluid properties, roughness, and friction factor calculation. |
| Hazen-Williams | Water distribution and water-pipe estimates. | Head loss, flow rate, or diameter. | Empirical and not appropriate for gases or non-water fluids. |
| Manning full pipe | Gravity pipe flowing full. | Flow rate, slope, or diameter. | Not a pressurized pipe-flow loss equation. |
| Manning partially full | Storm drain, sewer, culvert, and open-channel pipe flow. | Flow rate, slope, or flow depth. | Nonlinear and sensitive to downstream control and surcharge conditions. |
Common Pipe Flow Calculation Mistakes
Pipe flow mistakes usually come from using the wrong diameter, wrong equation, wrong coefficient, or incomplete loss model.
Common Mistakes
- Using nominal pipe size instead of actual inside diameter.
- Using Hazen-Williams for oil, gas, glycol, or non-water fluids.
- Using Manning equation for pressurized pipe loss.
- Ignoring valves, bends, entrances, exits, strainers, and other minor losses.
- Entering slope as 1.0 when the intent was 1%.
- Assuming new-pipe roughness for old, scaled, corroded, or sediment-filled pipe.
Better Practice
- Use manufacturer or standard pipe data for inside diameter.
- Use Darcy-Weisbach when fluid properties and roughness matter.
- Use Manning for gravity and partially full open-channel flow.
- Add total minor loss coefficient \(K\) when fittings are important.
- Convert percent slope to decimal slope correctly.
- Check velocity, pressure drop, and flow regime before trusting the result.
Troubleshooting Unexpected Pipe Flow Results
If the answer looks unrealistic, check the input values before changing formulas. One unit error can make a result look technically detailed but physically impossible.
| Problem | Likely Cause | Fix |
|---|---|---|
| Flow rate is far too high | Diameter entered too large, slope entered as decimal instead of percent, or roughness too low. | Check inside diameter, slope units, and roughness coefficient. |
| Pressure drop is extremely high | Pipe is undersized, velocity is high, length is large, or fittings are included with a high \(K\). | Increase diameter, reduce flow, verify length, and review minor losses. |
| Darcy result does not match Hazen-Williams | The two methods use different assumptions and roughness models. | Confirm fluid type and use Hazen-Williams only for water-pipe estimates. |
| Partially full depth will not solve | Requested flow may exceed the available gravity-flow capacity for the entered diameter, slope, and roughness. | Increase diameter or slope, reduce design flow, or check whether surcharge analysis is needed. |
| Velocity is near zero | Pipe may be oversized or flow rate entered in the wrong unit. | Check gpm versus cfs and compare velocity to minimum flow criteria. |
| Reynolds number is transitional | Flow is between laminar and turbulent ranges. | Treat friction results cautiously and verify viscosity, velocity, and diameter. |
Suspicious result checklist
Be cautious if the calculator reports a negative value, a depth greater than the diameter, a pressure drop larger than available pressure, a slope above practical site grade, or a velocity that is clearly outside project criteria.
Assumptions, Sources, and Limitations
This calculator is intended for educational use, preliminary engineering checks, and early-stage hydraulic estimates. It uses standard steady-flow pipe equations and assumes the entered conditions accurately represent the pipe section being analyzed.
Steady Flow
The formulas assume steady flow. They do not model water hammer, surge, transient pump starts, or rapidly changing flow.
Single Fluid Phase
The calculator assumes a single liquid phase unless the selected method is used only for a simple educational comparison.
Representative Roughness
Roughness, \(C\), and Manning \(n\) values are estimates. Real pipe condition can change performance.
Final Design Caution
Final design should verify pipe material, pressure rating, fittings, slope, downstream control, allowable velocity, and applicable local requirements.
Calculation basis
This page uses standard continuity, Darcy-Weisbach, Hazen-Williams, Manning, and circular-segment relationships. For culvert, storm drain, and sewer design, also check inlet control, outlet control, downstream tailwater, surcharge, and local criteria. For pressurized systems, verify pipe material, pressure class, fittings, pumps, valves, allowable velocity, and project-specific design requirements.
Pipe Flow Glossary
These terms help explain the calculator outputs and the hydraulic assumptions behind them.
Flow Rate
The volume of fluid moving through the pipe per unit time, commonly measured in gpm, cfs, L/s, or m³/s.
Velocity
The average speed of fluid through the pipe cross-section. It is calculated from \(v=Q/A\).
Head Loss
Energy loss expressed as an equivalent height of fluid, usually caused by friction and fittings.
Pressure Drop
The pressure decrease between two points in a pipe, related to head loss by \(\Delta P=\rho g h_L\).
Hydraulic Radius
The flow area divided by wetted perimeter. It is used in Manning equation for open-channel and gravity pipe flow.
Relative Roughness
The ratio \(\varepsilon/D\), used in Darcy-Weisbach friction-factor calculations.
Manning n
A roughness coefficient used for gravity flow. Larger values indicate more resistance to flow.
Partially Full Flow
Open-channel-style pipe flow where the water surface is below the crown of the pipe.
Frequently Asked Questions
What does a pipe flow calculator calculate?
A pipe flow calculator estimates flow rate, velocity, pipe diameter, head loss, pressure drop, slope, or partially full flow depth depending on the selected method and known inputs.
What is the basic pipe flow formula?
The basic pipe flow formula is \(Q=Av\), where \(Q\) is flow rate, \(A\) is the internal pipe area, and \(v\) is average velocity.
Should I use Darcy-Weisbach, Hazen-Williams, or Manning?
Use Darcy-Weisbach for general pressurized pipe head loss, Hazen-Williams for water pipe estimates, and Manning for gravity flow or partially full storm and sewer pipes.
Why does pipe diameter affect flow so much?
Pipe diameter controls cross-sectional area and friction loss. Small diameter changes can strongly affect velocity, head loss, pressure drop, and gravity flow capacity.
What is the difference between head loss and pressure drop?
Head loss is energy loss expressed as a height of fluid. Pressure drop is the same loss expressed as pressure. The conversion depends on fluid density using \(\Delta P=\rho g h_L\).
Can this calculator be used for final pipe design?
The calculator is useful for preliminary engineering checks and educational estimates, but final design should verify pipe material, fittings, minor losses, pressure ratings, slope, code requirements, and field conditions.