Free Friction Factor Calculator

Enter D, k, and Re to calculate the friction factor

Introduction to the Darcy Friction Factor

The Darcy friction factor, often denoted by ff, is a dimensionless quantity used in fluid mechanics to characterize the head loss due to friction in pipes. It is a key input in the Darcy-Weisbach equation and is sometimes simply called the friction factor. The value of ff depends on the flow regime (expressed by the Reynolds number, Re\mathrm{Re}), the pipe’s hydraulic diameter DD, the fluid’s viscosity, and the internal surface roughness kk.

This calculator provides fast estimates of the Darcy friction factor using the widely adopted Moody approximation, which is based on the Moody chart. It is therefore often referred to as a Moody chart calculator or a pipe friction factor calculator. Engineers rely on this tool to size piping systems, evaluate pressure losses, and design efficient networks.

The Role of the Friction Factor in the Darcy-Weisbach Equation

The energy loss along a pipe length LL due to friction is given by the Darcy-Weisbach equation for head loss:

hf=fLDV22gh_f = f \frac{L}{D} \frac{V^2}{2g}

where VV is the average flow velocity and gg the gravitational acceleration. The corresponding pressure drop is:

Δp=ρghf=fLDρV22\Delta p = \rho g h_f = f \frac{L}{D} \frac{\rho V^2}{2}

In these formulas, ff is the unknown that must be determined from the flow conditions and pipe characteristics.

The Colebrook Equation and Why an Approximation Is Needed

For turbulent pipe flow, the friction factor is governed by the Colebrook-White equation:

1f=−2log⁡10(k/D3.7+2.51Ref)\frac{1}{\sqrt{f}} = -2 \log_{10} \left( \frac{k/D}{3.7} + \frac{2.51}{\mathrm{Re}\sqrt{f}} \right)

This equation is implicit in ff and cannot be solved algebraically. Engineers typically solve it by iteration or by reading values from a Moody chart, which plots families of curves for various k/Dk/D against Re\mathrm{Re}.

To simplify the process, Lewis Moody developed an explicit formula that gives results closely matching the chart for a specific range of conditions. The Moody approximation (also called the Moody equation) is:

f=0.0055[1+(2×104kD+106Re)1/3]f = 0.0055 \left[ 1 + \left( 2\times10^{4} \frac{k}{D} + \frac{10^6}{\mathrm{Re}} \right)^{1/3} \right]

Applicability of the Moody Approximation

The explicit formula above is reliable when:

  • The Reynolds number lies between 4,000 and 5×1085 \times 10^8.
  • The relative roughness k/Dk/D is less than 0.01.

Outside these boundaries the approximation may diverge from the Colebrook solution, and the user should consider using the full iterative method or a different correlation.

Step‑by‑Step Guide to Using the Friction Factor Calculator

Using the Moody chart calculator involves a few simple inputs:

  1. Hydraulic diameter DD – For a circular pipe, this is simply the internal diameter. For non‑circular ducts, use the hydraulic diameter 4A/P4A/P.
  2. Surface roughness kk – Choose the appropriate value for the pipe material. Ensure k/D≤0.01k/D \leq 0.01.
  3. Reynolds number Re\mathrm{Re} – If unknown, the calculator’s additional parameters can compute it from density, dynamic viscosity, and velocity. Alternatively, you can directly input the relative roughness k/Dk/D.
  4. Obtain ff – The tool returns the Darcy friction factor according to the Moody formula.

Worked Example

Consider a pipeline with:

  • D=2 mD = 2\ \text{m}
  • k=0.01 mk = 0.01\ \text{m} → k/D=0.005k/D = 0.005
  • Re=4500\mathrm{Re} = 4500

Insert these into the Moody formula:

f=0.0055[1+(2×104×0.005+1064500)1/3]=0.0055[1+(100+222.22)1/3]=0.0055×(1+322.221/3)≈0.0055×(1+6.86)=0.04323→0.04321 (rounded)\begin{aligned} f &= 0.0055 \left[ 1 + \left( 2\times10^{4} \times 0.005 + \frac{10^6}{4500} \right)^{1/3} \right] \\ &= 0.0055 \left[ 1 + (100 + 222.22)^{1/3} \right] \\ &= 0.0055 \times (1 + 322.22^{1/3}) \\ &\approx 0.0055 \times (1 + 6.86) \\ &= 0.04323 \rightarrow 0.04321\ (\text{rounded}) \end{aligned}

The calculator’s output is f=0.04321f = 0.04321, illustrating how the Moody approximation works.

Factors That Affect the Friction Factor

  • Reynolds number – Higher Re\mathrm{Re} generally reduces ff in turbulent flow, though the effect is moderated by roughness.
  • Relative roughness – A rougher surface increases ff at a given Re\mathrm{Re}.
  • Hydraulic diameter – Appears both in the definition of Re\mathrm{Re} and in the relative roughness, indirectly influencing ff.

Limitations and Alternatives

The Moody formula is not intended for laminar flow (Re<2000\mathrm{Re} < 2000) where f=64/Ref = 64/\mathrm{Re} should be used. Similarly, in the transitional region (2000 < Re < 4000) the flow is unstable and neither the Moody approximation nor the Colebrook equation is strictly valid. For precise work, especially when ff is critical to the design, a direct numerical solution of the Colebrook equation is recommended.

FAQ

1. What formula does this friction factor calculator use?

The calculator uses the Moody approximation: f = 0.0055 [1 + (2×10⁴(k/D) + 10⁶/Re)^{1/3}]. This explicit formula provides results very close to the implicit Colebrook equation for turbulent flows within the specified range.

2. What are the valid Reynolds number and relative roughness ranges for the Moody equation?

The Moody approximation is valid for Reynolds numbers between 4,000 and 5×10⁸, and for relative roughness k/D ≤ 0.01. Outside these limits, the results may deviate from the Colebrook solution.

3. How can I use the calculator if I only know the flow velocity, density, and viscosity?

If you do not have the Reynolds number, use the 'Additional parameters' section to input the fluid density, dynamic viscosity, and flow velocity. The calculator will compute the Reynolds number automatically and then apply the Moody formula.

4. Is the Moody formula as accurate as the Colebrook equation?

Within its stated range (Re 4,000–5×10⁸, k/D ≤ 0.01), the Moody approximation matches the Colebrook equation closely enough for most engineering applications. For conditions near the boundaries or for high precision, a direct iterative solution of the Colebrook equation should be used.

5. Can I use this calculator for laminar flow?

No, the Moody approximation is intended for turbulent flow only. For laminar flow (Re < 2000), the friction factor is given by f = 64/Re (Poiseuille’s law). This calculator does not cover the laminar or transitional regimes.

How to Use

  1. Enter the hydraulic diameter (D) of the pipe or conduit and select the appropriate unit (mm, cm, m, in, or ft).
  2. Enter the surface roughness (k) of the pipe and select the appropriate unit. Ensure the k/D ratio is less than 0.01 for valid results.
  3. Enter the Reynolds number (Re) for the flow regime (valid range: 4,000 to 5×10⁸). The calculator will instantly return the Darcy friction factor using Moody's approximation.