Darcy-Weisbach Calculator
Calculate pipe friction head loss and pressure drop using the Darcy-Weisbach equation. Enter pipe dimensions, flow conditions, fluid properties, and friction factor.
The Darcy-Weisbach equation estimates major head loss caused by pipe-wall friction along a straight pipe.
It does not automatically include valves, elbows, tees, reducers, entrances, exits, contractions, expansions, or other minor losses.
Pipe Friction Loss Calculation
Calculation Results
Calculation Breakdown
Dynamic calculation steps using the actual entered values.
Head Loss vs Pressure Drop
Head Loss
Pressure Drop
Major Loss vs Minor Loss
Major Loss
Minor Loss
Darcy-Weisbach Formula
Where hf is friction head loss, f is the Darcy friction factor, L is pipe length, D is inside pipe diameter, V is average velocity, and g is gravitational acceleration.
Pressure drop is obtained from head loss using the fluid density ρ.
What Is the Darcy-Weisbach Equation?
The Darcy-Weisbach equation is a general fluid-mechanics relationship used to estimate frictional head loss for flow through a pipe. It is widely applied in pump systems, water distribution, HVAC piping, process systems, cooling-water loops, industrial piping, and hydraulic calculations.
This calculator focuses on major straight-pipe friction. System calculations normally add minor losses, elevation effects, pump head, and other components separately.
What Is the Darcy Friction Factor?
The Darcy friction factor is dimensionless and represents the effect of pipe-wall friction in the Darcy-Weisbach equation. For laminar flow it is related directly to Reynolds number; for turbulent flow it depends on both Reynolds number and relative roughness.
Darcy and Fanning friction factors are not interchangeable. Mixing them without conversion changes the calculated friction loss by a factor of four.
Reynolds Number and Flow Regime
Reynolds number compares inertial and viscous effects in the flow. A conventional engineering classification is laminar below about Re = 2,300, transitional from roughly 2,300 to 4,000, and turbulent above about 4,000. Transition behavior can vary with disturbances, geometry, and flow conditions.
Colebrook Equation
For turbulent pipe flow, the Colebrook equation relates the Darcy friction factor to Reynolds number and relative roughness:
Because f appears on both sides, Colebrook is implicit and generally requires iteration, a Moody chart, or an explicit approximation. This calculator offers both an iterative Colebrook solver and the explicit Swamee-Jain approximation.
Swamee-Jain Approximation
Swamee-Jain provides an explicit approximation to the turbulent-flow Colebrook relationship. It is convenient for calculation but should not be described as an exact Colebrook solution.
Pipe Roughness and Relative Roughness
Absolute roughness depends on material, manufacturing, surface condition, corrosion, deposits, age, and service history. Optional material presets in this calculator are approximate reference values only and should not be treated as mandatory standards.
How Pipe Diameter Affects Head Loss
At the same velocity, fluid, friction factor, and pipe length, a smaller inside diameter increases the L/D ratio and therefore increases Darcy-Weisbach friction head loss. In real systems, changing diameter can also change velocity and Reynolds number, so the complete effect depends on what remains constant.
How Velocity Affects Head Loss
The Darcy-Weisbach equation contains the velocity-head term V²/(2g). If friction factor is held constant, doubling velocity makes the velocity-head term four times larger. In real flow, friction factor may also change because Reynolds number changes.
Head Loss vs Pressure Drop
Head loss expresses the frictional energy loss per unit weight as an equivalent fluid height. Pressure drop expresses the same loss as a pressure difference. The relationship is:
For a given head loss, a denser fluid produces a larger pressure drop.
Major and Minor Losses
Major loss is the straight-pipe friction described by Darcy-Weisbach. Minor losses are caused by fittings and components such as elbows, valves, tees, entrances, exits, reducers, expansions, and contractions.
This calculator calculates the major straight-pipe term only.
Where Darcy-Weisbach Is Used
- Pump and piping systems
- Water distribution
- HVAC hydronic piping
- Industrial and process piping
- Hydraulic systems
- Cooling-water systems
- Chemical processing
Darcy-Weisbach vs Hazen-Williams
| Darcy-Weisbach | Hazen-Williams |
|---|---|
| General fluid-mechanics relationship | Empirical relationship commonly used for water systems |
| Uses Reynolds number and roughness through friction factor | Uses a Hazen-Williams C coefficient |
| Applicable across many Newtonian fluids when properties are known | Most commonly applied within its established water-system context |
Method selection depends on the fluid, system, design standard, available data, and engineering context.
2026 Engineering Reference
Updated for 2026. The Darcy-Weisbach equation is an established fluid-mechanics relationship. The 2026 update on this page applies to the engineering references and unit conventions used by the tool, not to a new version of the equation.
NIST Special Publication 811 is used as an SI / unit-conversion reference. NIST is not presented as the source of the Darcy-Weisbach equation.
Limitations
This calculator provides a straight-pipe wall-friction estimate. It does not automatically include fittings, valves, entrances, exits, elevation change, pump head, system curves, transient effects, multiphase flow, non-Newtonian behavior, or compressibility effects. For complex systems, use a complete hydraulic analysis and qualified engineering judgment.
Engineering References
Used for SI unit and unit-conversion conventions.
NIST Special Publication 811General open engineering reference for fluid-mechanics background. The calculator does not depend on an unverified deep-link citation.
Engineering LibreTextsGeneral fluid-flow background only; not used as a source for pipe roughness or a specific friction coefficient.
NASA Glenn Research CenterFrequently Asked Questions
1. What is the Darcy-Weisbach equation used for?
It is used to estimate frictional head loss in pipe flow. Engineers apply it in water systems, HVAC piping, pumps, process systems and hydraulic calculations. The equation evaluates straight-pipe major loss; a complete system calculation normally adds fittings, valves, elevation and equipment effects separately.
2. What does the Darcy friction factor represent?
The Darcy friction factor is a dimensionless quantity that represents pipe-wall friction in the Darcy-Weisbach equation. In laminar flow it depends on Reynolds number. In turbulent flow it depends on both Reynolds number and relative roughness.
3. Is the Darcy friction factor the same as the Fanning friction factor?
No. They use different definitions. The Darcy friction factor is four times the Fanning friction factor. This calculator requires the Darcy value, so a Fanning factor must be multiplied by four before it is used.
4. How do you calculate Darcy-Weisbach head loss?
Use h_f = f(L/D)(V²/2g), with consistent units. The calculation needs Darcy friction factor, pipe length, inside diameter, average velocity and gravitational acceleration. Inside diameter must be used because it defines the actual flow area and hydraulic scale.
5. How do you convert Darcy head loss to pressure drop?
Multiply the head loss by fluid density and gravitational acceleration: ΔP = ρgh_f. In SI units, density in kg/m³, gravity in m/s² and head in metres produce pressure in pascals.
6. What pipe diameter should I use in the equation?
Use the inside diameter of the pipe, not the outside diameter or nominal pipe size by itself. Nominal pipe size can correspond to different actual inside diameters depending on schedule, wall thickness, material and standard.
7. Does Darcy-Weisbach work for water?
Yes. It is widely used for water systems when the flow conditions, diameter and friction factor are known or can be calculated. For turbulent water flow, the friction factor may be obtained from Colebrook, a Moody chart or an appropriate approximation.
8. Can Darcy-Weisbach be used for other fluids?
Yes, the relationship is broadly applicable to Newtonian fluids when the assumptions of the calculation are appropriate and fluid properties are known. Compressible gases, multiphase flow and non-Newtonian fluids can require additional or different methods.
9. How does pipe roughness affect friction loss?
In turbulent flow, greater relative roughness generally increases Darcy friction factor and therefore increases friction loss. The relevant roughness is ε/D, so both absolute roughness and pipe diameter matter. Real pipe roughness can change with age, deposits, corrosion and manufacturing condition.
10. What happens to head loss when flow velocity increases?
Velocity appears as V² in the Darcy-Weisbach equation, so head loss rises strongly with velocity. If friction factor were unchanged, doubling velocity would quadruple the velocity-head term. In practice, friction factor can also change with Reynolds number.
11. What Reynolds number is considered turbulent?
A conventional pipe-flow classification treats Re below roughly 2,300 as laminar, about 2,300–4,000 as transitional, and above roughly 4,000 as turbulent. These are engineering guide boundaries rather than exact universal transition points.
12. What is the Colebrook equation used for?
The Colebrook equation is used to determine Darcy friction factor for turbulent flow from Reynolds number and relative roughness. Because the friction factor appears implicitly on both sides, numerical iteration or an explicit approximation is usually required.
13. Can I calculate friction factor without a Moody chart?
Yes. For laminar flow, f = 64/Re. For turbulent flow, you can solve Colebrook iteratively or use an explicit approximation such as Swamee-Jain. A Moody chart is a graphical alternative rather than the only method.
14. Does this calculator include elbows and valves?
No. It calculates the straight-pipe major friction term. Elbows, valves, tees, entrances, exits and other components are typically handled with minor-loss K values or equivalent-length methods and should be added separately.
15. What is the difference between major and minor losses?
Major loss is friction distributed along straight pipe length. Minor loss is associated with fittings, valves, entrances, exits and geometry changes. “Minor” does not mean the loss is always small; in some systems component losses can be significant.
16. Is Darcy-Weisbach better than Hazen-Williams?
Not universally. Darcy-Weisbach is a more general physical relationship and can be used across many fluids, while Hazen-Williams is an empirical relation commonly used in water systems. The appropriate method depends on design standards, fluid, data and project context.
17. Why is my calculated pressure drop different from a pump-system calculation?
A pump-system calculation may include elevation, fittings, valves, equipment losses, control valves, heat exchangers, strainers, transient conditions and other components. This calculator isolates straight-pipe Darcy-Weisbach friction unless you add those effects separately.
18. Can this calculator determine the required pump size?
No. It can estimate one component of system head loss. Pump sizing also needs static head, all minor and equipment losses, operating flow, system curve, pump efficiency, NPSH, control conditions and manufacturer pump curves.
19. Does pipe elevation affect Darcy-Weisbach friction loss?
Elevation does not appear in the Darcy-Weisbach straight-pipe friction term itself. Elevation creates static head in the overall energy equation and should be handled separately when calculating total system head.
20. What is the difference between head loss and pressure loss?
Head loss expresses energy loss per unit weight as an equivalent fluid height. Pressure loss expresses the same frictional loss as a pressure difference. They are related through fluid density and gravity by ΔP = ρgh_f.
Related Calculators
Related Fluid Mechanics
Pipe Flow Calculator Pressure Drop Calculator Reynolds Number Calculator Flow Velocity Calculator Hydraulic Diameter CalculatorRelated Pump Calculators
Pump Head Calculator Pump Power Calculator Pump Efficiency Calculator NPSH CalculatorEngineering Disclaimer
This calculator provides an engineering estimate of straight-pipe friction loss using the Darcy-Weisbach relationship and user-supplied inputs. Results should be verified against project-specific conditions, applicable design standards, manufacturer data, and qualified engineering judgment. This calculator does not replace detailed hydraulic system design.
