Pipe Flow Calculator - Flow Rate & Pressure Drop

Parameters

Calculate flow velocity, pressure drop, and Reynolds number for pipe sizing. Uses Darcy-Weisbach and Hazen-Williams equations for water and fluid system design.

Select calculation mode

Choose what to calculate

Enter pipe and fluid parameters

View results

Flow here comes from applying the Darcy-Weisbach or Hazen-Williams formula to the pipe and fluid properties entered, and it accounts for fittings and valves only through the K factors you add under Minor Losses. An elevation change counts only as the rise you enter, and pipe aging is not modeled. Have a licensed engineer verify the design before it is built.

Formulas and sources

Each formula this calculator uses, where it comes from, and what it leaves out. "How it works" shows the same formula with your own numbers.

Darcy-Weisbach

Pressure Drop, Flow Rate and Pipe Diameter modes, with the Darcy-Weisbach method

ΔP = f × ( L / D) × (ρ v² / 2)
ΔP
pressure drop from friction
f
Darcy friction factor (below)
L
pipe length
D
inside diameter
v
mean velocity: flow ÷ (π × D² ÷ 4)
ρ
fluid density

Flow Rate and Pipe Diameter solve the same equation for the unknown: laminar flow exactly, turbulent flow by iteration to the drop entered. A drop inside the jump at Re 2,300 has no answer, and the panel gives the drops either side.

Source: Uses the Darcy-Weisbach formula as EPA's EPANET 2.2 manual gives it, in Table 3.1 [1]. EPANET calls it the most theoretically correct headloss formula, for all liquids and flow regimes.

Friction factor

Pressure Drop, Flow Rate and Pipe Diameter modes, with the Darcy-Weisbach method

Re = ρ × v × D ÷ μ f = 64 ÷ Re 1/√f = -2 log₁₀(ε / 3.7D + 2.51 / (Re √f))
Re
Reynolds number
f
Darcy friction factor
μ
dynamic viscosity
ε
pipe roughness

f = 64 ÷ Re below Re 2,300; the Colebrook line from there, solved by iteration. EPANET instead interpolates from Re 2,000 to 4,000, so here f steps up by 70% or more as Re crosses 2,300 and can put the drop 60% or more above EPANET's in that band.

Source: The turbulent line is Colebrook's equation (1939) [3]; f = 64/Re for laminar flow is as EPANET 2.2 gives it [2]. The 2,300 boundary is CalcTrail's own; no publisher.

Hazen-Williams

Pressure Drop, Flow Rate and Pipe Diameter modes, with the Hazen-Williams method

ΔP = ρ × g × 10.67 × (Q/ C )^1.852 × ( L / D^4.87)
ΔP
pressure drop from friction
C
Hazen-Williams roughness coefficient
L
pipe length, in m
D
inside diameter, in m
Q
flow rate, in m³/s

For water only, and developed for turbulent flow. C falls as a pipe ages; new pipe runs from 110 to 150 in EPANET's Table 3.2. C is limited to 50 to 160; the default is 140.

Source: Based on the Hazen-Williams form in EPA's EPANET 2.2 manual, Table 3.1, in SI units with the diameter exponent rounded from 4.871 to 4.87 [1].

Minor losses

Pressure Drop, Flow Rate and Pipe Diameter modes, with fittings added

ΔP fittings = ΣK × ρ v² / 2
K
one fitting's loss coefficient, times how many
v
mean velocity
90° elbow (short radius)
0.9
45° elbow
0.4
Tee, through the run
0.6
Tee, through the branch
1.8
Gate valve, open
0.2
Globe valve, open
10
Swing check valve, open
2.5

A fitting row keeps the K saved with it; picking a type fills in the value above. Solving for flow rate or pipe diameter, the pressure drop entered covers the pipe and its fittings together.

Source: Uses EPA's EPANET 2.2 minor-loss formula and its Table 3.3 coefficients [1]. For the reducer's 0.5, no primary source found.

Head loss and hydraulic power

Pressure Drop, Flow Rate and Pipe Diameter modes

h = ΔP ÷ (ρ × g) Hydraulic power = ΔP × Q Velocity head = v² ÷ (2 × g)
h
head loss, in meters of the fluid
ΔP
total pressure drop
g
standard gravity, 9.80665 m/s²

The hydraulic gradient is h ÷ L, and the relative roughness ε ÷ D. With a rise Δz from inlet to outlet, the static pressure ρ × g × Δz is added: the total head is h + Δz, and the hydraulic power is on both. Solving for flow or diameter, the rise comes off the drop entered first.

Source: Standard formulas; no single publisher. Standard gravity is the value the SI Brochure records from the 3rd CGPM (1901) [4].

Fluid and pipe presets

Every mode

Water, 20 °C
1,000 kg/m³, 0.001 Pa·s (NIST: 998.2, 0.0010016)
Water, 60 °C
983 kg/m³, 0.00047 Pa·s (NIST: 983.2, 0.000466)
Air, 20 °C, 1 atm
1.2 kg/m³, 1.8 × 10⁻⁵ Pa·s
Oil (SAE 30)
900 kg/m³, 0.3 Pa·s, at no stated temperature
Roughness
smooth 0.0015, steel 0.045, cast iron 0.26, concrete 0.3 mm (the low end of the 0.3 to 3 mm in EPANET Table 3.2)

