All articles
FrictionBeginner

How to Find the Darcy Friction Factor: Moody, Colebrook, and Swamee-Jain

The Moody diagram is a picture of the Colebrook-White equation. Laminar shortcut, implicit iteration, explicit fits, and a worked Re–ε/D example.

Updated 16 August 202611 min read

Key takeaways

  • Always compute Re before you touch a Moody chart.
  • Laminar: f = 64/Re. Roughness does not matter.
  • Colebrook is the industrial standard; Swamee-Jain and Haaland are ~1–2% explicit fits.
  • ε is equivalent sand roughness, not a measured peak-to-valley height.

Head loss is easy once you have f. Getting f is the part that trips people: laminar vs turbulent, ε/D, and an implicit log equation that textbooks wave at a Moody chart. This article walks the calculation in the order you should actually do it.

Start with Reynolds number

Re = V D / ν = ρ V D / μ
Water at 20 °C: ν ≈ 1.0×10⁻⁶ m²/s. At 5 °C, ν is about 1.5×10⁻⁶ — Re drops and f rises.
  • Re < 2300 — laminar. f = 64/Re. Roughness does not matter.
  • 2300–4000 — transitional. Avoid designing here; f is uncertain and can jump.
  • Re > 4000 — turbulent. f depends on Re and ε/D.

Example: V = 1.8 m/s, D = 0.15 m, water 20 °C. Re = 1.8 × 0.15 / 1e-6 = 2.7×10⁵ — firmly turbulent. If you had used 5 °C water, Re ≈ 1.8×10⁵, still turbulent, but f is a little higher.

Open solver: Reynolds number calculator

Colebrook-White

1/√f = −2 log₁₀( ε/(3.7D) + 2.51/(Re √f) )

f appears on both sides, so you iterate. A good seed is Swamee-Jain; three or four updates usually settle to engineering precision. The Moody chart is simply this equation drawn for families of ε/D.

Explicit approximations

Swamee-Jain: f = 0.25 / [log₁₀(ε/(3.7D) + 5.74/Re^0.9)]² Haaland: 1/√f = −1.8 log₁₀[(ε/D/3.7)^1.11 + 6.9/Re]

Both stay within about 1–2% of Colebrook over the usual turbulent range. Use them in spreadsheets and network codes. For a reported design value, iterate Colebrook once and cite it.

Open solver: Colebrook / Swamee-Jain / Haaland

Roughness catalogue

Materialε (mm)ε (m)
Drawn tubing / PVC / PE0.00151.5×10⁻⁶
Commercial steel0.0454.5×10⁻⁵
Galvanized iron0.151.5×10⁻⁴
Cast iron0.262.6×10⁻⁴
Concrete (smooth to rough)0.3–33×10⁻⁴–3×10⁻³
Corrugated metal3–30up to 0.03

ε is equivalent sand roughness, not a profilometer reading. Biofilm and scale move you up the Moody chart faster than most textbooks admit. Relative roughness is ε/D — a 0.045 mm steel wall on a 1 m main is almost hydraulically smooth; the same wall on a 20 mm tube is not.

Open solver: Water properties and roughness catalogueOpen solver: Interactive Moody diagram

Frequently asked questions

f appears inside the log and under a square root. There is no algebraic rearrangement. Iterate from a Swamee-Jain seed; four updates are usually enough.

Keywords

moody diagram calculatorcolebrook white equationswamee jain formulahaaland equationdarcy friction factorrelative roughness epsilon Dreynolds number pipe flow

Related solvers

More from the blog