Friction Factor Calculator

Calculate Darcy friction factor using multiple methods

Input Parameters

Flow Regime Criteria:
• Laminar: Re < 2,300
• Transitional: 2,300 - 4,000
• Turbulent: Re > 4,000

Friction Factor Results

Darcy Friction Factor (f)
0.020120
Method: Colebrook-White (iterative)

Flow Analysis

Flow Regime:Turbulent (High)Roughness Class:Transitional RoughnessRelative Roughness:0.000450

Alternative Friction Factors

Darcy (f):0.020120Fanning (f/4):0.005030

Head Loss @ 5 ft/s

Head Loss/100ft:2.343 ftPressure Drop:1.0144 psi
Colebrook-White Equation:
1/√f = -2·log₁₀(ε/3.7D + 2.51/Re√f)
Where ε = roughness, D = diameter, Re = Reynolds number

What is the Darcy Friction Factor?

The Darcy friction factor (denoted as f) is a dimensionless coefficient used in the Darcy-Weisbach equation to quantify the energy loss due to friction as a fluid flows through a pipe. It depends on the Reynolds number of the flow, the relative roughness of the pipe interior surface, and the flow regime (laminar, transitional, or turbulent). Accurate determination of the friction factor is essential for sizing pumps, designing piping systems, and predicting pressure drops in hydraulic and HVAC systems.

In laminar flow (Reynolds number below 2300), the friction factor is independent of pipe roughness and depends solely on the Reynolds number: f = 64/Re. In turbulent flow, both roughness and Reynolds number influence the friction factor. The Moody chart, developed by Lewis Moody in 1944, provides a graphical relationship between these variables and remains a fundamental reference in fluid mechanics.

Several computational methods approximate the friction factor for turbulent flow. The Colebrook-White equation is considered the most accurate but requires iterative solution. The Swamee-Jain and Haaland equations provide explicit (non-iterative) approximations that are suitable for engineering calculations. The Blasius equation applies only to smooth pipes at moderate Reynolds numbers.

Colebrook-White Equation

The Colebrook-White equation is the standard implicit formula for the Darcy friction factor in turbulent flow. It must be solved iteratively because the friction factor appears on both sides of the equation.

Colebrook-White Equation

1/√f = -2·log₁₀(ε/(3.7D) + 2.51/(Re·√f))

Where:

  • f= Darcy friction factor (dimensionless)
  • ε= Absolute roughness of the pipe interior surface (ft or m)
  • D= Inside pipe diameter (ft or m)
  • Re= Reynolds number = ρVD/μ

Explicit Approximation Methods

Because the Colebrook equation requires iteration, several explicit approximations have been developed for use in design calculations and spreadsheets:

MethodFormula TypeAccuracyBest For
Swamee-JainExplicit±1 % for Re 5000–10⁸General engineering use
HaalandExplicit±2 % for Re > 4000Quick estimates
Moody ApproximationExplicit±5 % across rangeReading from charts
BlasiusExplicit±3 % for smooth pipesSmooth pipe, Re < 10⁵

Flow Regimes and Friction Factor

The flow regime determines which friction factor formula applies. The Reynolds number is the key parameter that classifies flow:

  • Laminar flow (Re < 2300): Fluid flows in parallel layers with no mixing. The friction factor is simply f = 64/Re and is independent of pipe roughness.
  • Transitional flow (2300 < Re < 4000): The flow oscillates between laminar and turbulent. Interpolation between laminar and turbulent friction factors provides a reasonable estimate.
  • Turbulent flow (Re > 4000): chaotic mixing dominates. The friction factor depends on both Reynolds number and relative roughness. Higher roughness increases the friction factor, especially at high Reynolds numbers where it becomes nearly constant (fully rough regime).

How to Use This Calculator

  1. Enter the Reynolds Number: This is typically calculated from the flow velocity, pipe diameter, and fluid properties (ρ and μ).
  2. Select Pipe Roughness: Choose the pipe material from the dropdown (commercial steel, PVC, copper, etc.) or enter a custom value in feet.
  3. Enter Pipe Diameter: Input the inside pipe diameter in inches.
  4. Choose Calculation Method: Select Colebrook-White for maximum accuracy, or Swamee-Jain / Haaland for a quick explicit result.
  5. Review Results: The calculator displays the friction factor, flow regime, roughness classification, and a sample head loss calculation at 5 ft/s velocity.

Real-World Applications

The Darcy friction factor is used in virtually every piping system design. HVAC engineers use it to size chilled water and hot water piping, ensuring adequate flow rates and reasonable pressure drops. Municipal water distribution systems rely on friction factor calculations to size pipes and select pumps that maintain required pressures at all service connections.

Oil and gas pipelines use the friction factor to predict pressure drops over long distances and to size compressor and pump stations. Chemical processing plants depend on accurate friction factor calculations to design process piping that delivers correct flow rates to reactors, heat exchangers, and distillation columns.

