Moody Chart Friction Factor Calculator

Find the Darcy friction factor f from Reynolds number and pipe roughness, solved with the Colebrook-White equation and plotted on a Moody chart.

📈 Moody Chart Friction Factor Calculator
-
mm
mm
Darcy Friction Factor (f)
Relative Roughness (ε/D)
Flow Regime
Step-by-step working

📈 What is the Moody Chart Friction Factor Calculator?

This Moody chart friction factor calculator finds the Darcy friction factor f used in the Darcy-Weisbach pipe pressure drop equation. Enter a Reynolds number along with the pipe's absolute roughness and diameter, and it solves for f using the exact laminar formula or the implicit Colebrook-White equation, whichever regime applies, then plots your point on an interactive Moody-style diagram.

The Moody chart itself is a classic engineering graph, published by Lewis Moody in 1944, that plots friction factor against Reynolds number for a family of curves at different relative roughness values. Generations of engineers read friction factor off this chart by eye. This calculator reproduces the same information numerically and visually, without requiring you to interpolate between printed curves.

A common point of confusion is that friction factor depends on two very different things depending on the flow regime. In laminar flow, only the Reynolds number matters, roughness is irrelevant because the flow moves in smooth layers that never touch the wall's microscopic bumps in a disruptive way. In turbulent flow, both Reynolds number and relative roughness (ε/D, not the raw roughness alone) matter, because turbulent eddies interact directly with the wall surface.

This calculator is useful for hydraulics and fluid mechanics students verifying Moody chart readings by hand, and for practicing engineers sizing pipes, pumps, and HVAC ductwork who need a fast, precise friction factor without interpolating a printed chart or building a spreadsheet solver.

📐 Formula

Laminar (Re < 2,300):  f  =  64 / Re
Re = Reynolds number (dimensionless)
Example: Re = 1,500 gives f = 64/1500 = 0.042667.
Turbulent (Re > 4,000):  1/√f  =  −2·log₁₀(ε/D/3.7 + 2.51/(Re√f))
ε/D = relative roughness, roughness ε divided by diameter D
Re = Reynolds number (dimensionless)
Solved by fixed-point iteration starting from f = 0.02, converges in well under 50 iterations.
Example: Re = 500,000, ε/D = 0.000225 (200 mm steel pipe): f ≈ 0.015656.

📖 How to Use This Calculator

Steps

1
Enter the Reynolds number.
2
Enter roughness and diameter.
3
Read the friction factor and flow regime, and see your point on the chart.

💡 Example Calculations

Example 1 - Commercial steel water main

1
D = 200 mm, ε = 0.045 mm (commercial steel), Re = 500,000
2
Relative roughness = 0.045 / 200 = 0.000225
3
Turbulent, Colebrook-White gives f = 0.015656
f = 0.0157 (turbulent)
Try this example →

Example 2 - Smooth PVC pipe

1
D = 100 mm, ε = 0.0015 mm (PVC), Re = 50,000
2
Relative roughness = 0.0015 / 100 = 0.000015
3
Turbulent, Colebrook-White gives f = 0.020946
f = 0.02095 (turbulent, near-smooth)
Try this example →

Example 3 - Laminar flow in a small tube

1
Re = 1,500 (roughness is irrelevant in laminar flow)
2
Re < 2,300, so flow is laminar
3
f = 64/Re = 64/1500 = 0.042667
f = 0.04267 (laminar)
Try this example →

❓ Frequently Asked Questions

