Colebrook–White / Fanning Friction Factor Solver Calculator

Interactive solver compares Darcy and Fanning factors across methods accurately and robustly. Enter Reynolds directly or derive from flow, diameter, and viscosity inputs easily. Pick Colebrook iteration or Haaland, Swamee–Jain, and Serghide approximations for swift estimates. Pipe schedule presets auto set inner diameter and roughness values. Export CSV and PDF tables with click now.

Inputs
Sets inner diameter automatically; roughness defaults to commercial steel.
Optional if absolute roughness and diameter are provided.
kg/m³
m/s²
Head-loss outputs require diameter and either flow or velocity derivable from inputs.
Regime:
Results
Darcy friction factor \(f_D\)
Fanning friction factor \(f_F\)
Computed Reynolds number
Mean velocity \(V\)
m/s (if derivable)
Pressure drop per length ΔP/L
Head loss per length hf/L
ΔP over user length
hf over user length
If laminar: \(f_D = 64/\mathrm{Re}\). Transitional regime may be unstable; explicit methods differ.
Saved runs
# Method Re ε/D fD fF
Use “Add to table” to store results for export.
Mini Moody chart
Curves from Swamee–Jain explicit formula; laminar line \(f_D=64/\mathrm{Re}\) shown. Marker updates from current inputs.
Example scenarios (precalculated)
ScenarioReε/DMethodfD (approx)fF (approx)
Smooth turbulent1000000.0Haaland0.01830.00458
Commercial steel1500000.0003Serghide0.02110.00528
Laminar12000.0000Laminar0.05330.01333

Formulas used

Colebrook–White (Darcy friction factor)
\\[ \\frac{1}{\\sqrt{f_D}} = -2\\log_{10}\\!\\left( \\frac{\\varepsilon/D}{3.7} + \\frac{2.51}{\\mathrm{Re}\\sqrt{f_D}} \\right) \\]
Solved iteratively with initial guess from explicit correlations.
Laminar flow
\\[ f_D = \\frac{64}{\\mathrm{Re}},\\quad f_F = \\frac{f_D}{4} \\]
Explicit correlations (Darcy)
Haaland: \\[ \\frac{1}{\\sqrt{f_D}} = -1.8\\log_{10}\\!\\left[ \\left(\\frac{\\varepsilon/D}{3.7}\\right)^{1.11} + \\frac{6.9}{\\mathrm{Re}} \\right] \\]
Swamee–Jain: \\[ f_D = \\frac{0.25}{\\left[\\log_{10}\\!\\left( \\frac{\\varepsilon/D}{3.7} + \\frac{5.74}{\\mathrm{Re}^{0.9}} \\right)\\right]^2} \\]
Serghide: Three-iteration explicit refinement for high accuracy.
Head-loss per length: \\[ \\frac{\\Delta P}{L} = f_D \\frac{\\rho V^2}{2D},\\quad \\frac{h_f}{L} = f_D \\frac{V^2}{2gD} \\]

How to use this calculator

  1. Choose Input mode: enter Reynolds number or compute it from flow, diameter, and kinematic viscosity.
  2. Use Pipe NPS and Schedule presets to auto-fill inner diameter for common steel pipes.
  3. Provide roughness via ε/D or choose a material preset and supply diameter to auto-compute ε/D.
  4. Select a method. Use Colebrook–White for highest fidelity; explicit formulas are fast for estimates.
  5. Optionally set density and gravity to obtain ΔP/L and hf/L. Enter L for total ΔP and head.
  6. Click Compute, then Add to table to collect runs for CSV or PDF export.

FAQs

The Darcy factor \(f_D\) is four times the Fanning factor \(f_F\): \(f_D=4f_F\). Head loss in Darcy–Weisbach uses \(f_D\); some literature and CFD packages report \(f_F\).

Using \(f_D\), diameter \(D\), mean velocity \(V\), density \(\rho\), and gravity \(g\): \(\Delta P/L = f_D \rho V^2/(2D)\); \(h_f/L = f_D V^2/(2gD)\). Velocity is derived from \(Q\) and \(D\), or from \(\mathrm{Re}\), \(ν\), and \(D\).

NPS ⅛″ to 24″ with Schedules 10, 40, and 80 where commonly used. You can edit the internal table to align with your catalog or standard.

No. Inputs in feet, gallons, or ft²/s are converted to SI for calculations and then converted back to the requested output units for display.

Yes. The schedule selector only sets inner diameter. Adjust the roughness preset or numeric ε to match your material, e.g., PVC or cast iron.

Related Calculators

Poiseuille Flow Rate in Pipe CalculatorU-Tube Manometer Differential PressureBarometric Pressure–Altitude ConverterHazen–Williams Head Loss (Water)Minor Losses (K-Values) SummationSpillway Discharge (Simple Profiles)NPSH Available vs Required CheckPumps in Parallel/Series Performance CombinerFanno Flow Solver (Adiabatic, Friction)Gas Tank Blowdown Time (Ideal/Real Option)

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.