In fire protection engineering, friction factor calculations determine the pressure available at sprinkler heads throughout a building, ensuring compliance with NFPA 13 requirements. Even in plumbing design, friction losses through pipes, fittings, and valves must be calculated to ensure adequate water pressure at fixtures.

Worked Examples

Laminar Flow Friction Factor

Problem:

Water flows through a 2-inch diameter pipe at a Reynolds number of 1500. Calculate the Darcy friction factor.

Solution Steps:

  1. 1Re = 1500 is less than 2300, so the flow is laminar
  2. 2For laminar flow: f = 64 / Re
  3. 3f = 64 / 1500 = 0.04267
  4. 4The friction factor depends only on Reynolds number, not roughness

Result:

The Darcy friction factor is 0.04267. In laminar flow, roughness has no effect on friction.

Turbulent Flow in Commercial Steel Pipe

Problem:

Water at 60 °F flows through a 4-inch commercial steel pipe (ε = 0.00015 ft) at Re = 200,000. Find the friction factor using the Swamee-Jain method.

Solution Steps:

  1. 1Relative roughness: ε/D = 0.00015 / (4/12) = 0.00045
  2. 2Swamee-Jain: f = 0.25 / [log₁₀(ε/(3.7D) + 5.74/Re^0.9)]²
  3. 3ε/(3.7D) = 0.00045 / 3.7 = 0.0001216
  4. 45.74 / 200000^0.9 = 5.74 / 79433 = 0.00007225
  5. 5f = 0.25 / [log₁₀(0.0001939)]² = 0.25 / (-3.7124)² = 0.25 / 13.782 = 0.01814

Result:

The Darcy friction factor is approximately 0.0181.

Smooth Pipe Using Blasius Equation

Problem:

Estimate the friction factor for smooth drawn tubing (ε = 0.000005 ft) with a 1-inch diameter at Re = 50,000.

Solution Steps:

  1. 1For smooth pipes, the Blasius equation applies: f = 0.316 / Re^0.25
  2. 2Re^0.25 = 50000^0.25 = 14.953
  3. 3f = 0.316 / 14.953 = 0.02113
  4. 4Verify: relative roughness ε/D = 0.000005 / (1/12) = 0.00006, confirming smooth pipe

Result:

The Blasius equation gives f = 0.0211 for this smooth pipe at Re = 50,000.

Tips & Best Practices

  • Always check which friction factor convention (Darcy vs. Fanning) your reference uses to avoid 4× errors.
  • For new steel pipe, use ε = 0.00015 ft; for aged or corroded pipe, values up to 0.001 ft may be appropriate.
  • The Moody chart is a quick visual check — if your calculated value looks wrong relative to the chart, investigate further.
  • In laminar flow, the friction factor is independent of roughness — only Reynolds number matters.
  • For preliminary design, the Swamee-Jain equation provides results within 1 % of the Colebrook solution.
  • Consider both friction losses (pipe length) and minor losses (fittings, valves) in total system head loss.

Frequently Asked Questions

The Darcy friction factor (used in the Darcy-Weisbach equation) is four times the Fanning friction factor. Many chemical engineering references use the Fanning convention, while civil and mechanical engineering predominantly use Darcy. The calculator provides both values — the Fanning factor is shown as f/4 in the results.
Use the Colebrook equation when high accuracy is required, such as for long pipeline design or when the friction factor will be used in computer simulations. The Swamee-Jain approximation is accurate to within 1 % for most engineering applications and is preferred for hand calculations and spreadsheets because it gives a direct answer without iteration.
Temperature affects the friction factor indirectly through its effect on fluid viscosity. As water temperature increases, viscosity decreases, which increases the Reynolds number. A higher Reynolds number generally reduces the friction factor in turbulent flow. The calculator accounts for temperature-dependent viscosity when computing head loss.
Relative roughness is the ratio of the absolute pipe roughness (ε) to the pipe inside diameter (D). It is a dimensionless measure of how rough the pipe interior surface is relative to its size. A larger relative roughness increases the friction factor, especially in the fully rough turbulent regime where friction becomes independent of Reynolds number.
The friction factor directly determines the head loss in a piping system. Head loss is the energy per unit weight that a pump must overcome to maintain flow. If the friction factor is underestimated, the selected pump will be undersized, resulting in lower-than-required flow rates. If overestimated, the pump will be oversized, wasting energy and increasing costs.

Sources & References

Last updated: 2026-06-06

💡

Help us improve!

How would you rate the Friction Factor Calculator?

<>

Editorial Note

MyCalcBuddy Editorial Team

This page is maintained as an educational calculator reference.

Source

Formula Source: Standard Mathematical References

by Various

UpdatedLast reviewed: May 2026
CheckedFormula checks are based on standard references and internal QA review.

Privacy choices

MyCalcBuddy uses necessary storage for the site to work. Optional analytics, notifications, and future advertising features stay off unless you allow them.