Hazen-Williams Calculator
Calculate flow rate, required pipe diameter, friction head loss, or friction slope for water flowing in full pressurized pipes.
Calculator is for informational purposes only. Terms and Conditions
Choose what to solve for
Start here, then enter only the known values below.
Enter the known values
Fill in only the visible fields below. The calculator updates automatically.
Solution
Live result, checks, and full equation walkthrough.
Quick checks
- Friction slope—
- Velocity—
- Pipe area—
- Minor loss component—
- Friction loss / 100—
- Reynolds number—
Show solution steps See the governing equation, substitutions, and result path
- Enter values to see the full solution steps and checks.
On this page
Calculator Guide
How to Use the Hazen-Williams Calculator
The Hazen-Williams Calculator above estimates flow rate, required pipe diameter, friction head loss, or friction slope for water flowing in full pressurized pipes. Enter the known pipe values, choose the correct solve mode, select U.S. Customary or SI units, and use the result as a practical pipe-flow estimate.
Hazen-Williams is most useful for water distribution, irrigation, plumbing, and fire-protection style pipe-flow checks where the pipe is full, the fluid is water, and the roughness coefficient \(C\) is chosen realistically.
Quick Answer
Use the Hazen-Williams Calculator when you need a fast estimate of water-pipe friction. The most common workflow is to enter flow rate, inside diameter, pipe length, and \(C\) factor to calculate head loss. If you are sizing a pipe, select the diameter solve mode and enter the allowable head loss or friction slope.
When not to rely on Hazen-Williams alone
Do not use Hazen-Williams as the only basis for final design when the fluid is not water, the pipe is partially full, the flow is not pressurized, the temperature or viscosity is important, or code-specific hydraulic design must be verified by a qualified professional.
Inputs and Outputs Used by the Hazen-Williams Calculator
The calculator uses the known pipe geometry, flow condition, and roughness coefficient to solve the selected missing value. The most important input detail is that pipe diameter should be the actual inside diameter, not the nominal pipe size printed on a pipe schedule or catalog.
| Type | Value | What It Means | Common Units |
|---|---|---|---|
| Input or output | Flow rate, \(Q\) | Volume of water moving through the pipe per unit time. | gpm, cfs, L/s, m³/s |
| Input or output | Inside diameter, \(D\) | Actual internal pipe opening used by the water, not outside or nominal diameter. | in, ft, mm, m |
| Input | Pipe length, \(L\) | Developed length of the pipe segment being checked. | ft, m |
| Input or output | Head loss, \(h_f\) | Energy loss from straight-pipe friction, expressed as height of water. | ft of water, m of water |
| Input | Hazen-Williams coefficient, \(C\) | Empirical roughness coefficient for the pipe material, lining, age, and condition. | dimensionless |
| Output/check | Friction slope, \(S\) | Head loss divided by length, often shown as loss per 100 ft or per 100 m. | ft/ft, m/m, ft/100 ft, m/100 m |
Helpful next-step concept
If you are also comparing velocity, pressure head, elevation head, or system energy balance, the Bernoulli Equation Calculator can help connect the Hazen-Williams head loss result to a broader fluid-flow problem.
Hazen-Williams Formula Used by the Calculator
The Hazen-Williams equation relates pipe flow, inside diameter, pipe length, roughness coefficient, and friction head loss. The constant depends on the unit form, so do not copy a formula from one unit system into another without checking the units.
U.S. customary head loss form
Use this form with \(Q\) in gpm, \(d\) in inches, \(L\) in feet, and \(h_f\) in feet of water.
SI head loss form
Use this form with \(Q\) in m³/s, \(D\) in m, \(L\) in m, and \(h_f\) in m of water.
Friction slope form
Friction slope is head loss per unit length of pipe. It is often converted to head loss per 100 ft or per 100 m for easier design comparison.
Rearranged flow and diameter forms
These SI-form rearrangements are useful when solving for flow rate or required pipe diameter from an allowable head loss.
Velocity, area, minor loss, and pressure checks
Velocity and area help check whether the flow is reasonable. Minor loss \(h_m\) should be added separately when fittings, valves, entrances, exits, or other local losses matter. The psi conversion is a common water approximation using feet of head.
What the Hazen-Williams Variables Mean
Each variable represents a physical pipe-flow quantity. The calculator can only produce a reliable estimate when these values match the actual pipe segment being analyzed.
\(Q\): Flow Rate
The water flow through the pipe. Head loss increases rapidly as flow increases because \(Q\) is raised to approximately the 1.85 power.
\(D\) or \(d\): Inside Diameter
The actual internal diameter. Diameter dominates the result because it is raised to approximately the 4.87 power.
\(L\): Pipe Length
The developed length of the pipe run. Doubling the pipe length approximately doubles the straight-pipe friction head loss.
\(C\): Roughness Coefficient
A higher \(C\) value means smoother pipe and less friction loss. A lower \(C\) value represents rougher, older, scaled, or more restrictive pipe.
\(h_f\): Friction Head Loss
The energy loss caused by pipe-wall friction. It is commonly expressed in feet or meters of water.
\(S\): Friction Slope
The ratio of head loss to pipe length. It is not necessarily the physical slope of the installed pipe.
\(K\): Minor Loss Coefficient
A combined coefficient for fittings, valves, entrances, exits, and local disturbances. It is not part of the basic straight-pipe Hazen-Williams equation.
\(V\): Velocity
The average water velocity through the pipe. It is useful for reasonableness checks, surge concerns, noise, erosion, and system performance.
How to Use the Calculator
Start by choosing the value you want to solve for. Then enter only the known values, confirm the unit system, select or enter a realistic Hazen-Williams \(C\) factor, and review the calculated result with the quick checks.
Select the unit system
Use U.S. Customary if you are working in gpm, inches, feet, and psi-style pressure checks. Use SI/Metric if you are working in m³/s, L/s, meters, and meters of water.
Choose the solve mode
Select flow rate, pipe diameter, head loss, or friction slope. The visible fields should match the known values needed for that solve mode.
Enter the pipe values
Use inside diameter, actual pipe length, flow rate or allowable head loss, and a \(C\) factor that matches the pipe material and condition.
Review the checks
Look at velocity, friction slope, loss per 100 ft or 100 m, minor loss if included, and any warnings. If a result looks extreme, recheck diameter, flow units, and \(C\) factor first.
Solve for flow rate
Use this when you know pipe diameter, pipe length, \(C\) factor, and available or allowable head loss.
Solve for pipe diameter
Use this when you know flow rate, pipe length, \(C\) factor, and the maximum acceptable head loss or friction slope.
Solve for head loss
Use this when you know flow rate, inside diameter, length, and \(C\) factor for a specific pipe run.
Solve for friction slope
Use this when you want the head-loss gradient instead of total head loss over a specific length.
How to Interpret Hazen-Williams Results
A Hazen-Williams result tells you how strongly pipe roughness, flow, diameter, and length affect friction loss. It does not automatically prove that the full system, pump, code requirement, or network design is acceptable.
What to do with head loss
Use head loss to compare pipe sizes, estimate pressure drop, evaluate pump head needs, or determine whether a pipe run is too restrictive.
What changes the result most?
Inside diameter usually has the largest effect. A small diameter reduction can create a large head loss increase because the exponent on \(D\) is about 4.87.
Quick sanity check
If doubling the pipe length does not roughly double head loss, or if increasing diameter does not sharply reduce head loss, check units and solve mode.
Head loss vs pressure loss
Head loss is energy loss expressed as a height of water. Pressure loss is the same idea expressed as pressure. For water near ordinary temperatures, \(1\) psi is approximately \(2.31\) ft of water head, but final pressure calculations should use the project fluid properties when precision matters.
Reynolds number is a diagnostic check
If the calculator displays Reynolds number, use it as a flow-regime warning, not as the main Hazen-Williams input. If the flow is not clearly appropriate for Hazen-Williams, consider a Darcy-Weisbach based analysis.
Input Checklist Before You Trust the Answer
Most Hazen-Williams calculator errors come from using the wrong diameter, mixing unit systems, or selecting a roughness coefficient that is too optimistic for the pipe condition.
Diameter check
Use internal diameter. If you only know nominal pipe size, look up the actual inside diameter for the pipe material, wall thickness, and schedule.
C-factor check
Choose \(C\) based on pipe age and condition, not just material. Older or rougher pipe should usually use a lower value.
Flow-unit check
Confirm whether flow is entered as gpm, cfs, L/s, or m³/s. A mistaken flow conversion can completely change the answer.
Loss-type check
Separate straight-pipe friction loss from fittings, valves, elevation change, equipment losses, and required delivery pressure.
Worked Examples: Calculate Head Loss in a Water Pipe
These examples follow the same logic as the calculator so users can verify the calculation manually in either U.S. Customary or SI units.
SI formula
Substitution
Final SI answer
\(h_f \approx 2.02\ \text{m}\) of water over \(100\ \text{m}\) of pipe. The friction slope is \(S=h_f/L=2.02/100=0.0202\ \text{m/m}\), or about \(2.02\ \text{m}\) per \(100\ \text{m}\).
Reverse check
Rearranging the formula for \(Q\) and substituting \(h_f=2.02\ \text{m}\), \(L=100\ \text{m}\), \(D=0.150\ \text{m}\), and \(C=130\) returns approximately \(0.030\ \text{m}^3/\text{s}\), so the worked example is internally consistent.
U.S. formula
Substitution
Final U.S. answer
\(h_f \approx 5.79\ \text{ft}\) of water over \(500\ \text{ft}\) of pipe. The friction loss is about \(1.16\ \text{ft}\) per \(100\ \text{ft}\), and the approximate pressure loss is \(5.79/2.31 \approx 2.51\ \text{psi}\).
What the Formula Represents
The Hazen-Williams relationship can be visualized as a pipe segment where flow moves through an inside diameter over a known length while friction removes energy from the water.
The calculator estimates how flow \(Q\), inside diameter \(D\), length \(L\), and roughness \(C\) combine to produce friction head loss \(h_f\). The SVG uses plain text labels so MathJax delimiters do not appear inside the image.
Why diameter dominates
The diameter term is in the denominator and has an exponent near \(4.87\). That means increasing pipe diameter can reduce head loss much more effectively than making small changes to pipe length or \(C\) factor.
Hazen-Williams C Factor Reference Checks
The \(C\) factor is an empirical roughness value. It is not a universal material constant, because pipe age, lining, corrosion, scale, joints, and installation condition can change the effective roughness.
| Pipe Material or Condition | Typical C Range | Practical Note |
|---|---|---|
| PVC or smooth plastic pipe | About 140 to 150 | Often one of the smoother common water-pipe options. |
| Cement-lined ductile iron | About 130 to 140 | Condition and lining quality matter. |
| Copper | About 130 to 140 | Commonly smooth for smaller water piping. |
| Concrete | About 100 to 140 | Finish, age, and deposits can create a wide range. |
| Aged metal pipe | Often 80 to 120 | Corrosion, tuberculation, and scale can reduce the effective value. |
Source and judgment note
Published \(C\)-factor values vary by reference and pipe condition. Use the table as a preliminary check, then compare against manufacturer data, owner standards, field condition, or a trusted engineering reference before final design. For technical context on pipe-flow friction methods, see the ASPE discussion of Hazen-Williams and Darcy-Weisbach equations.
Design Notes and Practical Ranges
Hazen-Williams results are best used as a practical hydraulic estimate, not as an automatic design approval. The acceptable flow velocity, friction slope, head loss, and pressure drop depend on the system type and design criteria.
Velocity check
Velocity is a useful reasonableness check. Very high velocity can increase friction loss, noise, erosion concerns, surge sensitivity, and pump demand.
Pipe sizing check
If head loss is too high, increasing pipe diameter is usually more effective than relying on a slightly higher \(C\) value.
Pump head check
For pump sizing, combine pipe friction with elevation change, required discharge pressure, fittings, valves, equipment losses, and safety margin.
Network check
For water distribution networks, evaluate each pipe segment. A single-pipe calculator does not solve looped network balancing by itself.
Units and Conversions for Hazen-Williams
Hazen-Williams is unit-sensitive because the formula constant changes with the unit system. Always use the unit selectors in the calculator instead of manually mixing inches, feet, meters, gallons, and cubic meters in the same formula.
Flow units
Common flow units include gpm, cfs, L/s, and m³/s. The SI formula shown above uses \(Q\) in m³/s, while the U.S. formula shown above uses \(Q\) in gpm.
Diameter units
Use the internal diameter in the units required by the selected formula. Millimeters must be converted to meters in the SI form, and inches are used in the U.S. form shown above.
Head units
Head loss is commonly reported as ft of water or m of water. It can be converted to pressure loss when the fluid unit weight is known.
Slope units
Friction slope may be reported as ft/ft, m/m, ft per 100 ft, or m per 100 m. These are different ways to express the same loss gradient.
Hidden unit trap
Do not enter a pipe diameter in millimeters into a formula that expects meters, and do not use nominal pipe size where inside diameter is required. Because diameter is raised to a high exponent, this mistake can create extreme errors.
Hazen-Williams vs Darcy-Weisbach vs Manning Equation
Use the calculation method that matches the flow condition. Hazen-Williams is convenient for full pressurized water pipes, Darcy-Weisbach is more general for fluid friction, and Manning’s equation is commonly used for open-channel or partially full gravity flow.
| Method | Best For | Main Limitation |
|---|---|---|
| Hazen-Williams | Full pressurized water pipes where a \(C\) factor is appropriate. | Empirical and not ideal for non-water fluids or viscosity-sensitive problems. |
| Darcy-Weisbach | More general pipe friction analysis for many fluids and roughness conditions. | Requires a friction factor, Reynolds number, and often more detailed input assumptions. |
| Manning Equation | Open-channel flow, channels, culverts, and partially full gravity flow. | Not the normal choice for full pressurized pipe friction loss. |
For open-channel or partially full pipe problems, start with the Manning’s Equation guide or the Hydraulic Radius Calculator instead of forcing Hazen-Williams into the wrong flow condition.
Common Hazen-Williams Calculator Mistakes
The formula is straightforward, but the result can be very wrong if the pipe input values are not realistic. Most mistakes involve diameter, units, \(C\) factor, or using the equation outside its intended range.
Do
- Use actual inside diameter.
- Use a conservative \(C\) factor for aged or uncertain pipe.
- Separate straight-pipe friction loss from minor losses.
- Check friction slope and velocity for reasonableness.
- Verify final design with project requirements and professional review.
Don’t
- Do not use nominal pipe size as inside diameter.
- Do not mix gpm, L/s, inches, and meters without conversion.
- Do not use Hazen-Williams for oils, gases, slurries, or open channels.
- Do not assume fittings and valves are included in straight-pipe loss.
- Do not treat the result as automatic code compliance.
Troubleshooting Unrealistic Results
If the calculator result looks too high, too low, negative, or physically impossible, check the input units and assumptions before changing the formula. Hazen-Williams is sensitive enough that one wrong diameter or flow unit can dominate the answer.
Head loss is extremely high
Check whether the diameter is too small, flow rate is entered in the wrong unit, or \(C\) factor is too low. A small pipe at high flow can create very large friction loss.
Head loss is nearly zero
Check whether the diameter was entered too large, the pipe length is missing, or flow was entered as m³/s when the intended value was L/s.
Required diameter looks too large
The allowable head loss or friction slope may be too strict for the flow. Try a realistic design target and verify whether the input flow is peak, average, or total flow.
Result conflicts with field pressure
Field pressure includes more than straight-pipe friction. Elevation, fittings, valves, meters, pumps, partially closed devices, and aging can all change the observed value.
Assumptions and Limitations
The Hazen-Williams equation is an empirical formula for water flowing in full pressurized pipes. It is not a universal fluid-flow equation and should be used only when its assumptions are reasonable for the system being checked.
Full pipe flow
The pipe should be full and pressurized. Use open-channel methods for partially full or gravity-channel flow.
Water only
Hazen-Williams is primarily intended for water. For other fluids, use a method that accounts for viscosity and density more directly.
Empirical roughness
The \(C\) factor is based on empirical behavior and judgment. It should be chosen conservatively when pipe condition is uncertain.
Straight-pipe friction
Basic Hazen-Williams head loss does not automatically include elbows, tees, valves, strainers, meters, entrances, exits, or elevation head.
Preliminary estimate
Use the result for learning, comparison, and preliminary checks. Final design may require applicable standards, model calibration, field data, or engineering review.
Key Hazen-Williams Terms
These terms help connect the calculator inputs, formula, and result.
Head Loss
Energy loss from friction, expressed as an equivalent height of water.
Friction Slope
Head loss divided by pipe length, commonly reported as loss per unit length.
C Factor
The Hazen-Williams roughness coefficient. Higher values represent smoother pipe.
Inside Diameter
The actual internal pipe opening available for water flow.
Minor Loss
Additional head loss caused by fittings, valves, entrances, exits, and local disturbances.
Full Pressurized Pipe
A pipe flowing completely full under pressure rather than as an open-channel or partially full flow.
FAQ
What is the Hazen-Williams equation used for?
The Hazen-Williams equation is used to estimate friction head loss, flow rate, pipe diameter, or friction slope for water flowing in full pressurized pipes.
What C factor should I use in the Hazen-Williams Calculator?
Use a C factor that matches the pipe material, lining, age, and condition. Smooth plastic pipe may use a high value, while older metal, rough concrete, or scaled pipe should use a lower and more conservative value.
Does Hazen-Williams work for non-water fluids?
Hazen-Williams is primarily intended for water at ordinary temperatures in full pressurized pipes. For oils, chemicals, slurries, gases, or viscosity-sensitive analysis, Darcy-Weisbach is usually more appropriate.
Should I enter nominal pipe size or inside diameter?
Use actual inside diameter, not nominal pipe size. Diameter has a very large effect on Hazen-Williams results, so using nominal size can cause major head loss or flow errors.
Does Hazen-Williams include fittings and valves?
The basic Hazen-Williams equation estimates straight-pipe friction loss. Fittings, valves, entrances, exits, and other local losses should be added separately when they matter.