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
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.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Reynolds number Re: enter 0 or more.
- Absolute roughness ε (same unit as the diameter): enter 0 or more.
- Inside diameter: enter 0 or more.
- 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
| Symbol | Meaning |
|---|---|
| Reynolds number Re | |
| Absolute roughness ε (same unit as the diameter) | |
| Inside diameter | |
| Relative roughness ε ÷ D | |
| Darcy friction factor f |
Worked example
| Reynolds number Re | 100,000 |
|---|---|
| Absolute roughness ε (same unit as the diameter) | 0.045 |
| Inside diameter | 100 |
| Relative roughness ε ÷ D | 0.0005 |
|---|---|
| Fanning friction factor (f ÷ 4) | 0.005 |
| Flow regime | Turbulent (Re 4,000 or more) |
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.