Pipe flow calculator

Not sure where to start? 4 places to go

Start with your question

Why visitors arrive: You have a pipe, a fluid and a flow, and you need the Reynolds number, the friction factor or the pressure drop.

Your question: Is this flow laminar or turbulent, and what does it cost in pressure over the run?

You may also be asking

  • Where do I get the density and viscosity to put in?
  • Which friction factor is this, Darcy or Fanning?
  • What about bends, valves and fittings?

Where to go next

Lucas Rey: aerothermal engineer · ORCID · About · Publications

Reynolds number, flow regime, Darcy friction factor, pressure drop, head loss and wall shear stress for a full circular pipe. Part of the engineering calculators on the knowledge platform, and the natural next step after the air properties calculator, which returns the density and viscosity this one asks for.


Pipe flow calculator

Reynolds number, flow regime, Darcy friction factor from Colebrook-White, pressure drop, head loss and wall shear stress for a full circular pipe. For dry air, the air properties calculator returns the density and viscosity this one asks for.

What the calculator returns

Give it a pipe, a fluid and a flow, and it returns ten quantities. The flow can be a mean velocity or a volumetric rate, and the roughness can be typed or filled from a named material. Every result has a copy button.

  • Mean velocity, V, and volumetric flow, Q: whichever you did not give, from the bore area
  • Reynolds number, Re = ρVD/μ: dimensionless, the ratio of inertial to viscous forces
  • Flow regime: laminar below Re 2300, transitional to 4000, turbulent above
  • Relative roughness, ε/D: dimensionless, and the second axis of the Moody chart
  • Darcy friction factor, f: 64/Re when laminar, Colebrook-White when turbulent
  • Pressure drop, Δp: in Pa and in bar, from Darcy-Weisbach over the length you give
  • Head loss, hf: in metres of the flowing fluid, which is Δp/ρg
  • Wall shear stress, τw = fρV²/8: in Pa, which sizes erosion and fouling arguments

Correlations, and how they were checked

Laminar flow uses f = 64/Re, which is exact, being the Hagen-Poiseuille solution rather than a fit. Turbulent flow uses the Colebrook-White equation, which is implicit in f and is solved here by iteration from the Swamee-Jain explicit form. Pressure drop is Darcy-Weisbach.

The friction factor was checked before this page existed, and checked twice, because two implementations of mine agreeing would only show that I had not made two different mistakes. It was solved independently by a root finder rather than by iteration, agreeing to twelve decimal places, and then compared against published Moody values:

CaseThis calculatorPublishedDifference
Laminar, Re 1000, exact 64/Re0.064000.06400.00%
Laminar, Re 2000, exact 64/Re0.032000.03200.00%
Smooth pipe, Re 1040.030880.03090.06%
Smooth pipe, Re 1050.017990.01800.06%
Smooth pipe, Re 1060.011650.01160.39%
ε/D 0.001, Re 1060.019940.01990.22%
ε/D 0.01, Re 1060.037960.03790.17%

Where it refuses to answer, and why

A calculator that always returns a number is not more useful than one that says when it cannot. This one declines in three places.

  • Between Re 2300 and 4000 it answers and warns. No friction correlation is reliable through the transition. The turbulent value is shown so there is something to work with, labelled transitional, rather than printed with the confidence of a number at Re 105
  • Above ε/D of 0.05 it refuses. That is outside the range Colebrook covers, and the usual cause is a roughness or a diameter entered in the wrong unit
  • An unconverged solve returns nothing. A friction factor that quietly stopped iterating early is worse than no friction factor, and a refusal also clears the panel so a previous answer cannot sit there looking current

A worked case you can reproduce

Water at 20 °C through 100 m of 100 mm commercial steel pipe at 2 m/s. Density 998.2 kg/m³, dynamic viscosity 0.001002 Pa·s, roughness 0.045 mm.

  • Reynolds number: 199,242, so turbulent
  • Relative roughness: 0.00045
  • Friction factor: 0.01857
  • Pressure drop: 37,067 Pa, which is 0.371 bar
  • Head loss: 3.787 m of water
  • Wall shear stress: 9.267 Pa

For dry air, take the density and viscosity from the air properties calculator first: it returns both from a temperature, and density needs a pressure as well.

Part of Engineering

This page is part of the engineering knowledge platform on lucasrey.com.

Engineering knowledge platform

More tools, curriculum, notes, and research from the same body of work:

  • Engineering - Central knowledge platform - tools, curriculum, notes, research, and applied engineering work.

Where to go from here

Everything on this site is free to read. These are the things worth doing next.

Everything linked above is free and stays free. One-to-one places are limited and taken by application, not by the hour.