Skip to content
FiftyCalc Free calculators for all 50 states

Friction Factor Calculator

Test cases replayed : 3 of 3 match · Methodology · No outside source listed

Enter the Reynolds number of the flow, the pipe roughness and the inside diameter in the same unit.

Result

Sample figures

Darcy friction factor f—

Relative roughness ε ÷ D —

  • Fanning friction factor (f ÷ 4)—
  • Flow regime—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Friction Factor Calculator

Reynolds number Re: enter 0 or more. Prefilled example: 100,000.

Absolute roughness ε (same unit as the diameter): enter 0 or more. Prefilled example: 0.045.

Inside diameter: enter 0 or more. Prefilled example: 100.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Reynolds number Re: enter 0 or more.
  2. Absolute roughness ε (same unit as the diameter): enter 0 or more.
  3. Inside diameter: enter 0 or more.
  4. Read the result: Darcy friction factor f; the panel also shows Relative roughness ε ÷ D, Fanning friction factor (f ÷ 4) and Flow regime.

How this calculator works

Laminar flow: f = 64 ÷ Re (Hagen–Poiseuille). Turbulent flow: the explicit Swamee–Jain equation (Journal of the Hydraulics Division, ASCE, 1976), f = 0.25 ÷ [log₁₀(ε/(3.7 D) + 5.74/Re^0.9)]², an approximation of the Colebrook equation within about 1% for 5,000 ≤ Re ≤ 10⁸ and 10⁻⁶ ≤ ε/D ≤ 10⁻².

The Fanning factor used in some chemical-engineering texts is one quarter of the Darcy factor. Between Re 2,300 and 4,000 the flow is transitional and no formula is reliable.

The formula

  1. Rr=epsD
  2. F={64reif re<2,3000.25log10⁡(Rr3.7+5.74re0.9)2otherwise
Symbols used in the formula
SymbolMeaning
reReynolds number Re
epsAbsolute roughness ε (same unit as the diameter)
DInside diameter
RrRelative roughness ε ÷ D
FDarcy friction factor f

Worked example

Reynolds number Re100,000
Absolute roughness ε (same unit as the diameter)0.045
Inside diameter100
Relative roughness ε ÷ D0.0005
Fanning friction factor (f ÷ 4)0.005
Flow regimeTurbulent (Re 4,000 or more)
  1. Rr=0.045100=0.00045
  2. F=0.25log10⁡(0.000453.7+5.74100,0000.9)2=0.0201957

Darcy friction factor f 0.0202

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is f at Re = 100,000 with ε/D = 0.00045?

About 0.0202 from the Swamee–Jain equation.

What is f for laminar flow at Re = 1,600?

0.04, from 64 ÷ 1,600; roughness does not matter in laminar flow.

Related calculators