Water Hammer Calculator (Pipe Surge Pressure)

Written by Thierno Sadou Diallo, formula verified per our methodology • Last checked on 12/6/2026

On a fast valve closure, the water hammer surge is ΔP = ρ × a × Δv (Joukowsky). For a steel pipe Ø100 × 5 mm where water at 1 m/s is stopped, wave speed is about 1,343 m/s and the surge about 13.4 bar.

Explanation

Water hammer is the sudden pressure surge that travels through a pipe when flow is stopped quickly, by closing a valve or stopping a pump. Water moving at full speed cannot stop instantly: its kinetic energy compresses the liquid and expands the wall, and a pressure wave travels back up the pipe at nearly the speed of sound, called the wave speed. It is given by a = √((K / ρ) / (1 + K × D / (E × e))), where K is the bulk modulus of water (2.2 GPa), ρ its density, D the inner diameter, e the wall thickness and E the wall's Young's modulus. The more flexible the wall, the lower the wave speed: about 1,340 m/s in the steel of the example, but only about 320 m/s in a Ø110 × 4 mm PVC pipe. The wave makes the round trip between the valve and the pipe's far end in a critical time Tc = 2 × L / a. If the valve closes in a time less than or equal to Tc, closure is called fast and the surge reaches its maximum, given by the Joukowsky formula: ΔP = ρ × a × Δv. If closure is slower, the reflected wave returns to dampen the surge before the maneuver ends and the Michaud formula applies: ΔP = 2 × ρ × L × Δv / t. This explains the usual advice: lengthening the closing time is the simplest and cheapest way to reduce the risk. Other protections exist: surge tanks, pump flywheels, relief valves. The formulas assume a single pipe, with no cavitation or friction; they give an order of magnitude for preliminary sizing, and a detailed transient analysis remains necessary for a major installation. For static pressure, see the hydrostatic pressure calculator; for energy losses in steady flow, the Darcy-Weisbach head loss calculator.

Example: a 500 m steel pipe

Inputs

Steel Ø100 mm, 5 mm wall, 500 m long, water at 1 m/s, valve closed in 0.5 s.

Calculation

K × D / (E × e) = 2.2 × 100 / (200 × 5) = 0.22, so a = √(2.2×10⁹ / 1000 / 1.22) ≈ 1,343 m/s. Tc = 2 × 500 / 1,343 = 0.745 s. Since 0.5 s ≤ 0.745 s, closure is fast: ΔP = 1000 × 1,343 × 1 = 1.343 MPa.

Result

A surge of about 13.4 bar above operating pressure. With a 5 s closure, the Michaud formula would give only 2 bar.

Frequently asked questions

Does the surge add to the operating pressure?

Yes. The pipe must withstand the operating pressure plus the surge, and the low-pressure phase that follows can also cause cavitation. Always compare the total to the pipe’s pressure rating.

Why does a plastic pipe see a lower surge?

Its flexible wall expands and absorbs some of the energy: wave speed falls, and so does the Joukowsky surge. However, plastic pipes tolerate repeated pressure cycles poorly.

How can water hammer be limited in practice?

By closing valves slowly, limiting water velocity, or fitting a surge tank or relief valve near the valve or pump.

Related resources

Similar calculators