friction factor calculator

Darcy Friction Factor Calculator

Enter your flow and pipe properties to calculate Reynolds number, Darcy friction factor, Fanning friction factor, and optional pressure drop/head loss.

What Is Friction Factor?

The friction factor is a dimensionless number used in fluid mechanics to represent resistance to flow in a pipe. It is essential for estimating energy losses, pump sizing, and pressure drop in systems carrying water, oils, gases, and other fluids.

In practice, engineers most often use the Darcy friction factor in the Darcy–Weisbach equation. This calculator returns Darcy friction factor directly, and also reports Fanning friction factor for convenience.

Formulas Used in This Calculator

1) Reynolds Number

Flow regime is determined from Reynolds number:

Re = (ρVD) / μ

2) Darcy Friction Factor

  • Laminar flow (Re < 2300): f = 64/Re
  • Turbulent flow (typically Re ≥ 4000): solved using the Colebrook-White relation

1/√f = -2 log10((ε/3.7D) + (2.51/(Re√f)))

In the transition region (2300 ≤ Re < 4000), the result is blended between laminar and turbulent estimates to provide a practical engineering approximation.

3) Pressure Drop and Head Loss (Optional)

If you provide pipe length L, the calculator also reports:

  • ΔP = f (L/D) (ρV²/2)
  • hf = f (L/D) (V²/2g)

How to Use the Calculator

  • Enter flow velocity, pipe diameter, density, and viscosity.
  • Enter absolute roughness of the pipe material.
  • Optionally enter pipe length if you want pressure drop and head loss.
  • Click Calculate.

The tool immediately returns Reynolds number, relative roughness, friction factors, and loss metrics.

Typical Roughness Values (ε)

Use realistic roughness values for accurate results. Common ranges:

  • Drawn tubing / very smooth pipe: ~0.0015 mm to 0.01 mm
  • Commercial steel: ~0.045 mm
  • Cast iron: ~0.26 mm
  • Concrete (rough): 0.3 mm to 3 mm

Remember to convert mm to meters when entering values (for example, 0.045 mm = 0.000045 m).

Darcy vs. Fanning Friction Factor

Different industries use different conventions. The relationship is:

fFanning = fDarcy / 4

If you are comparing with equations from heat transfer texts or process handbooks, make sure you are using the same definition.

Practical Tips for Better Results

  • Use consistent SI units to avoid unit conversion errors.
  • Check if your fluid properties are at actual operating temperature.
  • For non-Newtonian fluids, this simple model may not be sufficient.
  • In transitional flow, treat results as estimates and validate with testing where possible.

FAQ

Is this for Darcy or Fanning friction factor?

The main output is Darcy friction factor. Fanning friction factor is also displayed.

Can I use this for gas flow?

Yes, as long as you provide appropriate density and viscosity and the incompressible assumption is acceptable over your pressure range.

Why does roughness matter more at high Reynolds number?

At high Reynolds number, turbulent effects dominate and wall roughness strongly influences friction losses. In laminar flow, roughness has minimal effect and viscosity dominates.

🔗 Related Calculators