💥 Hydraulic Shock

Water Hammer Calculator

Calculate the pressure surge from sudden valve closure based on flow velocity, pipe material, and closure time. Check whether the surge is severe enough to need a water hammer arrestor or a slower-closing valve.

m/s
m
seconds
Solenoid valves: 0.01-0.05s • Ball valves: 0.5-2s • Globe valves: 2-5s
💥 Surge Pressure Result
Metric

Surge Pressure vs. Operating Pressure

kPa surge
Enter data and calculate

Surge Breakdown

Full Calculation Table

ParameterValueNotes
Export:

How to Use the Water Hammer Calculator

1
Select the Pipe Material

Each material has a different pressure wave speed, which changes how severe the surge becomes for the same valve closure. Check the pipe material comparison tool if you have not picked a material yet.

2
Enter Flow Velocity and Pipe Length

Enter the velocity of the fluid right before the valve closes and the pipe length from the valve back to the nearest open connection or source. Use the flow velocity calculator if you only know flow rate and pipe size.

3
Enter Valve Closure Time

Enter how long the valve takes to fully close. Solenoid valves on appliances close almost instantly, while manually operated globe and gate valves close much more slowly.

4
Calculate and Check the Result

Click Calculate Surge Pressure to see the pressure spike and whether it is severe enough to warrant a water hammer arrestor or a slower valve.

Understanding Water Hammer in Piping Systems

Water hammer happens when a moving column of fluid is brought to a sudden stop, usually by a fast-closing valve. The fluid's momentum has nowhere to go, so it converts into a sharp pressure wave that travels back through the piping at close to the speed of sound in that fluid and pipe combination. This wave can spike many times higher than the system's normal operating pressure for a fraction of a second, which is long enough to damage fittings, valves, and sometimes the pipe itself if it happens repeatedly. Solenoid valves on washing machines, dishwashers, and ice makers are common sources, since they close almost instantly compared to a manually operated valve.

The Joukowsky Equation

This calculator uses the Joukowsky equation, the standard formula for surge pressure from an instantaneous or near-instantaneous valve closure. The surge pressure depends on fluid density, the pressure wave speed in the specific pipe material and fluid combination, and the change in velocity at closure. Different pipe materials transmit the pressure wave at different speeds, which is why the same valve and flow velocity produce a different surge magnitude in steel pipe than in PEX, since PEX is more flexible and absorbs some of the wave energy through its own elasticity.

Why Closure Time Changes Everything

The full Joukowsky surge only applies when the valve closes faster than the time it takes the pressure wave to travel to the nearest open point and reflect back, called the critical closure time. Closing the valve more slowly than this critical time lets the surge partially relieve itself before reaching full magnitude, which is why slowing a valve down is often the most effective fix. This calculator checks your entered closure time against the critical closure time for your pipe length and flags whether the full surge applies or a reduced surge is more likely. The reduced-surge estimate used here is a simplified linear approximation common in introductory water hammer guidance; more rigorous transient analysis accounts for additional wave reflection behavior that this simplified version does not fully capture, so treat the reduced-surge figure as a rough indicator rather than a precise prediction.

When an Arrestor Is the Right Fix

Where closure speed cannot be changed, such as a dishwasher's solenoid valve, a water hammer arrestor absorbs the surge using a sealed air cushion or a mechanical piston near the fixture, rather than letting the shock wave travel back through the rest of the system. Arrestors need to be sized to the specific fixture's flow rate and located as close to the valve as possible, since their effectiveness drops the further they sit from the source of the surge. For a building-wide problem affecting multiple fixtures, check overall flow velocity on the pipe sizing calculator, since lower velocity throughout reduces the severity of any surge that does occur.

A Note on Accuracy

This calculator uses the standard Joukowsky equation with published wave speed values for common piping materials, for estimating purposes. Actual surge pressure in a real system can be affected by air pockets, multiple valves closing in sequence, and pipe support conditions that are not captured in this simplified single-valve calculation. For repeated or severe water hammer problems, especially in commercial buildings, have a mechanical contractor investigate the specific cause before relying on a calculated estimate alone.

Frequently Asked Questions

Water hammer happens when a valve, solenoid, or quick-acting fixture closes fast enough to stop a moving column of fluid almost instantly. The fluid's momentum converts into a sharp pressure spike that travels through the piping as a shock wave, and that wave can be many times higher than the normal system operating pressure for a fraction of a second.

The most reliable fix is slowing valve closure time, since the pressure surge drops sharply once closure takes longer than the pipe's critical closure time. Where closure speed cannot be changed, such as with solenoid valves on washing machines or dishwashers, a water hammer arrestor absorbs the surge with a captured air cushion or mechanical piston near the fixture. Reducing flow velocity by sizing pipe slightly larger also lowers the severity of any surge that does occur, which you can check on the flow velocity calculator.

Yes. Rigid materials like steel and copper transmit the pressure wave faster and with less absorption, which tends to produce a sharper, higher surge for the same valve closure. More flexible materials like PEX absorb some of the wave energy through their own elasticity, which can reduce surge severity somewhat, though PEX is not a substitute for proper arrestor placement on fast-closing valves. Compare materials on the pipe material comparison tool.

Longer pipe runs to upper floors mean a longer distance for the pressure wave to travel before it can reflect off an open point and start relieving itself, which increases the critical closure time for that run. A valve that closes fast enough to cause a full-magnitude surge on a long top-floor run might close slowly enough relative to a shorter run lower in the building to avoid the same severity. This is part of why water hammer often shows up unevenly across a building rather than uniformly everywhere.