Hazen Williams Calculator
Calculate pipe flow velocity and head loss using the Hazen-Williams equation. Enter values for instant results with step-by-step formulas.
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer
Hazen Williams Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: hf = (4.727 x L x Q^1.852) / (C^1.852 x D^4.871)
Worked example โ Head Loss: 1.22 ft | Velocity: 2.27 ft/s | Pressure Drop: 0.53 psi
Formula
hf = (4.727 x L x Q^1.852) / (C^1.852 x D^4.871)
Where hf is friction head loss (ft), L is pipe length (ft), Q is flow rate (GPM), C is the Hazen-Williams roughness coefficient, and D is the pipe inside diameter (inches). Higher C values indicate smoother pipes with less friction. The velocity form is V = 1.318 x C x R^0.63 x S^0.54.
Worked Examples
Example 1: Municipal Water Main Design
Problem:A 12-inch new ductile iron pipe (C=140) carries 800 GPM over 2,000 feet. Calculate the head loss, velocity, and pressure drop.
Solution:Head loss hf = (4.727 x L x Q^1.852) / (C^1.852 x D^4.871) hf = (4.727 x 2000 x 800^1.852) / (140^1.852 x 12^4.871) Q^1.852 = 800^1.852 = 303,820 C^1.852 = 140^1.852 = 10,725 D^4.871 = 12^4.871 = 220,093 hf = (9,454 x 303,820) / (10,725 x 220,093) hf = 2,872,825,880 / 2,360,497,425 = 1.22 ft Velocity = Q / (449 x A) = 800 / (449 x 0.7854) = 2.27 ft/s Pressure drop = 1.22 x 0.4333 = 0.53 psi
Result:Head Loss: 1.22 ft | Velocity: 2.27 ft/s | Pressure Drop: 0.53 psi
Example 2: Old Pipe Performance Assessment
Problem:A 50-year-old 8-inch cast iron pipe (C=80) carries 300 GPM over 500 feet. How much has performance degraded compared to when it was new (C=130)?
Solution:Old pipe (C=80): hf = (4.727 x 500 x 300^1.852) / (80^1.852 x 8^4.871) = (2363.5 x 45,567) / (3,755 x 31,168) = 107,685,445 / 117,035,840 = 0.92 ft New pipe (C=130): hf = (4.727 x 500 x 300^1.852) / (130^1.852 x 8^4.871) = 107,685,445 / (9,456 x 31,168) = 107,685,445 / 294,764,208 = 0.37 ft Degradation: 0.92 / 0.37 = 2.49x more head loss
Result:Old pipe: 0.92 ft loss | New pipe: 0.37 ft loss | 2.49x performance degradation
Frequently Asked Questions
What is the Hazen-Williams equation and when should it be used?
The Hazen-Williams equation is an empirical formula used to calculate the velocity of water flowing through pressurized pipes and the associated friction head loss. Developed by Allen Hazen and Gardner Stewart Williams in 1905, it is one of the most widely used equations in water distribution system design. The equation is specifically designed for water (not other fluids) flowing at normal temperatures in pipes larger than 2 inches in diameter under turbulent flow conditions. It is simpler to use than the Darcy-Weisbach equation because it does not require calculating the friction factor from the Moody diagram. The equation takes the form V = 1.318 x C x R^0.63 x S^0.54, where C is a roughness coefficient, R is the hydraulic radius, and S is the slope of the energy grade line. It is the standard equation used by water utilities and fire protection engineers worldwide.
How do you select the correct Hazen-Williams C factor for different pipe materials?
The Hazen-Williams C factor is a dimensionless coefficient that represents the smoothness of the pipe interior, with higher values indicating smoother pipes and lower friction. New PVC and HDPE pipes have C values of 140-150 because of their extremely smooth interior surfaces. New cast iron and ductile iron pipes have C values around 130-140. However, as pipes age, corrosion, tuberculation, and biofilm buildup reduce the C factor significantly. Old cast iron pipes may have C factors as low as 60-80 after decades of service. Concrete-lined pipes maintain C values of 120-140 because the cement lining resists corrosion. When designing new systems, engineers typically use the C value expected at the end of the pipe design life (usually 50-100 years), not the new pipe value. For existing systems, C factors can be determined through fire flow tests or hydraulic model calibration using pressure and flow measurements.
What are the limitations of the Hazen-Williams equation compared to Darcy-Weisbach?
The Hazen-Williams equation has several important limitations compared to the theoretically-based Darcy-Weisbach equation. First, it is only valid for water at normal temperatures (approximately 40-75 degrees Fahrenheit) and cannot be used for other fluids like oil, chemicals, or very hot water. Second, it is only accurate for fully turbulent flow conditions in pipes larger than about 2 inches in diameter. Third, the C factor is not truly constant but varies somewhat with velocity and pipe diameter, though this variation is usually small enough to ignore for practical purposes. Fourth, the equation was developed empirically and does not have a rigorous theoretical basis, unlike Darcy-Weisbach which is derived from fluid mechanics principles. Despite these limitations, Hazen-Williams remains the preferred equation for water distribution system design because of its simplicity, because the C factor is easier to estimate than the Darcy-Weisbach friction factor, and because extensive field calibration data exists for C values.
How does pipe diameter affect head loss in the Hazen-Williams equation?
Pipe diameter has an enormous impact on head loss in the Hazen-Williams equation. The head loss is inversely proportional to the diameter raised to the 4.871 power (approximately the fifth power), meaning that doubling the pipe diameter reduces head loss by a factor of approximately 2^4.871 = 29.2 times for the same flow rate. Conversely, reducing the pipe diameter by half increases head loss by about 29 times. This extreme sensitivity to diameter means that selecting the correct pipe size is one of the most critical decisions in water system design. For example, switching from an 8-inch pipe to a 12-inch pipe (50% increase in diameter) reduces head loss by about 86%. This relationship also means that small changes in the effective internal diameter due to corrosion or scale buildup can significantly increase head losses over time, which is why pipe cleaning and rehabilitation programs are important for aging water systems.
What is the recommended water velocity range in pipes and why?
The recommended water velocity range in distribution pipes is typically 2-5 feet per second (ft/s), though this varies by application. Velocities below 2 ft/s can lead to sediment deposition, stagnation, water quality degradation, and insufficient disinfectant residual. Very low velocities also increase water age, which promotes bacterial growth and disinfection byproduct formation. Velocities above 5-8 ft/s can cause excessive head loss, water hammer risk, erosion of pipe walls and fittings, noise, and vibration. The economic velocity (balancing pipe cost against pumping cost) is typically 3-5 ft/s for most water systems. Fire protection standards (NFPA 24) allow higher velocities up to 10 ft/s during fire flow conditions since these are infrequent events. For transmission mains carrying large volumes, design velocities of 4-6 ft/s are common. Suction piping for pumps should have lower velocities (3-4 ft/s) to prevent cavitation.
How is the Hazen-Williams equation used in water distribution system modeling?
In water distribution system modeling, the Hazen-Williams equation is applied to every pipe segment to calculate friction losses as water flows through the network. Software tools like EPANET (free from the US EPA), WaterGEMS, InfoWater, and WaterCAD solve the system of equations simultaneously using the gradient method or Newton-Raphson iteration to find the flow distribution and pressure at every node in the network. Each pipe is assigned a diameter, length, and C factor. The model then calculates velocities, flows, pressures, and head losses throughout the system under various demand scenarios including average day, maximum day, peak hour, and fire flow conditions. Model calibration involves adjusting C factors (and other parameters) until the model results match field measurements from hydrant flow tests and pressure monitoring. These calibrated models are essential tools for planning system expansions, identifying bottlenecks, sizing new pipes, and optimizing pump operations.
How does pipe aging and corrosion affect the Hazen-Williams C factor over time?
Pipe aging and corrosion progressively reduce the Hazen-Williams C factor, leading to increased head loss and reduced carrying capacity. Unlined cast iron pipes are most susceptible, with C factors declining from 130 when new to as low as 60-80 after 40-60 years of service. The primary mechanism is tuberculation, where iron corrosion products (rust) form irregular nodules on the pipe interior, dramatically increasing roughness and reducing the effective diameter. In aggressive water conditions (low pH, low alkalinity, high dissolved oxygen), corrosion can reduce the effective pipe diameter by 20-30%, compounding the effect of increased roughness. Cement mortar lining and polyethylene encasement significantly slow this degradation for metallic pipes. PVC and HDPE pipes experience minimal C factor reduction over time because they do not corrode. For existing systems, the estimated C factor should be based on pipe age, material, water chemistry, and ideally on field test data rather than published tables for new pipes.
What is the difference between head loss and pressure drop in pipe systems?
Head loss and pressure drop both describe energy loss due to friction in pipes, but they are expressed in different units and have a simple conversion relationship. Head loss is measured in feet (or meters) of water column and represents the height of water that would be supported by the lost pressure energy. Pressure drop is measured in pounds per square inch (psi) or kilopascals (kPa). The conversion is: 1 foot of head = 0.4333 psi = 2.989 kPa, or equivalently, 1 psi = 2.308 feet of head. Head loss is preferred in hydraulic calculations because it can be directly added to elevation differences in the energy equation. Pressure drop is more commonly used in mechanical systems and by operators who read pressure gauges. The total head at any point in a pipe system equals the pressure head (p / gamma) plus the elevation head (z) plus the velocity head (V^2 / 2g). Friction head loss reduces the total head available downstream.
How do you size pipes using the Hazen-Williams equation for fire flow requirements?
Fire flow pipe sizing is one of the most critical applications of the Hazen-Williams equation. The process starts with determining the required fire flow based on building size, construction type, occupancy, and sprinkler protection using Insurance Services Office (ISO) guidelines or NFPA standards. Typical fire flows range from 500-3500 GPM for 2-3 hour durations. The pipe must be sized so that the residual pressure at the hydrant is at least 20 psi during fire flow while maintaining a minimum of 20 psi at all other system nodes. Engineers model the fire flow scenario using the Hazen-Williams equation for each pipe segment, checking that velocities remain below 10 ft/s. The C factor used should reflect the pipe condition at the end of its design life, not new condition, to provide a conservative design. Dead-end mains should be looped whenever possible to provide redundancy and reduce head loss during fire flow events.
How do elevation changes interact with Hazen-Williams head loss calculations?
In pipe systems with elevation changes, the total head available at any downstream point equals the upstream total head minus the friction head loss calculated by the Hazen-Williams equation. The energy equation for a pipe between two points is: P1/gamma + z1 + V1^2/2g = P2/gamma + z2 + V2^2/2g + hf, where P is pressure, gamma is specific weight of water, z is elevation, V is velocity, g is gravity, and hf is the Hazen-Williams friction loss. For a pipe of constant diameter, the velocity terms cancel. If water flows uphill, both the elevation increase and the friction loss reduce the downstream pressure. If water flows downhill, the elevation gain adds pressure, partially offsetting friction losses. A common rule of thumb is that every 2.31 feet of elevation change equals 1 psi of pressure change. Engineers must account for the worst-case scenario, which is typically the highest elevation customer during peak demand and fire flow conditions.
References
Background & Theory
History
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer ยท Editorial policy
Related Calculators
๐งฎ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.
๐งฎPipe Flow Darcy Weisbach Calculator
Calculate pipe flow darcy weisbach 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.