Hydraulics • Water Distribution • Hazen–Williams

Pipe Flow Calculator

Calculate flow rate, head loss, or required pipe diameter for full-flow circular water pipes using the Hazen–Williams equation.

Best for: Water flowing in full circular pipes. Not intended for: Non-water fluids, partially full pipes, or open-channel flow.

Configuration

Pipe Schematic

Focus an input to highlight the matching parameter.

Pipe schematic showing flow rate, diameter, and length A circular pipe with arrows for flow rate Q, diameter D, and length L. Q D L

Hydraulic Parameters

Material Properties

Enter the known values to calculate the missing variable.

Pipe Hydraulics Guide

Pipe Flow Calculator

Learn how to use a pipe flow calculator to estimate head loss, size pipe diameter, check velocity, and interpret hydraulic results with confidence. This guide explains the governing equations, shows worked examples, and highlights the engineering checks that matter in real design work.

Practical design guide Worked examples Sizing + head loss

Quick Answer

A pipe flow calculator helps you answer three core questions: How much flow can this pipe carry?, how much head loss will occur?, and what pipe diameter do I need? For full, pressurized water flow, the most common approaches are Darcy–Weisbach and Hazen–Williams.

In most practical design work, the result you care about is not just the number itself. You also need to check velocity, friction slope, minor losses from fittings, and whether the assumptions behind the equation actually match the system you are analyzing.

What most users want to know: If your velocity is too high, your system may be noisy, erosive, or prone to surge. If your velocity is too low, the line may be oversized, expensive, or prone to sediment deposition.

How to Use a Pipe Flow Calculator Correctly

The calculator above is built for the questions engineers and designers ask most often: “What is the head loss in this line?”, “What flow can this pipe deliver?”, and “What diameter should I specify?” Use the process below every time so your inputs match the physics.

  1. 1 Choose what you want to solve for. Most pipe sizing problems start with a known flow and ask for head loss, or start with an allowable head loss and ask for diameter.
  2. 2 Confirm the flow condition. Make sure the pipe is actually full and pressurized. If the line is partially full and gravity-driven, use an open-channel method instead.
  3. 3 Enter diameter, length, and roughness carefully. Use the internal diameter, not nominal trade size, and use a realistic roughness or Hazen–Williams C-factor for the pipe material and age.
  4. 4 Account for valves, elbows, and tees. Friction in straight pipe is only part of the story. Short systems can be dominated by fittings and local losses.
  5. 5 Review the secondary outputs, not just the main answer. A good pipe flow calculator should also show velocity, slope, and sometimes Reynolds number or pressure drop.
  6. 6 Sanity-check the result against practice. If a small line produces very low losses or a large line produces excessive velocity, check units and assumptions before trusting the number.

Tip: For many water systems, designers often aim for velocities roughly in the 0.6–3 m/s (2–10 ft/s) range, depending on service conditions, surge tolerance, and material.

Common mistake: Using nominal pipe size instead of internal diameter can shift your result enough to make the selected pipe size wrong.

Which Equation Should You Use?

The right pipe flow equation depends on the fluid and the flow condition. Most users should think in these three buckets: a general pressurized-flow method, a water-distribution shortcut, and an open-channel method for partially full flow.

Darcy–Weisbach

Best general-purpose method for full, pressurized flow in liquids and gases when you want the most technically defensible result.

\[ h_f = f \,\frac{L}{D}\,\frac{v^2}{2g} \]
  • Applies broadly across many fluids.
  • Works for laminar and turbulent regimes.
  • Best fit when engineering accuracy matters.
  • Requires a friction factor.
  • Can require iteration or correlations.

Hazen–Williams

Fast and practical for clean water in full pipes, especially in municipal and building water systems.

\[ h_f = 10.67 \,\frac{L}{C^{1.852} D^{4.87}}\,Q^{1.852} \]
  • Very fast to use.
  • No friction-factor iteration.
  • Common in water-distribution practice.
  • Empirical, not universal.
  • Not appropriate for non-water fluids.

Manning / Gravity Flow

Use this when the pipe is partially full and flowing by gravity, such as storm sewers or drainage systems.

\[ Q = \frac{1}{n} A R^{2/3} S^{1/2} \]
  • Fits stormwater and drainage design.
  • Handles partially full flow.
  • Not for full pressurized pipes.
  • Needs hydraulic radius and slope.

Rule of thumb: If the line is full and pressurized, use Darcy–Weisbach unless you deliberately want a Hazen–Williams shortcut for standard water-service work.

What Changes the Result the Most?

Many users focus on flow rate alone, but the most powerful driver in pipe hydraulics is often diameter. The calculator becomes much easier to interpret once you understand which inputs have the biggest leverage.

Pipe diameter \(D\)

Diameter strongly affects both area and friction. Small diameter changes can produce large changes in head loss and velocity.

Flow rate \(Q\)

Higher flow raises velocity, and in turbulent flow the head loss can rise very quickly as velocity increases.

Pipe length \(L\)

Longer runs mean more friction loss. This is especially important in distribution mains and transmission lines.

Roughness / friction factor / C-value

Old rough pipe can behave very differently from new smooth PVC or HDPE, even at the same flow and diameter.

Minor losses

Short lines with multiple fittings can be controlled more by local losses than by straight-pipe friction.

Fluid properties

