Hazen-Williams Calculator
Find head loss in a full water pipe from length, diameter, flow and the C roughness factor.
What it does
The Hazen-Williams equation is the standard empirical formula for friction head loss in full water pipes. It is widely used in water distribution design because it is simple and its C factor is easy to tabulate for different pipe materials and ages. Unlike the Darcy-Weisbach equation, it is fitted specifically to water at ordinary temperatures.
The SI convention used here is head loss equals 10.67 times length times flow to the 1.852, divided by C to the 1.852 and diameter to the 4.87. Length and diameter are in metres and flow is in cubic metres per second. The tool accepts length in metres, diameter in millimetres and flow in litres per second, converting the latter two before applying the formula.
The C factor describes the smoothness of the pipe. New smooth pipe can have C above 140, while old rough pipe may be near 60 or lower. A small change in C can noticeably change the predicted loss, so choose a value that reflects the actual condition of the pipe rather than the material when new.
The equation assumes steady, fully turbulent flow in a full pipe. It is not a general fluid law and should not be used for laminar flow, gases or liquids with very different viscosity from water. It also ignores local losses at bends, valves and fittings.
Published versions differ slightly in their coefficients and exponents, with some sources using 10.704 and a flow exponent of 1.85. The tool uses the rounded SI convention of 10.67 and 1.852, which is common in teaching material and matches the cited sources closely.
How to use
- Enter the pipe length in metres.
- Enter the internal diameter in millimetres.
- Enter the flow rate in litres per second.
- Choose a Hazen-Williams C factor for the pipe condition.
- Read the total head loss, mean velocity and loss per kilometre.
- Add minor losses for fittings separately if they matter.
Formula
- h_f
- Friction head loss in metres.
- L
- Pipe length in metres.
- Q
- Flow rate in cubic metres per second.
- d
- Internal pipe diameter in metres.
- C
- Dimensionless Hazen-Williams roughness coefficient.
In US customary units the leading coefficient becomes about 4.73 with length and diameter in feet and flow in cubic feet per second. This page uses only the SI form. Minor losses from valves and fittings use separate coefficients and are not included here.
Worked example
Example: 100 m of 200 mm pipe carrying 20 L/s with C = 130
Defaults: length 100 m, diameter 200 mm, flow 20 L/s and C 130.
- Convert diameter: 200 mm = 0.2 m.
- Convert flow: 20 L/s = 0.02 m³/s.
- Compute Q to the 1.852 and d to the 4.87.
- Apply the formula: h_f = 10.67 x 100 x 0.02^1.852 / (130^1.852 x 0.2^4.87) = 0.235 m.
- Velocity: 0.02 / (pi x 0.2² / 4) = 0.637 m/s.
- The tool shows 0.235 m, 0.637 m/s and 2.35 m per km.
Reference table
| Pipe condition | Approximate C | Note |
|---|---|---|
| New smooth steel or plastic | 140 | Best case |
| New cast iron | 130 | Common design value |
| Older water main | 100 | Roughness has increased |
| Badly corroded pipe | 60 | Very high friction loss |
Limits
- An empirical relation for water in full pipes at ordinary temperatures.
- Not valid for laminar flow or for gases and viscous liquids.
- Does not include minor losses from fittings or valves.
- Sensitive to the chosen C factor, which changes with pipe age.
Common mistakes
- Entering diameter in millimetres where the formula expects metres without conversion.
- Using litres per second as cubic metres per second.
- Applying the SI coefficient to US customary units.
- Ignoring losses through bends and valves.
- Using a new pipe C value for an old corroded main.
Try it yourself
Quick checks. Answers sit tucked under each question.
Extend the pipe to 1000 m with everything else unchanged. What happens?
Head loss scales linearly with length to 2.348 m, velocity stays 0.637 m/s and loss per kilometre remains 2.35 m.
Why does a larger diameter reduce head loss sharply?
Diameter appears to the power 4.87 in the denominator, so a small increase in diameter produces a large drop in friction loss.
What if C is entered as zero?
The tool returns the error Enter a Hazen Williams C between 1 and 150, because the formula divides by C.
Questions
What is the Hazen-Williams equation?
An empirical formula for friction head loss in full water pipes, using a tabulated roughness coefficient C.
Why use C instead of roughness height?
C bundles pipe roughness and age into one number that is easy to tabulate for common water pipe materials.
Can I use it for other liquids?
No. It was developed for water. Other fluids need a general method such as Darcy-Weisbach.
Does head loss depend on pressure?
Not directly in this formula. It depends on flow, geometry and the C factor.
What are minor losses?
Losses at bends, valves and fittings that must be calculated separately and added to the friction loss.
Why do published coefficients differ?
Different rounding conventions and slight changes in exponents appear in different handbooks and software.
Sources
- University-hosted ASCE manuscript: Efficient numerical approach for pipe roughness calibration
- Worcester Polytechnic Institute: Hydraulic Modeling and Water Distribution Optimization
- U.S. EPA: EPANET 2.2 User Manual, section 3.1