Water Hammer Pressure Calculator
Find the water hammer pressure surge in a pipe from the Joukowsky equation, with an automatic check for rapid versus slow valve closure.
💧 What is Water Hammer?
Water hammer is a pressure surge, a transient pressure wave, that travels through a pipeline when fluid flow is suddenly stopped or changed, such as a rapidly closing valve or a pump tripping offline. The Joukowsky equation, deltaP = rho a deltaV, gives the maximum pressure surge for an instantaneous velocity change, where a is the speed at which that pressure wave travels through the fluid-filled pipe.
Engineers use this calculation to check pipelines, pump discharge lines, and valve stations for the risk of pressure spikes well above normal operating pressure, spikes strong enough to burst pipe walls, blow out joints, or trigger damaging vibration and noise. Because wave speed depends on both the fluid's compressibility and the pipe wall's stiffness, the same velocity change produces a larger surge in a stiff steel pipe than in a more flexible plastic one.
A common point of confusion is assuming every valve closure produces the full Joukowsky surge. Whether that happens depends on how the closure time compares to the critical time Tc = 2L/a, the round-trip time for the pressure wave to travel to the pipe's far end and back. Closing faster than Tc (rapid closure) produces the full surge, closing slower (slow closure) allows partial pressure relief and a smaller, reduced surge.
This calculator computes the wave speed from your fluid and pipe properties, the theoretical maximum Joukowsky surge, the critical closure time, and an effective (possibly reduced) pressure surge based on your actual valve closure time, plotting how the surge transitions from its flat maximum to a decaying value as closure time increases beyond the critical threshold.
📐 Formula
📖 How to Use This Calculator
Steps
💡 Example Calculations
Example 1 — Rapid Valve Closure in a Steel Pipe
Water in a steel pipe, D = 300 mm, e = 10 mm, deltaV = 2 m/s, L = 500 m, Tclose = 0.5 s
Example 2 — Slow Valve Closure Reduces the Surge
Water in a steel pipe, D = 200 mm, e = 8 mm, deltaV = 1.5 m/s, L = 1000 m, Tclose = 5 s
Example 3 — Larger Diameter Pipe, Rapid Closure
Water in a lower-modulus pipe, D = 400 mm, e = 12 mm, E = 150 GPa, deltaV = 3 m/s, L = 800 m, Tclose = 1 s
❓ Frequently Asked Questions
🔗 Related Calculators
What is water hammer?
Water hammer is a pressure surge (transient pressure wave) that occurs when a fluid in motion is forced to stop or change direction suddenly, such as a rapidly closing valve or a pump tripping off. It can produce pressure spikes many times the pipe's normal operating pressure, potentially causing pipe rupture, joint failure, or damaging vibration.
What is the Joukowsky equation?
The Joukowsky equation gives the maximum pressure surge for an instantaneous (rapid) change in flow velocity: deltaP = rho x a x deltaV, where rho is fluid density, a is the pressure wave speed (celerity) in the pipe, and deltaV is the change in flow velocity.
What is pressure wave speed (celerity) and how is it calculated?
Wave speed a is how fast a pressure disturbance travels through the fluid-filled pipe, it depends on both the fluid's compressibility and the pipe wall's elasticity, given by a = sqrt(K/rho) / sqrt(1 + KD/(Ee)), where K is the fluid's bulk modulus, E is the pipe material's elastic modulus, D is diameter, and e is wall thickness.
What is the difference between rapid and slow valve closure?
Rapid (instantaneous) closure happens faster than the critical time Tc = 2L/a, the round-trip travel time of the pressure wave, and produces the full Joukowsky pressure surge. Slow closure, taking longer than Tc, allows the pressure wave to partially reflect and relieve before the valve fully closes, producing a smaller surge.
How is the pressure surge estimated for slow valve closure?
This calculator uses the Michaud approximation, deltaP_effective = deltaP_max x (Tc / Tclose), a simple linear reduction based on how much longer the actual closure time is than the critical time. This is a widely used estimate for preliminary design, a full transient analysis is needed for a precise result on critical systems.
Why does a stiffer pipe material increase water hammer pressure?
A stiffer (higher elastic modulus) or thicker-walled pipe deforms less under the pressure wave, so the wave travels faster (higher wave speed a) and, since deltaP = rho x a x deltaV, this directly increases the resulting pressure surge for the same velocity change. More flexible pipes (like some plastics) can meaningfully reduce water hammer severity.
What causes a sudden change in flow velocity?
Common causes include a valve closing (quickly or by automatic shutoff), a pump stopping suddenly (power failure or trip), a check valve slamming shut after flow reversal, or any other event that rapidly decelerates or reverses fluid flow in a pipeline.
How can water hammer be reduced in a real pipeline system?
Common mitigation measures include slowing valve closure time (using a controlled or two-stage closure), installing surge relief valves, air chambers, or surge tanks, using flywheels on pumps to extend coast-down time, and avoiding abrupt pump trips through soft-start and soft-stop controls.
Does this calculator account for the total system pressure?
No, this calculator computes only the transient pressure surge caused by the velocity change. The pipe must be checked against its steady-state operating pressure plus this surge combined, not the surge in isolation, when verifying against the pipe's rated pressure class.
What units does this calculator use?
Fluid density is entered in kilograms per cubic meter, bulk modulus and elastic modulus in gigapascals, diameter and wall thickness in millimeters, velocity change in meters per second, pipe length in meters, and closure time in seconds. Pressure surge results are shown in kilopascals.