Water Hammer Calculator

Joukowsky · Surge Surge pressure from valve closure or pump trip — screening level
Length from the source to the closing valve
Steady velocity before closure (from a velocity calc)
Time for the valve to shut or the flow to change
Sets the wave speed below — override if known
Pressure-wave celerity in the pipe
Water ≈ 1000
Steady line pressure before the surge; used to estimate the peak

Formula & Engineering Reference

tcrit = 2L / a
Rapid: ΔH = (a/g)·ΔV  ·  Gradual: ΔH = (2L / (g·tc))·ΔV
ΔP = ρ·g·ΔH  ·  Ppeak = P₀ + ΔP
SymbolVariableUnit (SI)
LPipe length to the closing valvem
aPressure-wave speed (celerity)m/s
tcValve closure times
tcritCritical time, wave round-trip 2L/as
ΔVVelocity change (assumed full stop, = V)m/s
ΔHSurge head above steady pressurem
ΔPSurge pressure, ρ·g·ΔHkPa / bar
P₀Steady operating pressure (optional)bar(g)

The calculator first finds the critical time 2L/a, then compares it with your closure time. A closure at or below the critical time is rapid and uses the full Joukowsky surge; a slower closure is gradual and the surge scales down with closure time.

A 200 m steel line (a ≈ 1200 m/s) runs at 2 m/s, with a valve closing in 5 s and a normal pressure of 2 bar(g).

Critical time = 2 × 200 / 1200 = 0.33 s. The valve takes 5 s, far longer, so the closure is gradual.

Surge head = (2 × 200 / (9.81 × 5)) × 2 = 16.3 m, giving ΔP = 1000 × 9.81 × 16.3 ≈ 160 kPa ≈ 1.6 bar. Peak ≈ 2 + 1.6 = 3.6 bar(g) — moderate; worth checking the pipe and valve rating.

Now imagine the same valve slamming shut in 0.3 s, below the 0.33 s critical time. The closure turns rapid and the surge jumps to ΔH = (1200 / 9.81) × 2 ≈ 245 m, around 24 bar. That hundred-fold swing in result for a faster valve is exactly why closure time matters so much.

Treating the screening number as final. This is a first-pass estimate. It assumes the flow stops completely and uses a textbook wave speed; a real surge study models reflections and timing that this cannot.

Forgetting the wave speed depends on the pipe. A stiff steel pipe carries the wave near 1200 m/s; flexible HDPE slows it to about 250 m/s, which dramatically cuts the surge. Wall thickness and any trapped air change it further, so the tabulated value is only a guide.

Ignoring pump trip. A pump losing power can drop the flow as abruptly as a slamming valve, and the reverse flow that follows can be just as damaging. The same equations apply, but the velocity change and timing differ — check both the valve and the pump cases.

Sizing the valve closure too fast. The single cheapest mitigation is to close valves slowly. If a quick-acting valve pushes the closure below the critical time, the full surge appears; stretching the closure past 2L/a is often all it takes.

Assuming low velocity means no problem. Surge scales with velocity, so a fast line is worse — but even a modest velocity in a long, stiff pipe can generate a sharp peak when stopped suddenly. Always run the check on long mains.

The pressure surge that runs through a pipe when flowing liquid is suddenly slowed or stopped — by a valve closing fast or a pump tripping. The water's momentum has to go somewhere, and it appears as a sharp rise in pressure.

The time for the pressure wave to reach the far end and reflect back. Close the valve faster than this and the full Joukowsky surge develops; close slower and the surge is reduced in proportion.

ΔH = (a/g)·ΔV — the surge head for a rapid stop. It is the maximum possible surge, the worst case when the valve beats the critical time.

Close valves slowly past the critical time, add surge vessels or air chambers, fit surge relief valves, use soft-start and controlled-stop pumps, or choose a pipe with a lower wave speed such as HDPE.

No. It is a screening estimate. If the surge comes back high, commission a proper transient study with dedicated software that models reflections, cavitation, and pump behaviour.

Water Hammer Engineering Guide

3 topics  •  Surge pressure & mitigation reference

That bang you hear when a tap shuts off fast is water hammer in miniature. Scale it up to a long industrial main moving water at a couple of metres per second, and the same effect can spike the pressure by many times the normal operating level — enough to split pipes, crack fittings, and wreck instruments. The cause is simple momentum: a moving column of water does not want to stop, and when something forces it to, the energy reappears as a travelling pressure wave.

This calculator gives you a fast read on whether surge is something to worry about on a given line. It works out the critical time, decides whether your valve closure counts as rapid or gradual, and estimates the surge and peak pressure. The guide below explains the physics, why closure time is the lever that matters most, and what to do when the number comes back high.

Enjoyed this calculator?

SinaumeSync is built as an independent engineering resource for students, engineers, and lifelong learners. If this tool has helped your work, consider supporting future development — it helps keep more calculators and engineering references coming.

☕ Support the Project Secure donation via Saweria