Pick Custom to enter the density and viscosity of your own fluid at its temperature.

Source: Water checked against the NIST Chemistry WebBook [5]; roughness from EPANET 2.2, Table 3.2 [1]. The air and oil figures are CalcTrail's own; no publisher.

Velocity check (water)

For water

LOW
below 0.6 m/s
TYPICAL
0.6 to 2.4 m/s
HIGH
above 2.4, up to 3 m/s
EXCESSIVE
above 3 m/s

Source: CalcTrail's own guide values; no publisher (EPANET's manual sets none).

How the diameter sets the pressure drop: the Pressure Drop - Water (Darcy-Weisbach) example

How the diameter sets the pressure drop: the Pressure Drop - Water (Darcy-Weisbach) exampleBars of the pressure drop for 10 L/s through pipes of 50 mm to 125 mm. 50 mm: 527.73 kPa at 5.09 m/s. 65 mm: 138.15 kPa at 3.01 m/s. 80 mm: 48.33 kPa at 1.99 m/s. 100 mm: 15.81 kPa at 1.27 m/s. 125 mm: 5.23 kPa at 0.81 m/s.DiameterPressure dropSpeed50 mm527.73 kPa5.09 m/s65 mm138.15 kPa3.01 m/s80 mm48.33 kPa1.99 m/s100 mm15.81 kPa1.27 m/s125 mm5.23 kPa0.81 m/s
10 L/s of water through 100 m of steel pipe loses 48.33 kPa at 80 mm (Darcy-Weisbach). The loss falls about with the fifth power of the diameter: 527.73 kPa at 50 mm, 5.23 kPa at 125 mm. The last column is the water's speed.

How the flow rate sets the pressure drop: the Pressure Drop - Water (Darcy-Weisbach) example

How the flow rate sets the pressure drop: the Pressure Drop - Water (Darcy-Weisbach) exampleBars of the pressure drop in the 80 mm pipe at flows of 5 L/s to 20 L/s. 5 L/s: 13.11 kPa at 0.99 m/s. 7.5 L/s: 28.03 kPa at 1.49 m/s. 10 L/s: 48.33 kPa at 1.99 m/s. 15 L/s: 104.96 kPa at 2.98 m/s. 20 L/s: 182.89 kPa at 3.98 m/s.FlowPressure dropSpeed5 L/s13.11 kPa0.99 m/s7.5 L/s28.03 kPa1.49 m/s10 L/s48.33 kPa1.99 m/s15 L/s104.96 kPa2.98 m/s20 L/s182.89 kPa3.98 m/s
In the same 80 mm pipe, twice the flow (20 L/s) loses 182.89 kPa against 48.33 kPa: 3.8 times as much, close to the square of the flow, a little less because friction eases as the flow speeds up.

Sources

  1. US Environmental Protection Agency. EPANET 2.2 User Manual (EPA/600/R-20/133), chapter 3, The Network Model, section 3.1, Tables 3.1, 3.2 and 3.3. 2020.Our automated tests check this calculator against 8 cases from it.
  2. US Environmental Protection Agency. EPANET 2.2 User Manual (EPA/600/R-20/133), chapter 12, Analysis Algorithms, the friction factor for the Darcy-Weisbach formula. 2020.
  3. Colebrook CF. Turbulent flow in pipes, with particular reference to the transition region between the smooth and rough pipe laws. Journal of the Institution of Civil Engineers, 11(4): 133-156, February 1939.
  4. Bureau International des Poids et Mesures (BIPM). The International System of Units (SI), Appendix 1, 3rd CGPM (1901), declaration on the unit of mass and weight, p. 154. 9th edition (2019), version 4.01, June 2026.
  5. National Institute of Standards and Technology (NIST). NIST Chemistry WebBook, SRD 69, Thermophysical Properties of Fluid Systems (water). Queried October 5, 2026.

What this calculator does not cover

  • This takes full, round pipes carrying one incompressible fluid at a steady flow. Elevation enters only as the one rise entered, with no suction and discharge split and no NPSH. It does not model pipe aging, partly full pipes, gas compressibility over long runs, non-Newtonian fluids or slurries.

Sources checked on

How we choose sources and test the calculators: How CalcTrail calculates

Help

Quick Start Guide

  1. Select calculation mode: Simple works out the pressure drop for a commercial-steel pipe with no fittings. Choose Advanced to solve for flow rate or pipe diameter and to open the method, fluid and fittings-loss controls.
  2. Choose what to calculate: In Advanced, choose Pressure Drop, Flow Rate or Pipe Diameter: the one you need to solve for.
  3. Enter pipe and fluid parameters: Provide pipe diameter, length, fluid properties, and known flow/pressure values.
  4. View results: See pressure drop, flow rate, velocity, Reynolds number, and flow regime.
  5. Compare options: Try different pipe sizes, fluid types or flow rates and compare the results.

Frequently Asked Questions

Darcy-Weisbach applies to any liquid in any flow regime. Hazen-Williams is an empirical formula for water, developed for turbulent flow, and is the one most used for US water systems. EPA's EPANET manual says both. Both are offered here: choose one as the Method.

Related Calculators

A result is an estimate from the numbers you enter and the formulas shown, not engineering advice. What a result is, and is not.

Last updated