A fast-closing valve, a washing machine or a pump that stops suddenly can send a pressure spike through a pipe that is many times higher than the normal pressure. This water hammer calculator uses the Joukowsky equation. Enter the water velocity, the pipe material, the pipe length, the valve closing time and the static pressure to get the pressure surge, the peak pressure and its share of the pressure rating.
How the calculation works
- Critical time = 2 × pipe length ÷ wave speed. It is the time a pressure wave takes to travel to the end of the pipe and back.
- Full surge (Joukowsky) = water density × wave speed × change in velocity. It applies when the valve closes in the critical time or faster: ΔP = 998 × a × v.
- Slower closing reduces the surge in proportion: ΔP = full surge × critical time ÷ closing time.
- Peak pressure = static pressure + surge. It is compared with the rated pressure of the pipe.
Example
Water flows at 8 ft/s (2.44 m/s) in 100 ft of PVC, where the wave speed is 450 m/s. The critical time is 2 × 30.48 m ÷ 450 = 135 ms. If the valve shut at once the surge would be 998 × 450 × 2.44 = 158.8 psi. With a closing time of 0.5 s, it falls to 158.8 × 0.135 ÷ 0.5 = 43.0 psi. Added to a static 60 psi the peak is 103 psi, or 51% of a 200 psi rating.
Why it matters
Water hammer causes banging pipes, leaks at joints, burst fittings and damage to valves, meters and pumps. Plumbers and engineers use the estimate to choose the valve closing time, to size a surge arrestor and to check that a pipe class can take the peak. The calculation shows how closing time and velocity change the result.
Good to know
This is a simplified model of a single valve closing at the end of a pipe with a tank or reservoir at the other end. It treats the closure as linear and ignores friction, the elasticity of the fittings, trapped air, which cushions the surge, and column separation, which can add to it. Complex systems with pumps, branches or long pipelines need a surge analysis with specialized software. Wave speeds in the list are typical values, and the real value depends on wall thickness and the pipe’s support. Use the pressure rating at the operating temperature, since plastics lose strength when warm.
Related tools
The pipe flow velocity calculator gives the water speed in a pipe, the pressure tank calculator sizes a well tank and the pipe volume calculator gives the volume of water in a run.