Hazen-Williams vs Darcy-Weisbach: Formulas and a Worked Pipe Example
Follow both methods through the same 30-metre pipe, then see why a small inside-diameter error can matter more than the difference between the equations.
Published by MEPFlow · Methods and limitations · Primary references
Use the method while you read
Follow the worked examples, check your inputs and use the related MEPFlow tool to explore your own design.
In this guide: jump to a step
Hazen-Williams estimates pipe friction using an empirical C-factor. Darcy-Weisbach uses a Darcy friction factor that depends on the flow regime and pipe roughness. Both require the actual inside diameter, not just a nominal pipe size.
The useful question is which method fits the liquid, temperature and accepted project procedure. This guide compares their equations, calculates the same original water-pipe example both ways, and tests what happens when the bore is 10% smaller. It covers full, circular pipes carrying a single-phase Newtonian liquid; it is not a compressible-gas or open-channel sizing method.
Apply the fixture and sizing workflow in MEPFlow’s plumbing and domestic-water design software, where connected fixtures and cold/hot pipe layouts can be reviewed with the selected sizes.
Quick answer: which pipe-friction method should you use?
For a conventional turbulent-water calculation, Hazen-Williams can be appropriate where the project procedure accepts it and the C-factor has a defensible basis. For glycol, temperature-sensitive liquid properties or laminar flow, use Darcy-Weisbach with the appropriate fluid data and friction-factor treatment.
The EPA EPANET manual distinguishes these applications and warns that roughness inputs change when the head-loss method changes. Neither equation corrects an inaccurate bore, missing fitting or unrealistic demand.
| Design question | Hazen-Williams | Darcy-Weisbach |
|---|---|---|
| How is resistance represented? | Empirical C-factor | Darcy factor f from flow regime and relative roughness |
| What fluid scope applies here? | Turbulent water service | Single-phase Newtonian liquids with suitable properties |
| How is temperature considered? | No explicit viscosity input | Use viscosity and density at the selected condition |
| Can the roughness inputs be interchanged? | C is not a roughness length | ε is a length; ε/D is dimensionless |
No universal winner from one example
A lower calculated loss is not proof of a more accurate method. Compare the assumptions with the actual pipe and fluid, and follow the calculation procedure accepted for the project.
Hazen-Williams and Darcy-Weisbach formulas
For the SI Hazen-Williams form below, enter Q in cubic metres per second and D and L in metres. The EPA WNTR documentation gives a coefficient of 10.667; this guide rounds it to 10.67 throughout. Do not insert litres per second or millimetres into this equation without converting them.
Darcy-Weisbach uses velocity V = 4Q/(πD²), then h_f = f_D × (L/D) × V²/(2g). Here h_f is straight-pipe friction head in metres, f_D is the dimensionless Darcy factor, and g is 9.81 m/s² for this example. Convert head to pressure loss with Δp = ρg h_f; divide pascals by 1,000 for kPa.
Two calculation paths
Same geometry, different resistance inputs
Hazen-Williams
Q, L, D + C
Choose a C-factor for the pipe condition and accepted method.
Darcy-Weisbach
Q, L, D + ε, ν
Calculate Reynolds number and the Darcy friction factor.
h_f = 10.67 L Q^1.852 ÷ (C^1.852 D^4.871)
Hazen-Williams, SI form: h_f and L in m, Q in m³/s, D in m, C dimensionless. For Darcy-Weisbach, use h_f = f_D (L/D) V²/(2g).
Darcy and Fanning factors differ by four
This guide uses the Darcy factor: f_D = 4 f_Fanning. Substituting a Fanning value into the Darcy equation without conversion understates the calculated loss by a factor of four.
Take the next step on your own floor plan
Create a MEPFlow account to work through loads, ductwork, domestic water or hydronic layouts in your browser.
Start free trialSet up a transparent same-pipe comparison
Consider 30 m of straight pipe with a 25.0 mm inside diameter carrying 0.75 L/s of water. The inputs below are deliberately stated teaching assumptions, approximately representative of water near 20°C. They are not a material schedule, an allowable-velocity rule or manufacturer performance data.
The selected C = 140 and absolute roughness ε = 0.0015 mm have not been calibrated as equivalent descriptions of a particular installed pipe. Keeping this distinction visible prevents the numerical comparison from becoming a claim that one method is always 10% higher.
| Input | Value used | Calculation note |
|---|---|---|
| Straight length L | 30 m | Physical pipe length only |
| Inside diameter D | 25.0 mm = 0.025 m | Not a nominal size |
| Volume flow Q | 0.75 L/s = 0.00075 m³/s | Same flow for both methods |
| Hazen-Williams C | 140 | Illustrative coefficient |
| Absolute roughness ε | 0.0015 mm = 0.0000015 m | Illustrative roughness |
| Kinematic viscosity ν | 1.004 × 10⁻⁶ m²/s | Water value near 20°C |
| Density ρ | 998.2 kg/m³ | Stated water-density assumption |
| Gravity g | 9.81 m/s² | Used consistently |
Work through velocity, Reynolds number and head loss
First calculate area and velocity: A = π × 0.025² ÷ 4 = 0.000490874 m², so V = 0.00075 ÷ A = 1.5279 m/s. Reynolds number is Re = VD/ν = 38,045, and relative roughness is ε/D = 0.000060. This example is well into the turbulent range.
Solving the Colebrook relationship gives f_D = 0.0224084. Substitution into Darcy-Weisbach gives 0.0224084 × (30/0.025) × 1.5279²/(2 × 9.81) = 3.199 m of water head, or 31.33 kPa with the stated density.
For Hazen-Williams, 10.67 × 30 × 0.00075^1.852 ÷ (140^1.852 × 0.025^4.871) = 3.523 m of water head, or 34.50 kPa. The difference is 0.323 m, about 3.17 kPa. Hazen-Williams is 10.1% higher for this input set; that percentage is not transferable to another pipe or operating point.
The Hydraulic Institute friction reference describes the Darcy, Reynolds and Colebrook relationships. Use f_D = 64/Re for fully developed laminar flow in a circular pipe. Around the transition between laminar and turbulent flow, do not treat a convenient interpolation as precise physical certainty. EPA EPANET uses different treatments below Re 2,000, above 4,000 and between those values.
1/√f_D = −2 log₁₀[ε/(3.7D) + 2.51/(Re√f_D)]
Colebrook is implicit: f_D appears on both sides. The worked values use an iterative solution, not a fixed universal friction factor. An accepted explicit approximation can give a slightly different result.
| Method | Head loss | Pressure loss | Average pressure gradient |
|---|---|---|---|
| Hazen-Williams, C = 140 | 3.523 m | 34.50 kPa | 1.150 kPa/m |
| Darcy-Weisbach, Colebrook f_D | 3.199 m | 31.33 kPa | 1.044 kPa/m |
Sensitivity check: a 10% smaller bore
Keep flow, length, C, roughness and fluid properties unchanged, but reduce the actual bore from 25.0 to 22.5 mm. Velocity becomes 1.8863 m/s. Recalculating the Darcy factor, rather than holding it constant, gives f_D = 0.0219134.
Darcy-Weisbach loss rises to 5.299 m, or 51.89 kPa: a 65.6% increase. Hazen-Williams rises to 5.886 m, or 57.63 kPa: a 67.1% increase. In this example the bore change has a much larger effect than switching between the two original model assumptions.
This is a geometry sensitivity test, not a prediction of pipe aging: real deposits can change both bore and roughness. It shows why the selected tubing type, wall thickness and lining should be checked before comparing a software result with a chart.
Scroll sideways to see the full chart.
| Inside diameter | Velocity | Hazen-Williams loss | Darcy-Weisbach loss |
|---|---|---|---|
| 25.0 mm | 1.528 m/s | 3.523 m / 34.50 kPa | 3.199 m / 31.33 kPa |
| 22.5 mm | 1.886 m/s | 5.886 m / 57.63 kPa | 5.299 m / 51.89 kPa |
Carry straight-pipe friction into the complete pressure budget
The two results above exclude bends, valves, meters, backflow devices, equipment and elevation change. A design check must add the losses on the controlling route and preserve the pressure needed at the outlet. Read the static and residual water-pressure guide for an example of that budget.
For a fitting with loss coefficient K, h_local = K V²/(2g), using the velocity basis specified by its data source. If an accepted equivalent-length method already accounts for that fitting, do not add its K loss again. Use manufacturer pressure-drop data for devices whose performance cannot be represented by a generic fitting value.
For a glycol circuit, obtain the mixture's temperature-dependent properties rather than reusing water inputs. Dow's fluid-property tool takes fluid concentration and temperature and reports properties relevant to pressure-drop calculations. The glycol hydronic design guide explains the separate load-to-flow and cold-start checks.
Head loss is not total system pressure
The calculated friction head describes energy lost along the pipe. It is not the supply gauge pressure, static fill pressure or the pressure that must remain at a fixture.
A practical pipe-friction review checklist
When two results disagree, compare their inputs before changing methods. The example can be reproduced with the equations above; use project-specific inputs for a real design, and retain the calculation basis so another reviewer can follow it.
For a complete domestic-water workflow, establish probable demand before the friction calculation. The Canadian water-pipe sizing guide explains its NPC 2020 fixture-unit basis and jurisdiction limits. MEPFlow's plumbing design workspace connects fixture demand, pipe sizing and pressure-path review; equipment selection and accepted project criteria still require engineering judgment.
- Confirm fluid, concentration, operating temperature and relevant startup conditions.
- Verify actual inside diameter, length and design flow in one consistent unit system.
- State the C-factor or roughness source; do not assume a universal conversion between them.
- Record Reynolds number and the friction-factor convention and method.
- Separate straight-pipe loss, fittings, device losses, elevation and required outlet pressure.
- Check velocity as well as pressure loss against the project's requirements.
- Keep assumptions, rounding and sensitivity results with the calculation.
Frequently asked questions
What is the main difference between Hazen-Williams and Darcy-Weisbach?
Hazen-Williams uses an empirical C-factor for turbulent water flow. Darcy-Weisbach uses a friction factor determined from flow regime and relative roughness, allowing liquid viscosity and temperature to be considered explicitly.
Which method is more accurate for water-pipe sizing?
There is no project-independent error percentage. Darcy-Weisbach is more general, but either result depends on the actual bore, condition and flow. Choose the accepted procedure and verify its inputs rather than selecting whichever gives a preferred pipe size.
Can I use Hazen-Williams for glycol?
Use a property-aware method such as Darcy-Weisbach with the actual glycol type, concentration and temperature. A water C-factor does not account explicitly for the mixture's different viscosity.
Can I convert a Hazen-Williams C-factor to Darcy roughness?
There is no universal one-to-one conversion. You can fit coefficients to produce equal losses at a stated operating condition, but the match need not hold at other flows or temperatures.
Does Darcy-Weisbach include fittings and elevation?
The straight-pipe equation does not. Add local fitting and device losses and handle elevation separately in the energy or pressure balance. Avoid counting a fitting through both equivalent length and a K coefficient.
Why can a small pipe-diameter error change the result so much?
At fixed flow, a smaller bore increases velocity and resistance. In this guide's original 30 m example, reducing inside diameter by 10% increases calculated straight-pipe loss by approximately 66–67%, depending on the method.
Continue the engineering workflow
Put this guide into practice with MEPFlow
Move from the calculation method into a connected browser-based design workflow while keeping the assumptions visible for engineering review.
Start free trialPrimary references
Sources and further reading for the methods discussed in this guide.
- US EPA: EPANET 2.2 User Manual, pipe head loss and hydraulic analysis
- US EPA: WNTR hydraulic documentation, SI Hazen-Williams equation
- Hydraulic Institute: Pipe Frictional Losses
- NIST reference data: water viscosity, Table 11
- Argonne National Laboratory: Darcy and Fanning factor relationship, p. 53
- Dow: FLUIDFILE fluid properties and pressure-drop calculations