What is the Moody chart?+
The Moody chart is a graph that plots the Darcy friction factor f against Reynolds number Re for a family of relative roughness (ε/D) curves. Engineers historically read f off the chart by locating Re on the x-axis and following the curve for their pipe's relative roughness. This calculator solves the same underlying Colebrook-White equation numerically instead of reading a graph, then plots the result on the chart for reference.
What is the Darcy friction factor?+
The Darcy friction factor f is a dimensionless number that quantifies pipe wall friction in the Darcy-Weisbach pressure drop equation, deltaP = f x (L/D) x (rho v^2 / 2). It depends on the Reynolds number and, for turbulent flow, on the pipe's relative roughness ε/D. It is not the same as the Fanning friction factor, which is exactly one quarter of the Darcy value.
What is the Colebrook-White equation?+
The Colebrook-White equation is the implicit formula that defines the turbulent friction factor: 1/sqrt(f) = -2 log10(ε/D/3.7 + 2.51/(Re sqrt(f))). It cannot be solved algebraically for f because f appears on both sides, so this calculator solves it by fixed-point iteration, starting from an initial guess of f = 0.02 and iterating until the value converges.
How do I find the friction factor for laminar flow?+
For laminar flow, defined as Reynolds number below 2,300, the friction factor follows the exact analytical formula f = 64/Re. No iteration or roughness data is needed because laminar flow is smooth and layered, with friction determined entirely by viscous effects near the pipe wall, not by wall roughness.
What happens between Re = 2,300 and Re = 4,000?+
This is the transitional zone, where flow can be intermittently laminar and turbulent and no single formula is reliably accurate. This calculator extrapolates the Colebrook-White turbulent formula into this range and labels the result as transitional, but real pipe flow in this regime is unpredictable and engineers typically avoid designing systems to operate here.
What is relative roughness and how is it calculated?+
Relative roughness is ε/D, the pipe's absolute wall roughness ε divided by its internal diameter D, both in the same units. This calculator accepts roughness in millimetres and diameter in millimetres and divides them internally. A relative roughness of 0.000225 (commercial steel at 200 mm) is very different from the same 0.045 mm roughness in a 20 mm pipe, where ε/D = 0.00225, ten times rougher relative to the flow.
How is this different from the site's Darcy-Weisbach pressure drop calculators?+
The Darcy-Weisbach pressure drop calculator and pipe flow calculator compute pressure loss or flow rate for a complete pipe system (length, flow rate, fluid properties) and use a friction factor internally as one step. This Moody chart calculator isolates just that one step, the friction factor itself, and visualizes it against the full family of Moody chart curves so you can see where your flow sits relative to laminar, transitional, and turbulent regimes at any roughness.
Why does the friction factor curve flatten at high Reynolds number?+
At very high Reynolds number in a rough pipe, the flow becomes fully rough turbulent: the roughness elements protrude through the thin viscous sublayer near the wall, and further increases in velocity no longer change the friction factor meaningfully. The curve becomes nearly horizontal, friction factor depends only on relative roughness in this regime, not on Re.
Does pipe material roughness change over time?+
Yes. New pipes have roughness close to the manufactured value (drawn copper or PVC around 0.0015 mm, new steel around 0.045 mm), but corrosion, scaling, and biofilm buildup increase effective roughness over the service life of a pipe, sometimes by an order of magnitude for old cast iron or corroded steel. Engineers often design with an aged roughness value rather than the as-manufactured value for long-life systems.
What are typical roughness values for common pipe materials?+
Approximate absolute roughness ε: drawn copper or glass about 0.0015 mm, commercial steel or wrought iron about 0.045 mm, galvanized steel about 0.15 mm, cast iron about 0.26 mm, concrete 0.3 to 3 mm depending on finish, and riveted steel up to 3 to 9 mm. These values are the standard references used to populate Moody chart curves in engineering textbooks.
Is the Colebrook-White equation exact?+
Colebrook-White is a semi-empirical curve fit to experimental turbulent pipe flow data, not a first-principles derivation, but it is widely accepted as the most accurate general-purpose turbulent friction factor formula, typically within a few percent of measured values across a very wide range of Reynolds numbers and roughness ratios. Explicit approximations like Swamee-Jain trade a small amount of accuracy for avoiding the iterative solve.

What is the Moody chart?

The Moody chart is a graph that plots the Darcy friction factor f against Reynolds number Re for a family of relative roughness (ε/D) curves. Engineers historically read f off the chart by locating Re on the x-axis and following the curve for their pipe's relative roughness. This calculator solves the same underlying Colebrook-White equation numerically instead of reading a graph, then plots the result on the chart for reference.

