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.

💧 Water Hammer Pressure Calculator
kg/m³
GPa
GPa
mm
mm
m/s
m
s
Effective pressure surge
Maximum (Joukowsky) surge
Wave speed (a)
Closure type
Step-by-step working

💧 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

ΔP = ρaΔV      a = √(K/ρ) / √(1+KD/(Ee))
ΔP = pressure surge (Pa)
ρ = fluid density (kg/m³), a = pressure wave speed (m/s)
ΔV = change in flow velocity (m/s)
K = fluid bulk modulus, E = pipe elastic modulus, D = diameter, e = wall thickness
Tc = 2L/a (critical/characteristic time)
Example: ρ = 1000 kg/m³, K = 2.2 GPa, E = 200 GPa, D = 300 mm, e = 10 mm, ΔV = 2 m/s → a ≈ 1286.13 m/s, ΔPmax ≈ 2572.26 kPa.

📖 How to Use This Calculator

Steps

1
Enter the fluid and pipe properties. Type the fluid density and bulk modulus, and the pipe's elastic modulus, diameter, and wall thickness.
2
Enter the velocity change and pipe length. Type deltaV, the change in flow velocity, and L, the pipe length from the valve to the far reservoir or open end.
3
Enter the valve closure time. Type the actual valve closure time, in seconds, to check whether it is rapid or slow relative to the critical time.

💡 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

1
a = √(2.2×10⁹/1000) / √(1+2.2×10⁹×300/(200×10⁹×10)) = 1286.13 m/s
2
ΔPmax = 1000 × 1286.13 × 2 = 2572.26 kPa
3
Tc = 2×500/1286.13 = 0.7775 s; Tclose (0.5 s) ≤ Tc, rapid closure
ΔPeffective = 2572.26 kPa (full Joukowsky surge)
Try this example →

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

1
a ≈ 1313.58 m/s
2
ΔPmax = 1000 × 1313.58 × 1.5 = 1970.37 kPa
3
Tc = 2×1000/1313.58 = 1.5226 s; Tclose (5 s) > Tc, slow closure
ΔPeffective = 1970.37 × (1.5226/5) = 600.00 kPa
Try this example →

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

1
a ≈ 1215.57 m/s
2
ΔPmax = 1000 × 1215.57 × 3 = 3646.71 kPa
3
Tc = 2×800/1215.57 = 1.3163 s; Tclose (1 s) ≤ Tc, rapid closure
ΔPeffective = 3646.71 kPa (full Joukowsky surge)
Try this example →

❓ Frequently Asked Questions

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.

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.