Skip to content
Omnikalc

Water hammer calculator: how big is the pressure surge?

Enter the water velocity, the pipe material and length and the valve closing time to estimate the pressure surge, the peak pressure and how it compares with the pipe rating.

Updated on
Your inputs

Value out of range

Value out of range

s

Value out of range

Value out of range

Value out of range

Results

Pressure surge

43.0 psi

Peak pressure

103.0 psi

Peak as a share of the pressure rating
52%
Within the rating
Critical time (2L ÷ wave speed)
135 ms
Surge if the valve closed instantly
158.8 psi

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.

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.

Frequently asked questions

What is water hammer?

It is a pressure surge that occurs when moving water is stopped or slowed suddenly, for example by a valve that closes fast. The water's momentum turns into a pressure wave that travels along the pipe and makes the knocking sound.

How is the surge calculated?

The Joukowsky equation gives the maximum rise in pressure as the density of water times the speed of the pressure wave times the change in velocity. The wave speed depends on the pipe material and the wall thickness. It is about 1,200 m/s in steel and about 450 m/s in PVC.

How can water hammer be reduced?

Close valves slowly, lower the water velocity (a limit of 5 to 8 ft/s is common), add a water hammer arrestor or an expansion tank near quick-closing valves, use a pressure-reducing valve, and fix pipes with supports so that they do not move.

What is the critical time?

It is the time for the wave to travel from the valve to a reservoir or tank and back. If the valve closes in less than this time, the full surge occurs. A slower closure gives a lower surge in proportion to the closing time.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.