Swamee–Jain Friction Factor

Also known as colebrook approximation · moody friction factor

f=0.25[log⁡10 ⁣(ε3.7D+5.74Re0.9)]2f = \frac{0.25}{\left[\log_{10}\!\left(\frac{\varepsilon}{3.7D} + \frac{5.74}{Re^{0.9}}\right)\right]^{2}}

Worked example: Commercial steel 0.045 mm, 100 mm bore, Re 1e5 → f = 0.02020 — press Try an example to run it live, then adjust anything.

Enter your known values, leave one input blank, and solves for the missing one. Tap a variable’s symbol to see what it means, with a typical value. Try different units for next level excitement!

Here the solver did the work — could you?

Finding f →

UniversityFluid Mechanics, HVAC & Refrigeration

Test your skills in the Exam Room: new numbers every attempt — free lessons for students, no sign-up, just pure learning. Find 1 more lesson on this formula.

See your Report Card
Compete with your friends
share your results
Learning zone

Swamee–Jain Friction Factor explained

ReDεf

Colebrook and White's 1939 equation is the accepted description of turbulent friction, but it has f on both sides and must be iterated — a genuine nuisance in the slide-rule era and still an irritation in a spreadsheet. In 1976 Prabhata Swamee and Akalank Jain published this explicit fit that lands within about 1% of Colebrook across the whole practical range, and it has been the default in hydraulic software ever since. Commercial steel (ε = 0.045 mm) at 100 mm bore and Re = 100 000 gives f ≈ 0.0202, matching a Moody chart read to the width of a pencil line.

Watch the roughness values: ε is absolute, in the same length units as D, and it varies enormously — 0.0015 mm for drawn tubing, 0.045 mm for new commercial steel, 0.15 mm for galvanised, 0.26 mm for cast iron, 3 mm for riveted steel. New-pipe roughness is also optimistic; a domestic-water steel line ten years into service can have several times the design ε from tuberculation, which is exactly why plant hydraulic models drift from reality and why Hazen–Williams C values are quietly downgraded as systems age.

Swamee–Jain Friction Factor formula

f=0.25[log⁡10 ⁣(ε3.7D+5.74Re0.9)]2f = \frac{0.25}{\left[\log_{10}\!\left(\frac{\varepsilon}{3.7D} + \frac{5.74}{Re^{0.9}}\right)\right]^{2}}
Where
  • ff= Darcy friction factor
  • ε\varepsilon= Absolute roughness (mm)
  • DD= Inside diameter (mm)
  • ReRe= Reynolds number

Missing one of these? Work it out first, then come back