Mechanical · fluids

Pipe Flow & Pressure Drop Calculator

Darcy–Weisbach, the Moody diagram, and what it costs to push a fluid through a pipe.
Darcy–Weisbach · Swamee–Jain
turbulent

Set-up

define the run
20.0 L/s
100 mm
50 m

The Moody diagram

drag the marker along the curve · or use the flow slider
laminar (f = 64/Re) other roughness curves your pipe's curve log–log axes: friction factor f vs Reynolds number Re
Results
Flow detail
Cross-section

Velocity profile & wall gradient

updates live with flow, pipe and fluid
Relationships

What drives the pressure drop

amber markers track your current run
Pipe library

Standard sizes & roughness

roughness values are typical references, not certificates
How it works

How to estimate pressure drop in a pipe

Pressure drop (ΔP)

The energy lost to friction along the pipe, as pressure: what a pump must overcome. ΔP = f · (L/D) · (ρv²/2).

Reynolds number

Re = vD/ν. Below about 2,300 flow is laminar; above 4,000 it is turbulent. Almost every pumped liquid system is turbulent.

Friction factor

Read off the Moody diagram from Re and relative roughness. Laminar: the clean f = 64/Re; turbulent: an empirical curve (Swamee–Jain here).

Relative roughness

ε/D: a 0.05 mm pit barely matters in a 200 mm pipe but dominates in a 6 mm one, so small pipes are far more sensitive to material.

Worked example. Water at 20 °C through 100 mm commercial steel pipe at 20 L/s gives a velocity of about 2.55 m/s and a Reynolds number near 250,000: firmly turbulent. The friction factor lands around 0.018, and over 50 m of pipe that is roughly 30 kPa of pressure drop. Step up one pipe size and that falls sharply, because pressure drop scales with 1/D⁵: from 25 mm to 32 mm cuts friction loss by about 70%, and a bigger pipe is usually cheaper than a bigger pump.
Field notes

How the numbers fit together

1/D⁵

Diameter is a big deal

Pressure drop scales with the fifth power of diameter, so a small increase in bore dramatically cuts the loss: often the cheapest fix for an under-performing line is simply a larger pipe.

Laminar or turbulent: does it matter?

A lot. Below Re ≈ 2,300 flow is laminar and friction follows f = 64/Re. Above about 4,000 it is turbulent and roughness starts to matter; between the two lies an unpredictable transition zone: avoid designing in it. Turbulent eddies mix momentum across the pipe, giving a blunter profile with almost all the speed change in a thin layer at the wall, unlike laminar flow’s smooth parabola.

1–2.5 m/s

What velocity to aim for

For water, a common comfortable band: slower and sediment settles, faster and you get erosion, noise and water hammer. Pump suction lines sit at the low end. The tool flags when you are outside typical ranges.

This is straight-pipe loss only

Elbows, valves, tees and entrance and exit effects add “minor losses” that can be significant in a real system and must be added separately.

Questions

What people ask

Laminar or turbulent — does it matter?

A lot. Below a Reynolds number of ~2,300 flow is laminar and friction follows the clean f = 64/Re law. Above ~4,000 it's turbulent and roughness starts to matter. Most pumped liquid systems are turbulent.

Why is the turbulent velocity profile flatter than the laminar one?

Turbulent eddies constantly mix momentum across the pipe, dragging the slow fluid near the wall and the fast fluid at the centre toward each other — the result is a blunter, more uniform core with almost all the speed change crammed into a thin layer near the wall, unlike laminar flow's smooth parabola.

Why is diameter such a big deal?

Because pressure drop scales with 1/D⁵. A small increase in bore dramatically cuts the loss — often the cheapest fix for an under-performing line is simply a larger pipe.

Does this include fittings and valves?

No — this is straight-pipe (major) loss only. Elbows, valves, tees, and entrance/exit effects add "minor losses" that can be significant in a real system and need to be added separately.

What velocity should I aim for?

For water, very roughly 1–2.5 m/s is a common comfortable band — slow enough to limit erosion and noise, fast enough to avoid settling. The tool flags when you're outside typical ranges.

What is the formula for pressure drop in a pipe?

The Darcy–Weisbach equation: ΔP = f × (L / D) × (ρv² / 2), where f is the friction factor, L the pipe length, D the internal diameter, ρ the fluid density and v the mean velocity. Divide by ρg to express the same loss as a head of fluid. This page applies it for you from the flow rate, pipe size, length and fluid.

How do I find the Darcy friction factor?

In laminar flow, f = 64 / Re exactly. In turbulent flow it depends on the Reynolds number and the pipe’s relative roughness, and is read from the Moody diagram or solved from the Colebrook equation. This page uses the explicit Swamee–Jain formula for turbulent flow and puts a marker on a Moody diagram that you can drag along the curve.

Why does pressure drop rise so steeply with flow rate?

In fully turbulent flow the friction factor changes little, so the pressure drop grows roughly with the square of the velocity: about four times as much for double the flow through the same pipe. It is the reason an oversized pump, or a flow that has crept up, shows as a surprisingly large loss.

Results are for reference only. Check these numbers against other sources before relying on them for a real system design.
Version history · site-wide passes only

This page has changed in 191 archived releases, but each of those was a site-wide pass, so none is attributable to this tool on its own and none is listed here. That is not a claim that the tool never changed — a release that reworked many pages at once may well have altered this one too. The changelog has them.

Rules of thumb are approximations, offered to get you to the right order of magnitude fast. Check anything load-bearing against its source or the exact tool. Privacy · Terms

© 2026 Rules of Thumb · Runs entirely in your browser