Swamee–Jain Friction Factor
Also known as colebrook approximation · moody friction factor
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!
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.
share your results
Swamee–Jain Friction Factor explained
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
- = Darcy friction factor
- = Absolute roughness (mm)
- = Inside diameter (mm)
- = Reynolds number
Missing one of these? Work it out first, then come back
- Darcy friction factor — Darcy–Weisbach Head Loss, Laminar Friction Factor (f = 64/Re)
- Absolute roughness — Colebrook–White Friction Factor
- Inside diameter — Darcy–Weisbach Head Loss, Colebrook–White Friction Factor
- Reynolds number — Reynolds Number, Laminar Friction Factor (f = 64/Re)