Works on this device
Water Hammer Calculator
Water hammer is the pressure surge that runs through a pipe when a valve closes or a pump stops and the flow changes fast. Work out the size of the surge, the speed of the pressure wave and how slowly a valve must close.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose Pressure rise for a fast valve closure for the surge, Pressure wave speed in a pipe for the speed a, or Critical closure time for a valve that closes slowly.
- Enter the liquid and the pipe. The menu in the wave speed choice fills in rounded example values for some pipe materials; check them against your own data.
- From the wave speed result, choose Use this wave speed for the pressure rise to carry it over.
- Choose Calculate. You can change the units and read the working under the result.
The formulas
- Joukowsky equation (rapid closure): Δp = ρ × a × Δv, or as a head ΔH = a × Δv ÷ g. ρ is the density of the liquid, a the wave speed and Δv the change of velocity.
- Wave speed (Korteweg, thin-walled pipe): a = √((K ÷ ρ) ÷ (1 + c₁ × K × D ÷ (E × e))). K is the bulk modulus of the liquid, D the inside diameter, e the wall thickness and E the Young's modulus of the wall.
- Restraint factor c₁ (Wylie and Streeter): 1 − ν² for a pipe anchored along its length, 1 − ν ÷ 2 for a pipe anchored at its upstream end only, 1 for a pipe with expansion joints. ν is Poisson's ratio of the wall.
- Critical closure time: 2L ÷ a, the time the wave needs to go to the far end of the pipe and back. A closure in this time or less gets the full Joukowsky rise.
- Michaud's formula (slow closure, closure time T above 2L ÷ a): Δp ≈ 2 × ρ × L × v ÷ T.
Worked examples
Water (998.2 kg/m³) at 1.5 m/s is stopped at once in a pipe with a wave speed of 1,300 m/s. The rise is 998.2 × 1,300 × 1.5 = 1,946,490 Pa, about 19.46 bar, or a head of 198.8 m.
The pipe is 800 m long, so 2L ÷ a = 1.231 s. A valve that closes evenly in 5 s gives about 2 × 998.2 × 800 × 1.5 ÷ 5 = 479,136 Pa (4.79 bar) by Michaud's formula.
Water in a steel pipe (E 200 GPa, ν 0.30) with D = 150 mm and a 5 mm wall, anchored along its length: c₁ = 0.91 and a = 1,481.2 ÷ √1.2989 = 1,299.6 m/s.
The same water in a PVC pipe (E 3 GPa, ν 0.45, anchored at one end) with D = 110 mm and a 5.3 mm wall has a = 414.9 m/s, so the same change of velocity gives less than a third of the rise.
Limits you should know
- The pipe is one line of one size and material, and friction is left out. Air in the liquid, pumps, branches, changes of size and check valves change the surge; a real system needs a transient (surge) analysis.
- When the pressure of the returning wave falls to a vacuum, the liquid boils and the column can break apart. When it closes again the pressure can go above the Joukowsky value.
- Michaud's formula assumes that the velocity falls evenly. Most valves stop most of the flow in the last part of their stroke, so use the time in which the flow really stops.
- The wave speed formula is for a thin-walled pipe (D ÷ e above about 25). For a thicker wall the result is an estimate.
- Liquid and wall values are your own figures. The example values are rounded and are not data for your pipe.
- The results are arithmetic for checking and learning, not a design approval. This is not professional advice.
Related pages
- Velocity of the flow in the pipe: Fluid Velocity Calculator.
- Pressure drop and flow in the pipe: Pipe Flow Calculator.
- A head of liquid as a pressure: Head Pressure Calculator.