processconvert
Fluid Mechanics

Friction Factor Explained

Why the friction factor is not a universal constant — how it depends on Reynolds number and relative roughness, the laminar f = 64/Re result, the transitional caution zone, the Moody chart, and the Swamee-Jain and Colebrook approximations.

TypeEngineering guide — concept explainer

Definition

The Darcy friction factor f is the dimensionless number that turns the velocity head and the length-to-diameter ratio of a pipe into a friction loss, via h_f = f·(L/D)·v²/(2g). It is not a property of the pipe alone and not a universal constant: it depends on the flow regime, expressed through the Reynolds number, and on the relative roughness ε/D of the pipe wall.

Why it matters

The friction factor is the one empirical input in the Darcy-Weisbach equation, so every pipe pressure-drop calculation rests on getting it right. The same pipe has a high friction factor at low flow (laminar), a lower one at high flow (turbulent), and a value that flattens onto a roughness-controlled floor at very high Reynolds numbers. Knowing how f moves with flow is what lets you reason about pressure drop across the whole operating range instead of at one point.

Formula

Laminar (Re < 2300)
f = 64 / Re
Turbulent — Colebrook-White (implicit)
1/√f = −2 log₁₀(ε/(3.7D) + 2.51/(Re√f))
Turbulent — Swamee-Jain (explicit)
f = 0.25 / [log₁₀(ε/(3.7D) + 5.74/Re⁰·⁹)]²
Relative roughness
ε/D

Units involved

  • f — Darcy friction factor, dimensionless
  • Re — Reynolds number, dimensionless (Re = ρvD/μ)
  • ε — absolute roughness, mm or m
  • D — internal diameter, same length unit as ε
  • ε/D — relative roughness, dimensionless

Concept diagram

f (Darcy)Reynolds number (log scale)f = 64/Retransitionhigh ε/Dsmooth pipelaminarturbulent

Worked example

Compare two cases in a 150 mm pipe with absolute roughness 0.045 mm (ε/D = 0.0003): laminar at Re = 1,500 and turbulent at Re = 235,800.

  1. 01Laminar: Re = 1,500 < 2300 → f = 64/Re = 64/1500 = 0.0427
  2. 02Turbulent: ε/D = 0.045/150 = 0.0003
  3. 03Swamee-Jain: f = 0.25 / [log₁₀(0.0003/3.7 + 5.74/235800⁰·⁹)]²
  4. 04f ≈ 0.0175
Result

Laminar f ≈ 0.043; turbulent f ≈ 0.0175. The friction factor more than halves between the two regimes even though it is the same pipe.

Common mistakes

  • Treating f as a fixed pipe constant — it changes with Reynolds number and therefore with flow rate, temperature, and fluid.
  • Confusing Darcy and Fanning friction factors — Fanning is one quarter of Darcy. Always confirm which convention a chart or formula uses.
  • Letting roughness affect the laminar result — in laminar flow f = 64/Re and roughness has no effect; roughness only matters once the flow is turbulent.
  • Trusting a single value in the transitional band (2300 ≤ Re ≤ 4000) — the friction factor is genuinely uncertain there; design to avoid it.
  • Reading the Moody chart on the wrong roughness curve — use the absolute roughness for the actual pipe material and condition (new vs aged), not a generic value.

When to use the calculator

Use the Friction Factor calculator when you have a Reynolds number and a relative roughness and want f directly. Use the Reynolds Number calculator first if you still need Re, and the Pipe Pressure Drop calculator if you want the whole chain — velocity, Re, f, and pressure drop — in one step.

FAQ

Why is the friction factor not a single constant for a pipe?
Because it measures how the flow itself dissipates energy, not just the pipe. In laminar flow it is purely 64/Re; in turbulent flow it depends on both Re and the relative roughness. Change the flow rate, the temperature, or the fluid and the friction factor changes with it.
What is the Moody chart?
The Moody chart is the classic log-log plot of Darcy friction factor against Reynolds number, with a family of curves for different relative roughness values. It shows the steep laminar line, the uncertain transition region, and the turbulent curves that flatten onto roughness-controlled plateaus at high Re. Correlations like Colebrook-White and Swamee-Jain are algebraic stand-ins for reading that chart.
What is the difference between Colebrook-White and Swamee-Jain?
Colebrook-White is the accurate but implicit equation for turbulent friction factor — you have to iterate because f appears on both sides. Swamee-Jain is an explicit approximation that you can evaluate directly; it matches Colebrook to about ±1% over the usual range of Re and roughness, which is why calculators use it.
Does relative roughness matter in laminar flow?
No. In laminar flow the friction factor is exactly 64/Re regardless of roughness. Roughness only begins to influence f once the flow becomes turbulent, and its influence grows as Reynolds number rises.

Related calculators

Related conversions

Related guides