The Hazen-Williams equation is the formula civil and plumbing engineers reach for first when sizing a water pipe or checking how much pressure a run will lose to friction. This calculator computes the head loss for a given flow rate, C factor, diameter, and length — or works backward to find the flow rate a target head loss allows.
How the Hazen-Williams Calculator works
The calculator uses the SI form of the Hazen-Williams equation, hf = 10.67 · L · Q1.852 / (C1.852 · D4.87), where hf is the head loss in meters, L is the pipe length in meters, Q is the flow rate in cubic meters per second, C is the roughness coefficient, and D is the internal diameter in meters. The Head Loss tab plugs your inputs directly into this formula. The Flow Rate tab algebraically inverts it — solving for Q given a target hf — so you can work backward from a pressure budget instead of forward from a flow rate.
The equation is empirical: Hazen and Williams calibrated it against real pipe-flow measurements rather than deriving it from first principles, which is why it only applies to water at typical temperatures (roughly 5–25°C) and turbulent flow. For non-water fluids, or for flows that fall outside water's normal viscosity range, the more general Darcy-Weisbach equation is the correct tool.
Inputs and what they mean
Flow rate (Q) is entered in liters per second — a convenient scale for typical residential and commercial supply pipes (roughly 0.5–30 L/s). C factor is the Hazen-Williams roughness coefficient; use the C Factor Reference tab to pick a realistic value for your pipe's material and age rather than guessing. Diameter (D) is the pipe's internal diameter in millimeters — not the nominal size printed on the pipe, which can differ from the true internal bore depending on wall thickness and schedule. Length (L) is the total run length in meters, measured along the pipe (not straight-line distance).
Of these, diameter has by far the largest effect on the result, since it's raised to the 4.87 power — halving the diameter increases head loss by roughly a factor of 29, all else equal. Flow rate and C factor both scale the loss to the 1.852 power, so a 10% increase in flow rate increases loss by about 19%.
Limits and edge cases
The Hazen-Williams equation is only valid for water in turbulent flow through full, closed pipes — it should not be used for other liquids, for gases, for open-channel flow, or for laminar flow at very low velocities. It also loses accuracy outside its calibrated velocity range (roughly 0.3–3 m/s / 1–10 ft/s is typical for water distribution design); for velocities well outside that band, or for non-water fluids, use the Darcy-Weisbach equation instead, which is more general but requires a friction factor from the Moody chart or the Colebrook equation.
The pressure-drop figure this calculator reports assumes standard water density (1000 kg/m³) and standard gravity — it does not account for elevation change along the run, fittings and valve losses (minor losses), or water temperature extremes. For a full system design, add minor losses separately and consult a licensed engineer for anything safety-critical.