Moody Friction Factor
Darcy and Fanning friction factor from Reynolds number and relative pipe roughness.
Overview
What it calculates
This calculator returns the Darcy friction factor and the Fanning factor (one quarter of Darcy) from Reynolds number and relative roughness. Re can be typed in or computed from density, viscosity, velocity and diameter. Roughness comes from a pipe material list or a custom value. The turbulent correlation is set on the Methods page: Colebrook-White solved iteratively (the default), or the explicit Chen, Swamee-Jain or Blasius forms. Below Re 2,000 it uses the laminar result f = 64/Re whatever the setting.
When to use it
Use it to supply a friction factor to a hand calculation or spreadsheet, or to check a value read off a Moody chart. The selected correlation applies across every calculator in the app that needs a friction factor, including Liquid Line Pressure Drop (Darcy-Weisbach).
Inputs that matter most
Relative roughness eps/D sets the floor. At high Re, f depends almost entirely on it. At lower Re, Re dominates. The built-in roughness values include commercial steel at 0.0018 in. (0.046 mm), internally coated steel at 0.0002 in. (0.005 mm), cast iron at 0.0102 in. (0.26 mm) and drawn tubing or PVC at 0.00006 in. (0.0015 mm). The worked example, Re of 100,000 in 4.026 in. (102 mm) ID commercial steel, gives a Darcy f of about 0.0201.
Reading the results
Darcy versus Fanning is the classic trap. The Darcy-Weisbach head loss equation uses the Darcy value. A Fanning value dropped into it understates pressure drop by a factor of four. Check which one your source equation expects. Blasius ignores roughness entirely, so it only represents smooth pipe and is usually limited to Re up to about 100,000.
Limits and common mistakes
Between Re 2,000 and 4,000 no correlation is reliable, and the calculator warns. It also warns when relative roughness exceeds 0.05 and errors at 0.5 or above. Roughness grows with corrosion, scale and age, so a new-pipe value can understate friction in an old line. Use the true inside diameter.
Equations
Source: Standard Gas Processing Engineering Practice
| Symbol | Meaning | Units (US / SI) |
|---|---|---|
| Darcy friction factor | - | |
| Relative roughness | - | |
| Reynolds number | - |
Source: Chen (1979)
| Symbol | Meaning | Units (US / SI) |
|---|---|---|
| Darcy friction factor | - | |
| Relative roughness | - | |
| Reynolds number | - |
Inputs
| Input | Symbol | Default | Typical range or options |
|---|---|---|---|
| Reynolds number basis | Enter Re directly | Enter Re directly Compute from flow | |
| Reynolds number | 100,000 | ||
| Density | 62.37 lb/ft³ (999 kg/m³) | ||
| Dynamic viscosity | 1 cP (1 mPa·s) | ||
| Velocity | 7.546 ft/s (2.3 m/s) | ||
| Pipe material | Commercial steel / welded steel | Commercial steel / welded steel Drawn tubing Cast iron Concrete PVC Internally coated steel Custom | |
| Absolute roughness | 0.0018 in (0.04572 mm) | ||
| Inside diameter | 4.026 in (102.3 mm) |
Outputs
- Darcy friction factor ()
- Fanning friction factor ()
- Relative roughness ()
- Flow regime
- Reynolds number ()
Assumptions and limitations
Assumptions
- The active correlation (Colebrook-White, Chen, Swamee-Jain or Blasius) is chosen on the Methods page and applies to every calculator that needs a friction factor.
- Below Re = 2000, f = 64/Re (laminar) regardless of the selected turbulent correlation.
Limitations
- Darcy friction factor is reported; the Fanning friction factor is exactly one quarter of it (f_F = f/4) — the two are easy to confuse and use different forms of the head-loss equation.
- 2000 < Re ≤ 4000 is a critical/transitional zone where no correlation is reliable.
Worked example
Re = 1e5, commercial steel, NPS 4 Sch 40 (4.026 in ID)
Inputs
| Reynolds number basis | Enter Re directly |
|---|---|
| Reynolds number | 100,000 |
| Pipe material | Commercial steel / welded steel |
| Inside diameter | 4.026 in (102.3 mm) |
Expected results
| Darcy friction factor | 0.02011 |
|---|---|
| Relative roughness | 4.471×10-4 |
The prompt’s stated check value (f ≈ 0.0208 ± 2%) is ~3.3% above what Colebrook-White, Chen and Swamee-Jain all independently agree on (≈0.0201) for these inputs.
The calculator's test suite checks that the solver reproduces these results.
References
- Standard Gas Processing Engineering Practice
- Colebrook (1939)
- Chen (1979)
Rules of thumb
- The 2 psi per 100 ft Budget: Pump discharge 2 to 4 psi per 100 ft. (US units). Pump discharge 0.45 to 0.9 bar per 100 m. (SI units).
Page last updated 2026-10-28.