Professional hydraulic friction calculator for engineers, plumbers, and fluid mechanics students. Computes Darcy friction factor (f) using the Colebrook-White equation (implicit), Swamee-Jain explicit approximation, and laminar flow formula. Instantly determines Reynolds number, flow regime (laminar, transition, turbulent), and relative roughness. Supports all common pipe materials and roughness coefficients.
π Darcy Friction Factor Calculator
Water @20Β°C β 1e-6 mΒ²/s
Darcy Friction Factor (f)
β
Reynolds Number (Re)
β
Flow Regime
β
Relative Roughness (Ξ΅/D)
β
Swamee-Jain f (explicit)
β
Colebrook f (iterative)
β
π‘ Colebrook equation solved via robust fixed-point iteration (accuracy 1e-7). Laminar flow uses \( f = 64/Re \). For turbulent, default combines Swamee-Jain explicit + Colebrook validation. Relative roughness critical for Moody chart matching.
The Darcy friction factor (denoted f) quantifies the hydraulic resistance to flow in a pipe. It appears in the Darcy-Weisbach equation for head loss: \( h_f = f \frac{L}{D} \frac{V^2}{2g} \). Unlike the Fanning friction factor (which is f/4), Darcy is standard in civil/HVAC/plumbing.
Where: \(f\) = Darcy friction factor (dimensionless), \(\varepsilon\) = absolute roughness (m), \(D\) = internal pipe diameter (m), \(Re\) = Reynolds number. This implicit equation is the industry gold standard for turbulent flow in rough pipes. Widely used for Moody chart construction.
\[
f = \frac{64}{Re} \quad \text{for } Re < 2300
\]
In laminar regime, friction factor depends solely on Reynolds number, independent of pipe roughness. Common in high-viscosity fluids or low velocities.
Explicit and avoids iteration β perfect for calculators and quick estimates. Works well for most engineering turbulent flows, error typically <1% compared to Colebrook.
The Moody chart is a graphical representation of \(f\) vs \(Re\) with curves of constant \(\varepsilon/D\). It remains essential for hydraulic design. Our calculator replicates this: lower left is laminar (\(f=64/Re\)), transition zone cautiously approximated, turbulent fully rough zone where \(f\) becomes constant at high Re.
Flow Regime
Reynolds Number Range
Friction Factor Dependence
Laminar
Re < 2300
\( f = 64/Re \) (smooth, no roughness effect)
Transitional
2300 β€ Re β€ 4000
Unstable; use interpolation or conservative estimate
Surface roughness dramatically impacts the pipe friction factor. Aging, corrosion, and deposits increase roughness over time.
Pipe Material
Absolute Roughness Ξ΅ (mm)
Typical Range (mm)
PVC, CPVC, HDPE, PEX
0.0015
0.001 β 0.007
Copper, Brass, Stainless steel (drawn)
0.0015
0.001 β 0.002
Commercial steel (new)
0.045
0.03 β 0.09
Welded steel (new)
0.045
0.03 β 0.1
Galvanized iron
0.15
0.13 β 0.2
Cast iron (new)
0.26
0.25 β 0.8
Riveted steel
3.0
0.9 β 9.0
Concrete (steel forms)
0.3 β 3.0
0.3 β 3.0
Corroded / aged steel
1.0 β 3.0
up to 5 mm
Relative roughness = \( \varepsilon / D \) (dimensionless). A key input to Colebrook equation and Moody chart.
π§ͺ Reynolds Number & Flow Regime Determination
\[ Re = \frac{V D}{\nu} = \frac{\rho V D}{\mu} \]
Where \(V\) = average velocity (m/s), \(D\) = diameter (m), \(\nu\) = kinematic viscosity (mΒ²/s). Reynolds number predicts laminar (\(Re<2300\)), transitional (2300β4000), turbulent (\(>4000\)). The calculator automatically selects appropriate friction factor method.
π Friction Factor vs Reynolds Number & Hydraulic Implications
As Reynolds number increases, the friction factor decreases for smooth pipes but approaches a constant for fully rough turbulent flow. In HVAC chilled water systems and long pipelines, accurate friction factor prevents under-sizing pumps.
π Friction Loss & Pressure Drop (Darcy-Weisbach)
\[ \Delta P = f \frac{L}{D} \frac{\rho V^2}{2} \quad ; \quad h_f = f \frac{L}{D} \frac{V^2}{2g} \]
Where \(h_f\) = head loss (m), L = pipe length (m), g = 9.81 m/sΒ². Use friction factor from calculator to compute energy loss in any hydraulic system: hydraulic friction calculation essential for pump selection.
π Worked Engineering Examples
Example 1: Domestic Plumbing (Copper pipe)
Pipe diameter 22 mm, velocity 1.2 m/s, water at 20Β°C (\(\nu=1e-6\)). Copper roughness = 0.0015 mm. Re = (1.2*0.022)/1e-6 = 26,400 turbulent. Rel. roughness = 0.0015/22 = 6.8e-5. Swamee-Jain yields fβ0.0235. Head loss per 100m = \(0.0235*(100/0.022)*(1.2^2/(2*9.81))\) β 7.8 m.
Example 2: HVAC Chilled Water System (Steel pipe)
D=200mm, V=2 m/s, Ξ΅=0.045mm, Re=400,000 turbulent. Ξ΅/D=0.000225. fβ0.0167. Pressure drop per 200m pipe = f*(L/D)*(ΟVΒ²/2) = 0.0167*(200/0.2)*(1000*4/2)= 33.4 kPa.
Example 3: Industrial Laminar Flow (Oil)
Crude oil Ξ½=1e-4 mΒ²/s, D=0.15 m, V=0.2 m/s β Re=300 (laminar). f = 64/300 = 0.2133. Very high friction factor due to viscosity.
π Common Applications in Engineering
Plumbing engineering: domestic water sizing, friction losses in apartment risers.