Density and viscosity influence Reynolds number and friction behavior, especially outside typical water-service conditions.

Worked Examples

Example 1 — Estimate Head Loss for a Known Flow

A 100 m line with 100 mm internal diameter carries 10 L/s of water. You want to estimate head loss and confirm that the velocity is reasonable.

  • 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\)
1
Find velocity from flow and area. \[ A = \frac{\pi D^2}{4}, \quad v = \frac{Q}{A} \]
2
Apply Darcy–Weisbach. \[ h_f = f \,\frac{L}{D}\,\frac{v^2}{2g} \]
3
Compare the velocity to a practical design band. This tells you whether the line is likely oversized, undersized, or in a reasonable range.
4
Convert to pressure drop if needed. \[ \Delta P = \rho g h_f \]
Combined relation
\[ h_f = f \,\frac{L}{D}\, \frac{1}{2g} \left(\frac{4Q}{\pi D^2}\right)^2 \]

Example 2 — Size the Pipe for an Allowable Head Loss

You need to deliver 15 L/s through a 250 m line while keeping total head loss below 12 m. The question is which internal diameter will satisfy that constraint.

  • Flow rate: \(Q = 0.015 \text{ m}^3/\text{s}\)
  • Length: \(L = 250 \text{ m}\)
  • Allowable 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} \]
2
Substitute \(v = Q/A\). This rewrites the loss in terms of flow rate and diameter.
3
Iterate pipe sizes in the calculator. Try realistic commercial diameters until the computed head loss drops below the target.
4
Check the resulting velocity. The hydraulic answer is not complete until the velocity also looks reasonable.
Sizing constraint
\[ h_f = f \,\frac{L}{D}\, \frac{1}{2g} \left(\frac{4Q}{\pi D^2}\right)^2 \leq h_{f,\text{max}} \]

Design Checks You Should Always Make

The best pipe flow calculator still only gives you a model result. Before you use that result in design, review the checks below.

  • Confirm the line is actually full and pressurized.
  • Verify internal diameter, not nominal trade size.
  • Add fittings and valve losses if they are not negligible.
  • Check velocity against your design standard or operating experience.
  • Review head loss per 100 m or 100 ft to see whether it looks realistic.
  • Confirm pipe pressure class exceeds operating and surge demands.
  • Use aged-pipe roughness if the system will degrade over time.
  • Check both normal and peak operating flow conditions.

Field reality: A hydraulically correct model can still underperform if air accumulates, valves are partially closed, fittings differ from the drawing, or the installed internal diameter is smaller than assumed.

Common System Layouts and How to Think About Them

Real piping systems are rarely a single straight run. The arrangement of the line matters because it determines which path controls the total loss and whether a single-line calculator is enough.

System TypeWhat It Looks LikeWhat to Watch
Single lineOne main pipe from source to destinationLength, diameter, and fittings usually dominate.
Header and branchesMain header feeding several takeoffsHeader sees combined flow; branch lines do not.
Looped networkMore than one hydraulic pathFlow splits across paths; a network solver may be needed.
Gravity-fed lineElevation difference provides available headAvailable elevation head must exceed total losses.
Pumped linePump adds head to overcome system resistanceMatch system losses to the pump operating point.
Storm sewer / partially full pipeGravity flow with variable depthUse Manning-type open-channel methods instead.

Material choice

Smooth plastics reduce friction, but pressure class, temperature, burial conditions, and joining method can matter just as much as the hydraulic loss.

Construction reality

Air pockets, unexpected fittings, partial blockages, and poor commissioning can make measured head loss differ from the calculator prediction.

Practical selection

In many cases the “best” diameter is the smallest standard size that satisfies both the head-loss limit and the velocity target with a reasonable margin.

Frequently Asked Questions

What is the best equation for a pipe flow calculator?
For most technically rigorous work, Darcy–Weisbach is the best general-purpose choice because it applies broadly to pressurized flow and ties directly to fluid mechanics. Hazen–Williams is faster and very common in water systems, but it should only be used in the range where its assumptions are valid.
Can I use this for pipe sizing?
Yes. Pipe sizing is one of the most common uses. You typically fix the design flow rate and allowable head loss, then solve for the internal diameter that meets both hydraulic and practical constraints.
Why does pipe diameter affect head loss so much?
Diameter controls both flow area and friction behavior. A larger diameter reduces velocity for the same flow rate, and lower velocity means lower friction loss. This is why a seemingly small diameter increase can significantly reduce head loss.
Do fittings matter in a pipe flow calculation?
Yes. Bends, tees, valves, reducers, and meters all add local losses. In short systems, those losses can represent a large share of the total and should not be ignored.
What is a reasonable water velocity in a pipe?
It depends on the service, but many water systems are designed roughly within 0.6–3 m/s (2–10 ft/s). Lower velocities can be fine in some applications, while higher velocities may be accepted for short runs if noise, erosion, and surge are controlled.
When should I not use Hazen–Williams?
Do not use Hazen–Williams for non-water fluids, partially full flow, or cases where temperature and viscosity effects are important. In those situations, Darcy–Weisbach is the safer and more defensible method.
How does head loss relate to pressure drop?
They describe the same energy loss in different forms. Head loss is expressed as equivalent fluid height, while pressure drop is force per area. They are related by \(\Delta P = \rho g h\).
Scroll to Top