What is the Darcy friction factor?

The Darcy friction factor f is a dimensionless number that quantifies pipe wall friction in the Darcy-Weisbach pressure drop equation, deltaP = f x (L/D) x (rho v^2 / 2). It depends on the Reynolds number and, for turbulent flow, on the pipe's relative roughness ε/D. It is not the same as the Fanning friction factor, which is exactly one quarter of the Darcy value.

What is the Colebrook-White equation?

The Colebrook-White equation is the implicit formula that defines the turbulent friction factor: 1/sqrt(f) = -2 log10(ε/D/3.7 + 2.51/(Re sqrt(f))). It cannot be solved algebraically for f because f appears on both sides, so this calculator solves it by fixed-point iteration, starting from an initial guess of f = 0.02 and iterating until the value converges.

How do I find the friction factor for laminar flow?

For laminar flow, defined as Reynolds number below 2,300, the friction factor follows the exact analytical formula f = 64/Re. No iteration or roughness data is needed because laminar flow is smooth and layered, with friction determined entirely by viscous effects near the pipe wall, not by wall roughness.

What happens between Re = 2,300 and Re = 4,000?

This is the transitional zone, where flow can be intermittently laminar and turbulent and no single formula is reliably accurate. This calculator extrapolates the Colebrook-White turbulent formula into this range and labels the result as transitional, but real pipe flow in this regime is unpredictable and engineers typically avoid designing systems to operate here.

What is relative roughness and how is it calculated?

Relative roughness is ε/D, the pipe's absolute wall roughness ε divided by its internal diameter D, both in the same units. This calculator accepts roughness in millimetres and diameter in millimetres and divides them internally. A relative roughness of 0.000225 (commercial steel at 200 mm) is very different from the same 0.045 mm roughness in a 20 mm pipe, where ε/D = 0.00225, ten times rougher relative to the flow.

How is this different from the site's Darcy-Weisbach pressure drop calculators?

The Darcy-Weisbach pressure drop calculator and pipe flow calculator compute pressure loss or flow rate for a complete pipe system (length, flow rate, fluid properties) and use a friction factor internally as one step. This Moody chart calculator isolates just that one step, the friction factor itself, and visualizes it against the full family of Moody chart curves so you can see where your flow sits relative to laminar, transitional, and turbulent regimes at any roughness.

Why does the friction factor curve flatten at high Reynolds number?

At very high Reynolds number in a rough pipe, the flow becomes fully rough turbulent: the roughness elements protrude through the thin viscous sublayer near the wall, and further increases in velocity no longer change the friction factor meaningfully. The curve becomes nearly horizontal, friction factor depends only on relative roughness in this regime, not on Re.

Does pipe material roughness change over time?

Yes. New pipes have roughness close to the manufactured value (drawn copper or PVC around 0.0015 mm, new steel around 0.045 mm), but corrosion, scaling, and biofilm buildup increase effective roughness over the service life of a pipe, sometimes by an order of magnitude for old cast iron or corroded steel. Engineers often design with an aged roughness value rather than the as-manufactured value for long-life systems.

What are typical roughness values for common pipe materials?

Approximate absolute roughness ε: drawn copper or glass about 0.0015 mm, commercial steel or wrought iron about 0.045 mm, galvanized steel about 0.15 mm, cast iron about 0.26 mm, concrete 0.3 to 3 mm depending on finish, and riveted steel up to 3 to 9 mm. These values are the standard references used to populate Moody chart curves in engineering textbooks.

Is the Colebrook-White equation exact?

Colebrook-White is a semi-empirical curve fit to experimental turbulent pipe flow data, not a first-principles derivation, but it is widely accepted as the most accurate general-purpose turbulent friction factor formula, typically within a few percent of measured values across a very wide range of Reynolds numbers and roughness ratios. Explicit approximations like Swamee-Jain trade a small amount of accuracy for avoiding the iterative solve.