Pipe Flow Calculator

Estimate flow rate, head loss, or required pipe diameter for full-flow circular pipes using the Hazen–Williams equation, with support for common metric and US units.

Configuration

Choose what you want to solve for, then enter pipe length, diameter, head loss, and roughness. The calculator uses the Hazen–Williams equation for water flow in full pipes.

Pipe & Flow Inputs

Result

Pipe Hydraulics Guide

Pipe Flow Calculator

A practical walkthrough of how to use a pipe flow calculator to size lines, estimate head loss, and interpret velocities and pressures, with clear equations, worked examples, and real-world sanity checks.

8–10 min read Updated 2025

Quick Start

The pipe flow calculator above is built to answer questions like “What is the head loss in this line?”, “What diameter do I need?”, or “What flow rate can this pipe carry?”. Use these steps every time so your inputs align with the physics behind the equations.

  1. 1 Choose what you want to solve for. In most pipe flow problems you either fix the flow rate and find head loss, or fix the allowable head loss and solve for diameter or flow.
  2. 2 Set fluid and units. Pick water, wastewater, or another liquid, and keep units consistent (e.g., m³/s and m, or gpm and in/ft). The calculator will convert internally.
  3. 3 Enter pipe length, diameter, and roughness. Length should include the straight run; diameter should be the internal diameter; roughness or C-factor defines friction behavior.
  4. 4 Account for fittings and valves. Either add an equivalent length for bends, tees, and valves or enter a minor-loss coefficient \(K\) if your calculator supports it.
  5. 5 Enter or check flow rate. Use the flow you need to deliver, or let the pipe flow calculator solve for the flow that meets your head-loss limit.
  6. 6 Review head loss, velocity, and Reynolds number. A good calculator will show velocity \(v\), head loss \(h_f\), and Reynolds number \(Re\). Confirm they are within typical design ranges.
  7. 7 Sanity-check against experience. Compare the result with rules of thumb (e.g., velocity bands, pressure drop per 100 m/ft) and similar systems you know.

Tip: For cold water in building or industrial systems, velocities between about 0.6–3 m/s (2–10 ft/s) are common. Higher velocities may be acceptable but can increase noise, erosion, and surge risk.

Watch out: Mixing metric and US units is the fastest way to get nonsense results. If the pipe flow calculator lets you pick units per field, confirm each one before interpreting the output.

Choosing Your Method

Most engineering-grade pipe flow calculators revolve around the Darcy–Weisbach equation, sometimes with shortcuts like Hazen–Williams for clean water. Selecting the right method depends on your fluid, accuracy needs, and available data.

Darcy–Weisbach (General-Purpose)

The most general and physically consistent equation, valid for almost any liquid or gas when friction factor is chosen correctly.

The core form for head loss in a full, pressurized pipe is:

\[ h_f = f \,\frac{L}{D}\,\frac{v^2}{2g} \]
  • Works for water, oils, chemicals, and gases.
  • Handles laminar and turbulent flow via friction factor \(f\).
  • Compatible with Moody diagram and Colebrook–White correlations.
  • Requires friction factor \(f\), which may need iteration.
  • Slightly more complex to explain to non-engineers.

Hazen–Williams (Water-Only Shortcut)

An empirical formula widely used in water distribution and fire protection for full pipes at typical temperatures.

In SI form, head loss is often written as:

\[ h_f = 10.67 \,\frac{L}{C^{1.852} D^{4.87}}\,Q^{1.852} \]
  • Very fast, no friction-factor iteration.
  • Common in municipal and fire-sprinkler design standards.
  • Reasonably accurate for cold, clean water.
  • Not suitable for hot water, other liquids, or partially full pipes.
  • Accuracy drops outside its calibration range.

Manning / Open-Channel Style

Used when the pipe is flowing partially full by gravity, like storm sewers or drainage culverts.

The main relation is:

\[ Q = \frac{1}{n} A R^{2/3} S^{1/2} \]
  • Matches drainage and stormwater design practices.
  • Handles partially full, non-pressurized conditions.
  • Not intended for fully pressurized pipe flow.
  • Requires hydraulic radius \(R\) and slope \(S\).

In the pipe flow calculator above, choose the method that matches your application: Darcy–Weisbach for most technical work, Hazen–Williams for standard water distribution, and a Manning-style approach only for gravity-driven, partially full systems.

What Moves the Number the Most

Pipe flow results are dominated by a handful of variables. Understanding these levers helps you interpret the calculator output and design efficiently.

