Darcy Weisbach Calculator
Calculate friction head loss in pipes using the Darcy-Weisbach equation. Enter values for instant results with step-by-step formulas.
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer
Darcy Weisbach Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: hf = f x (L/D) x (V^2 / 2g)
Worked example โ f = 0.01453 | Re = 328,677 | Head Loss = 5.78 ft (2.50 psi) | Turbulent flow
Formula
hf = f x (L/D) x (V^2 / 2g)
Where hf is friction head loss (ft), f is the Darcy friction factor (dimensionless), L is pipe length (ft), D is pipe inside diameter (ft), V is mean flow velocity (ft/s), and g is gravitational acceleration (32.174 ft/s^2). The friction factor f is determined from the Reynolds number and relative roughness using the Colebrook-White equation or Swamee-Jain approximation.
Worked Examples
Example 1: Industrial Steel Pipe Head Loss
Problem:Water at 60 degrees F flows at 8 ft/s through a 6-inch commercial steel pipe (roughness = 0.00015 ft) over 200 feet. Calculate friction factor and head loss.
Solution:D = 6/12 = 0.5 ft Re = VD/nu = (8 x 0.5) / 1.217e-5 = 328,677 (turbulent) Relative roughness = 0.00015 / 0.5 = 0.0003 Swamee-Jain: f = 0.25 / [log10(0.0003/3.7 + 5.74/328677^0.9)]^2 f = 0.25 / [log10(8.108e-5 + 3.217e-5)]^2 = 0.25 / [-4.148]^2 = 0.01453 hf = f(L/D)(V^2/2g) = 0.01453 x (200/0.5) x (64/64.348) hf = 0.01453 x 400 x 0.9946 = 5.78 ft
Result:f = 0.01453 | Re = 328,677 | Head Loss = 5.78 ft (2.50 psi) | Turbulent flow
Example 2: Comparing Pipe Materials for Same Flow
Problem:Compare head loss for 100 ft of 4-inch pipe at 4 ft/s for PVC (epsilon = 0.000005 ft) versus old cast iron (epsilon = 0.005 ft).
Solution:D = 4/12 = 0.333 ft, Re = (4 x 0.333) / 1.217e-5 = 109,450 PVC: e/D = 0.000005/0.333 = 1.5e-5 f = 0.25/[log10(1.5e-5/3.7 + 5.74/109450^0.9)]^2 = 0.01776 hf = 0.01776 x (100/0.333) x (16/64.348) = 1.33 ft Old Cast Iron: e/D = 0.005/0.333 = 0.015 f = 0.25/[log10(0.015/3.7 + 5.74/109450^0.9)]^2 = 0.04438 hf = 0.04438 x 300 x 0.2487 = 3.31 ft Old cast iron has 2.49x more head loss.
Result:PVC: hf = 1.33 ft | Old Cast Iron: hf = 3.31 ft | Cast iron has 2.49x more friction loss
Frequently Asked Questions
What is the Darcy-Weisbach equation and why is it considered the most accurate pipe friction formula?
The Darcy-Weisbach equation is a theoretically-derived formula that calculates friction head loss in pipes: hf = f x (L/D) x (V^2/(2g)), where f is the Darcy friction factor, L is pipe length, D is pipe diameter, V is flow velocity, and g is gravitational acceleration. Unlike empirical formulas such as Hazen-Williams, the Darcy-Weisbach equation is derived from fundamental fluid mechanics principles and is valid for any Newtonian fluid (water, oil, air, chemicals), any pipe material, any pipe size, and any flow regime (laminar or turbulent). It is considered the gold standard of pipe friction calculations because it accounts for the actual physics of fluid-wall interaction through the friction factor, which depends on both the Reynolds number and the relative pipe roughness. Modern computational hydraulics exclusively uses Darcy-Weisbach because of its universal applicability and theoretical rigor.
How is the Darcy friction factor determined using the Moody diagram?
The Moody diagram (developed by Lewis Moody in 1944) is a graphical representation of the Colebrook-White equation that plots the Darcy friction factor against Reynolds number for various values of relative roughness (epsilon/D). To use the Moody diagram, first calculate the Reynolds number Re = VD/nu and the relative roughness epsilon/D. Then locate the Reynolds number on the horizontal axis, follow the curve for your relative roughness value, and read the friction factor from the vertical axis. In the laminar flow region (Re < 2000), all curves collapse to the single line f = 64/Re. In the transition zone (2000 < Re < 4000), flow is unstable and the friction factor is uncertain. In the fully turbulent rough zone, the friction factor depends only on relative roughness and not on Reynolds number. Modern practice uses explicit approximations like the Swamee-Jain equation or iterative solutions of the Colebrook-White equation instead of reading from the diagram.
What is the Colebrook-White equation and how is it solved?
The Colebrook-White equation (1939) is the implicit equation that defines the Darcy friction factor for turbulent flow in pipes: 1/sqrt(f) = -2 log10(epsilon/(3.7D) + 2.51/(Re x sqrt(f))). Because f appears on both sides, it cannot be solved directly and requires iterative methods. The most common approach starts with an initial guess from the Swamee-Jain explicit approximation, then iterates the Colebrook equation until convergence (usually 3-5 iterations). The Swamee-Jain approximation is f = 0.25 / [log10(epsilon/(3.7D) + 5.74/Re^0.9)]^2, which is accurate to within 1% of Colebrook for Reynolds numbers between 5000 and 10^8 and relative roughness between 10^-6 and 0.05. Other explicit approximations include the Churchill equation and the Haaland equation. In practice, the Swamee-Jain approximation is accurate enough for engineering calculations.
What are typical pipe roughness values and how do they change over time?
Absolute roughness (epsilon) values represent the average height of surface irregularities on the pipe interior. Typical values for new pipes include: commercial steel and wrought iron (0.00015 ft or 0.045 mm), cast iron (0.00085 ft or 0.26 mm), galvanized iron (0.0005 ft or 0.15 mm), concrete (0.001-0.01 ft or 0.3-3.0 mm depending on finish), PVC and HDPE (0.000005 ft or 0.0015 mm), copper and brass (0.000005 ft or 0.0015 mm), and riveted steel (0.003-0.03 ft or 0.9-9.0 mm). Over time, corrosion and deposits increase the effective roughness of metallic pipes. Old cast iron pipes can have effective roughness values 10-50 times the original value due to tuberculation. Biofilm growth in water distribution pipes also increases roughness. Unlike the Hazen-Williams C factor, roughness has a clear physical meaning that can be measured or estimated from pipe condition assessments.
How does the Reynolds number determine the flow regime in pipe flow?
The Reynolds number (Re = VD/nu) is a dimensionless ratio of inertial forces to viscous forces that determines whether pipe flow is laminar, transitional, or turbulent. For pipe flow, Re < 2000 indicates laminar flow where fluid moves in smooth parallel layers and the friction factor is f = 64/Re (independent of roughness). Between Re = 2000 and Re = 4000, the flow is transitional and inherently unstable, oscillating between laminar and turbulent regimes. Above Re = 4000, the flow is fully turbulent with random velocity fluctuations and the friction factor depends on both Reynolds number and relative roughness. Most practical engineering pipe flows have Reynolds numbers well above 4000 (typically 10^4 to 10^7), placing them firmly in the turbulent regime. The transition Reynolds number can be affected by pipe entrance conditions, vibrations, and surface roughness, but the values of 2000 and 4000 are standard engineering thresholds.
How do minor losses (fittings, valves, bends) factor into pipe system calculations?
Minor losses (also called local losses or fitting losses) occur at valves, elbows, tees, expansions, contractions, and other fittings where the flow is disturbed. They are calculated as hm = K x V^2/(2g), where K is a loss coefficient specific to each fitting type. Typical K values include: 90-degree elbow (0.3-0.9), 45-degree elbow (0.2-0.4), gate valve fully open (0.15-0.2), globe valve fully open (6-10), check valve (2-5), sudden expansion (varies with area ratio), and sudden contraction (0.5). For long pipelines, minor losses may be negligible compared to friction losses, but in building plumbing systems or short pipe runs with many fittings, minor losses can exceed friction losses. An alternative approach uses equivalent length, which converts each fitting to an equivalent length of straight pipe that produces the same head loss. The total system head loss is the sum of Darcy-Weisbach friction loss plus all minor losses.
What is the relationship between friction factor, wall shear stress, and energy dissipation?
The friction factor directly relates to the wall shear stress (tau_w), which is the force per unit area that the fluid exerts on the pipe wall. The relationship is tau_w = (f/8) x rho x V^2, where rho is fluid density and V is mean velocity (note: some texts use the Fanning friction factor f_F = f/4 with a factor of f_F/2 instead). The wall shear stress causes the pressure drop and is the mechanism by which kinetic energy is converted to heat through viscous dissipation. The power dissipated by friction is P = gamma x Q x hf, where gamma is specific weight, Q is flow rate, and hf is the Darcy-Weisbach head loss. This power must be supplied by pumps or gravity to maintain the flow. Understanding this energy balance is essential for pump selection and operating cost analysis. In water distribution systems, pumping energy costs are directly proportional to the total head loss, making friction reduction through proper pipe sizing an important economic consideration.
How is the Darcy-Weisbach equation used for non-circular conduits?
For non-circular conduits (rectangular ducts, annular spaces, open channels), the Darcy-Weisbach equation uses the hydraulic diameter Dh = 4A/P (where A is cross-sectional area and P is wetted perimeter) in place of the pipe diameter D. For a circular pipe, Dh equals the actual diameter. For a rectangular duct with width W and height H, Dh = 2WH/(W+H). For an annular space between pipes of outer diameter D1 and inner diameter D2, Dh = D1 - D2. The friction factor is then calculated using the Reynolds number based on hydraulic diameter (Re = V x Dh / nu) and the relative roughness epsilon/Dh. This approach works well for turbulent flow but requires correction factors for laminar flow in non-circular cross-sections because the velocity profile shape differs from that in circular pipes. For HVAC ductwork design, this method is standard practice using the ASHRAE Duct Fitting Database for both friction and fitting losses.
What are the advantages of using Darcy-Weisbach over Hazen-Williams or Manning?
Darcy-Weisbach offers several fundamental advantages over empirical formulas. First, it applies to any Newtonian fluid (water, oil, air, glycol, chemicals), while Hazen-Williams only works for water and Manning only for open channels. Second, it is valid for any flow regime (laminar, transitional, turbulent), whereas Hazen-Williams assumes turbulent flow. Third, the roughness parameter (epsilon) has a clear physical meaning (average height of wall irregularities in feet or mm) that can be measured, unlike the dimensionless C factor or n value. Fourth, it accounts for temperature effects through the kinematic viscosity, which affects the Reynolds number and thus the friction factor. Fifth, it is dimensionally consistent and does not require unit-specific constants (unlike the 1.486 in Manning equation or the varying coefficients in Hazen-Williams depending on unit system). The main disadvantage is the need to calculate the friction factor, but modern computers make this trivial.
How do you handle pipe networks and series/parallel pipe systems with Darcy-Weisbach?
For pipes in series, the total head loss is the sum of individual pipe head losses: hf_total = hf1 + hf2 + hf3 + ..., with the same flow rate through each pipe. For pipes in parallel, all paths have the same head loss but different flow rates, with the total flow being the sum of individual pipe flows. Complex pipe networks require simultaneous solution of continuity equations (flow balance at each node) and energy equations (head loss around each loop equals zero, per the Hardy-Cross method). Modern network analysis uses Newton-Raphson or gradient methods to solve these systems iteratively. Software like EPANET applies the Darcy-Weisbach equation to each pipe and solves the system simultaneously. For three or more pipes meeting at a junction, the problem requires trial-and-error or iterative solution to find the pressure at the junction that satisfies both continuity and energy conservation. Network analysis is essential for designing water distribution systems, industrial piping, and HVAC systems.
References
Background & Theory
History
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer ยท Editorial policy
Related Calculators
๐งฎPipe Flow Darcy Weisbach Calculator
Calculate pipe flow darcy weisbach with inputs, formulas, and instant results.
๐งฎCantilever Retaining Wall Calculator
Calculate cantilever retaining wall with inputs, formulas, and instant results.
๐งฎOpen Channel Manning Calculator
Calculate open channel manning with inputs, formulas, and instant results.
๐งฎRoad Superelevation Calculator
Calculate road superelevation with inputs, formulas, and instant results.
๐งฎRlccircuit Impedance Calculator
Calculate rlccircuit impedance with inputs, formulas, and instant results.
๐งฎThree Phase Power Calculator
Calculate three phase power with inputs, formulas, and instant results.
๐งฎTransformer Turns Ratio Calculator
Calculate transformer turns ratio with inputs, formulas, and instant results.
๐งฎVoltage Divider Calculator
Calculate voltage divider with inputs, formulas, and instant results.