Friction Factor Calculator

Calculate the Darcy friction factor from Reynolds number and relative pipe roughness.

Darcy friction factor
Enter dimensionless flow data to estimate resistance in a circular pipe.

About the friction factor

The Darcy friction factor is a dimensionless measure of the resistance created as fluid moves through a pipe. Engineers use it in the Darcy-Weisbach equation to estimate pressure drop or head loss. It depends primarily on Reynolds number, which compares inertial and viscous effects, and relative roughness, which compares the pipe wall roughness with its inside diameter. Because it is dimensionless, the same calculation works with any consistent unit system. For laminar flow below a Reynolds number of 2,300, wall roughness has little influence and the exact circular-pipe relation is f = 64/Re. For higher Reynolds numbers, this calculator uses the explicit Swamee-Jain approximation. That equation closely represents the Colebrook-White relation without requiring an iterative solver. Values between about 2,300 and 4,000 are transitional, so actual flow may alternate between laminar and turbulent behavior. Results in that region should be treated cautiously. Typical Darcy factors are near 0.008 to 0.08. A smooth pipe at a high Reynolds number generally has a smaller factor than a rough pipe carrying the same flow. Relative roughness must be expressed as roughness divided by internal diameter, using the same units for both measurements. For example, a roughness of 0.045 millimeters in a 45 millimeter pipe gives a relative roughness of 0.001. Aging, corrosion, mineral deposits, and manufacturing tolerances can all change effective roughness, so measured operating data may justify a more conservative value than a new-pipe table suggests. Use the result with pipe length, diameter, fluid velocity, and gravitational acceleration to calculate head loss. Confirm whether another source reports a Darcy or Fanning factor: the Darcy factor is four times the Fanning factor. This distinction is a frequent source of fourfold errors. The calculator is suitable for preliminary hydraulic design, classroom work, and quick checks, but final systems should also account for fittings, entrances, valves, changing diameters, temperature-dependent fluid properties, and uncertainty in the pipe condition.

Friction factor examples

InputsFactorInterpretation
Re = 1,000; ε/D = 00.064Laminar flow uses 64/Re.
Re = 100,000; ε/D = 0.0010.022342Turbulent flow in a moderately smooth pipe.
Re = 500,000; ε/D = 0.00020.015149Higher Reynolds number and low roughness reduce resistance.

How to calculate friction factor

  1. Determine the Reynolds number from fluid velocity, pipe diameter, density, and viscosity.
  2. Divide absolute pipe roughness by inside diameter using matching units.
  3. Enter both dimensionless values in the calculator.
  4. Select Calculate friction factor and review both the factor and flow regime.

Frequently asked questions

What is a good friction factor for pipe flow?

Many practical Darcy friction factors fall between 0.008 and 0.08. The appropriate value depends on Reynolds number, roughness, and pipe condition.

Is this the Darcy or Fanning friction factor?

This calculator returns the Darcy friction factor used in the Darcy-Weisbach equation. Divide it by four if a formula specifically requires the Fanning factor.

Why does roughness not affect laminar flow?

Viscous forces dominate orderly laminar flow, producing the exact relation 64/Re in a circular pipe. Wall roughness becomes important when turbulent eddies interact with the surface.

What happens in the transitional region?

Flow between Reynolds numbers of roughly 2,300 and 4,000 can be unstable. A calculated value is only an estimate, so conservative design and experimental data are recommended.

Can relative roughness have units?

No, relative roughness is a ratio and therefore dimensionless. The roughness and diameter measurements must use the same unit before division.