Pipe diameter \(D\)

Flow area scales with \(D^2\), while friction term scales with \(1/D\). Small changes in diameter dramatically impact head loss and velocity.

Flow rate \(Q\)

For Darcy–Weisbach, velocity \(v = Q/A\), and head loss varies roughly with \(v^2\). Doubling the flow rate can quadruple the head loss in turbulent flow.

Pipe length \(L\)

Head loss grows in direct proportion to length. Long transmission mains often drive system pressure requirements more than fittings do.

Roughness / friction

The friction factor \(f\) (or Hazen–Williams \(C\)) encodes material and aging. Old steel with tuberculation behaves very differently from new HDPE or PVC.

Fittings and minor losses

Bends, tees, valves, and meters add local losses that can be expressed as \(h_m = K v^2 / (2g)\) or as equivalent length. They matter most in short runs.

Fluid properties & Reynolds number

Viscosity and density affect \(Re\) and the friction factor. Cold, viscous liquids can fall into laminar or transitional regimes, changing the head-loss behavior.

Worked Examples

Example 1 — Head Loss in a Water Supply Line

A 100 m long, 100 mm internal diameter steel pipe carries cold water at 20 °C. The flow rate is 10 L/s. Estimate the head loss using Darcy–Weisbach and interpret the velocity.

  • Fluid: water at 20 °C, density \(\rho \approx 1000 \text{ kg/m}^3\)
  • Length: \(L = 100 \text{ m}\)
  • Diameter: \(D = 0.10 \text{ m}\)
  • Flow rate: \(Q = 0.010 \text{ m}^3/\text{s}\)
  • Assume friction factor: \(f = 0.02\) (fully rough, turbulent)
1
Compute cross-sectional area and velocity. \[ A = \frac{\pi D^2}{4} \quad\Rightarrow\quad v = \frac{Q}{A} \]
2
Apply Darcy–Weisbach for head loss. \[ h_f = f \,\frac{L}{D}\,\frac{v^2}{2g} \]
3
Interpret velocity. Compare the calculated \(v\) with typical water-design ranges (e.g., 0.6–3 m/s).
4
Convert head loss to pressure drop if needed. \[ \Delta P = \rho g h_f \]

When you run the same numbers in the pipe flow calculator, it will perform these steps automatically and display head loss per length, total head loss, velocity, and optionally Reynolds number.

Combined relation
\[ h_f = f \,\frac{L}{D}\, \frac{1}{2g} \left(\frac{4Q}{\pi D^2}\right)^2 \]

Example 2 — Sizing Diameter for an Allowable Head Loss

You need to deliver 15 L/s of water through a 250 m long buried line with a maximum head loss of 12 m. Estimate a suitable diameter assuming a friction factor of \(f = 0.022\).

  • Target flow rate: \(Q = 0.015 \text{ m}^3/\text{s}\)
  • Length: \(L = 250 \text{ m}\)
  • Max head loss: \(h_f = 12 \text{ m}\)
  • Assumed friction factor: \(f = 0.022\)
1
Start from Darcy–Weisbach. \[ h_f = f \,\frac{L}{D}\,\frac{v^2}{2g}, \quad v = \frac{Q}{A},\quad A = \frac{\pi D^2}{4} \]
2
Rearrange to solve for \(D\). Manipulate the expression algebraically so that \(D\) is the only unknown on one side.
3
Use the pipe flow calculator to iterate. The calculator can vary \(D\) numerically until the computed head loss matches 12 m.
4
Check velocity. Once \(D\) is selected, confirm that the resulting velocity remains within your acceptable design band.

In practice, you will try standard pipe sizes in the pipe flow calculator, watch the resulting head loss and velocity, and select the smallest commercially available diameter that meets both criteria with a safety margin.

Head-loss constraint
\[ h_f = f \,\frac{L}{D}\, \frac{1}{2g} \left(\frac{4Q}{\pi D^2}\right)^2 \leq h_{f,\text{max}} \]

Common Layouts & Variations

Real systems are more than a single straight pipe. The way your network is arranged — and the material you choose — strongly influences how the pipe flow calculator results should be interpreted.

Configuration / Use CaseTypical FeaturesDesign Notes
Single distribution lineOne long run from pump to user, few branchesHead loss is mostly proportional to total length. Optimize diameter for acceptable pressure at the far end.
Looped networkRings and cross-connectionsFlows split between paths. A simple pipe flow calculator can analyze a single path; full networks need iterative solvers.
Branching manifoldHeader with branches to multiple usersDesign header for combined flow, branches for individual demand. Use the calculator per branch and for the header line.
Gravity-fed pipelineReservoir or tank feeding a lower pointAvailable head is the elevation difference minus losses. Check that predicted flow meets demand with a safety factor.
Pumped systemPump raises pressure to overcome friction and elevationUse the pipe flow calculator to find system head curve; match with pump curve to verify operating point.
Partially full storm sewerGravity flow, non-pressurized, varying depthUse Manning-based open-channel equations, not pressurized pipe formulas, for sizing based on slope and filling depth.
  • Confirm you are modeling the dominant path (highest head loss) in your system.
  • Use equivalent-length or \(K\)-values to represent fittings, especially at high velocities.
  • Check both minimum and maximum operating flows; friction behavior changes across the range.
  • Consider future demand growth and whether the selected diameter can support it.
  • Verify that pressure ratings of pipe and fittings exceed the worst-case operating pressure plus surge.
  • Coordinate with structural and geotechnical constraints on burial depth and trench width.

Specs, Logistics & Sanity Checks

The pipe flow calculator tells you whether a chosen size and material will hydraulically perform, but your design still has to work in the field. Use these pointers before locking in specs or placing orders.

Material & Rating Choices

Common materials include PVC, HDPE, ductile iron, carbon steel, and stainless steel. Each has its own roughness, pressure rating, and installation requirements.

  • Verify the pipe schedule or SDR matches the maximum system pressure.
  • Use realistic roughness or \(C\)-factor values for new vs. aged pipe.
  • Consider chemical compatibility and temperature effects on viscosity.

Construction & Commissioning

Hydraulically correct designs can still underperform if installed poorly.

  • Avoid unintended high points that trap air and reduce effective area.
  • Provide air-release and drain valves at appropriate locations.
  • Flush and pressure-test lines before relying on calculator-based head-loss predictions.

Sanity Checks on Calculator Output

  • Check that velocity is reasonable for the pipe material and service.
  • Compare head loss per 100 m or 100 ft with experience or published tables.
  • If a small input tweak causes a huge output change, re-check units and roughness.
  • When in doubt, analyze a simplified case by hand to confirm trends.

As you iterate with the pipe flow calculator, document the assumptions you use (roughness, temperature, minor-loss factors) so they can be revisited later if field measurements differ from predictions.

Frequently Asked Questions

Which equation does this pipe flow calculator use?
Most engineering pipe flow calculators are built around the Darcy–Weisbach equation for head loss, often with optional shortcuts like Hazen–Williams for clean, cold water. Darcy–Weisbach is more general and can handle different fluids, while Hazen–Williams is empirical and should only be used in its valid range.
What units can I use for flow and diameter?
A good pipe flow calculator accepts both metric and US units, such as m³/s, L/s, or gpm for flow and mm, in, or ft for diameter. You can mix unit systems as long as you select the correct units for each field; the calculator converts everything to internal base units before solving.
What is a reasonable design velocity in pressurized pipes?
For water, many designers target 0.6–3 m/s (2–10 ft/s) in most distribution pipes. Higher velocities may be acceptable in short sections but can increase noise, erosion, and water hammer risk. Very low velocities can promote sediment deposition and water-quality issues.
Do I need to include minor losses from fittings and valves?
Yes, especially in short systems where fittings dominate the total loss. You can account for minor losses using either loss coefficients K, where each fitting adds h = K v² / (2g), or by converting fittings to an equivalent length of straight pipe. The pipe flow calculator may offer fields for either approach.
How is head loss related to pressure drop?
Head loss is the energy loss expressed as an equivalent fluid column height, while pressure drop is in force per area. They are related by ΔP = ρ g h, where ΔP is pressure drop, ρ is fluid density, g is gravitational acceleration, and h is head loss. The calculator can switch between the two as long as fluid density is known.
When is the Hazen–Williams formula acceptable?
Hazen–Williams is generally acceptable for full, pressurized, relatively clean water lines at ordinary temperatures, such as municipal distribution and building plumbing. It should not be used for other liquids, hot water, partially full pipes, or gas flow. In those cases, use Darcy–Weisbach instead.
Can this pipe flow calculator handle laminar flow?
Yes, as long as the underlying friction-factor model accounts for low Reynolds numbers. In laminar flow (typically Re < 2,000), the friction factor is f = 64 / Re, and head loss is directly proportional to flow rate. The calculator will detect the regime from your inputs and apply the correct relationship.
Scroll to Top