Water Hammer Pressure

Estimate water hammer pressure with a transparent calculation and custom visualization.

Ideal pressure rise 2400 kPa
Inputs
Try:
kg/m³
Enter the density for this engineering estimate.
m/s
Enter the wave speed for this engineering estimate.
m/s
Enter the velocity change for this engineering estimate.
Results & Graph
Ideal pressure rise
2400 kPa

Ideal pressure rise

Graph 1 • Input-to-result flow Shows the calculated components and current result from this tool.
Ideal pressure riseDensity1.0kWave speed1.2kPressure rise2.4kIdeal pressure rise: 2400 kPa
Graph 2 • Modeled quantities Compares the values returned by the active calculation.
Density 1.0k Wave speed 1.2k Pressure rise 2.4k
Graph 3 • Calculation checkpoints Displays the engine’s named calculation points in order.
0kgm3 1.3kkgm3 2.6kkgm3 Density: 1,000 kgm3 1.0k Density Wave speed: 1,200 kgm3 1.2k Wave speed Pressure rise: 2,400 kgm3 2.4k Pressure rise
Summary: Joukowsky estimate ΔP = ρaΔV gives 2400 kPa for instantaneous velocity change.
Summary: Joukowsky estimate ΔP = ρaΔV gives 2400 kPa for instantaneous velocity change.
⚠️ Upper-bound idealization for rapid velocity change. Real response depends on pipe elasticity, closure time, system boundary conditions, air pockets, and relief devices.
Interactive chart & math engine powered by CalculatorGraph

Formula: Water Hammer Pressure formula

See the calculation steps and assumptions shown with the result.
See the calculation steps and assumptions shown with the result.
  • density: User-entered density (kg/m³).
  • waveSpeed: User-entered wave speed (m/s).
  • velocityChange: User-entered velocity change (m/s).

Rounding: Displayed result is rounded for readability.

Frequently Asked Questions

Why is the pressure rise so large for such a small velocity?

Because the wave speed is large. Water in a stiff pipe carries pressure waves at around 1,200 m/s, and the rise is density times wave speed times velocity change. Even 1 m/s stopped instantly gives 1200 kPa, about 12 bar. The moving water has nowhere to go, so its momentum turns straight into pressure at the closed valve.

Does the result include the normal working pressure?

No. It is the rise caused by the velocity change only. Add your normal operating pressure to it to get the peak the pipe sees. A system already running at 5 bar with the default 24 bar surge reaches about 29 bar momentarily. Compare that total, not the rise alone, with the rating of the pipe and fittings.

What wave speed should I use for a plastic pipe?

Usually much lower than the default, often a few hundred metres per second, because plastic walls flex more than metal. The exact value depends on the material, wall thickness relative to diameter and any air in the water. Pipe manufacturers often publish wave speeds for each pressure class, which is the best source to use.

How fast does a valve have to close for this answer to apply?

Faster than twice the pipe length divided by the wave speed. For a 1,000 m pipe at 1,200 m/s that is about 1.7 seconds. Closures quicker than that see the full Joukowsky rise. Slower closures see less, because the reflected wave returns in time to offset part of the pressure build up at the valve.

Can I use this calculator for a slow-closing valve?

Roughly. Replace the wave speed with twice the pipe length divided by the closure time and enter that in the wave speed field. A 1,000 m pipe closed over 5 seconds gives 400 m/s and 800 kPa, a third of the instant figure. This is only an approximation, because most valves cut off the bulk of the flow near the end of their travel.

Should I change the density for warm water?

There is little point. Water density changes only slightly with ordinary temperatures, and the effect on the result is a fraction of a percent. Getting the wave speed and velocity change right matters far more. Changing density makes sense for a different liquid, and then the wave speed should be changed too.

What is the velocity change if flow reverses?

It is the full swing from forward to backward flow. If water was moving forward at 1.5 m/s and ends up flowing back at 0.5 m/s, the change is 2 m/s, which gives the default 2400 kPa. Reverse flow commonly occurs after a pump trip, just before a non-return valve slams shut.

Does pipe friction reduce the pressure rise?

Friction damps the wave as it travels back and forth, so later peaks are smaller. On long pipelines it can also change the first peak somewhat. The calculator ignores friction entirely, which is one reason its result is described as an ideal or upper-bound value for a single pipe and a sudden change.

Why can water hammer cause low pressure as well as high?

The surge travels as a wave that reflects off the ends of the pipe, swinging pressure above and below the normal level. On the low side it can drop to vapour pressure, so the water column separates into pockets of vapour. When those pockets collapse the impact can be worse than the first spike. This page does not model that low side.

How do I convert the kPa result to bar or psi?

Divide kPa by a hundred to get bar, so 2400 kPa is 24 bar. For psi, multiply kPa by about 0.145; the default lands in the mid three hundreds of psi. Make sure you compare like with like, since pipe ratings may be quoted in bar, psi or as a pressure class rather than a pressure value.

Can I enter a negative velocity change for a drop in pressure?

No. The calculator only accepts values of zero or more and reports the size of the change. Opening a valve suddenly or a pump starting creates a surge as well, and the same magnitude applies. Whether the pressure goes up or down at a given point depends on which side of the valve or pump you are looking at.

Stopping 2 m/s of water dead: 2400 kPa

The default case is water at 1,000 kg/m³, a pressure wave speed of 1,200 m/s and a velocity change of 2 m/s. Multiply the three together and you get 2.4 million pascals, which the calculator shows as an ideal pressure rise of 2400 kPa. That is 24 bar on top of whatever pressure the pipe was already running at.

The formula is the Joukowsky equation: pressure rise equals density times wave speed times change in velocity. It describes what happens when the flow in a pipe is stopped or changed faster than a pressure wave can travel to the far end and back. The moving column of water cannot slow down gradually, so its momentum is converted into a pressure spike at the valve.

Twenty four bar is a lot. It is more than the rated pressure of many ordinary water pipes and fittings. That is the point of the default: a modest flow speed, shut off instantly, produces a surge far larger than most people expect.

Velocity change is the input you control

All three inputs act in a straight line, so doubling any one of them doubles the answer. But in practice the velocity change is the one a designer can most easily influence.

Halve the flow speed being stopped to 1 m/s and the rise drops to 1200 kPa, which is the page's first steel pipe preset. Quarter it and the surge quarters too. Push velocity up by half and the surge rises by half. Pipe sizing rules that cap velocity are partly about this: a bigger pipe carrying the same flow has lower velocity, and so a smaller surge when that flow stops.

Enter the change, not the starting velocity, unless the flow is stopped completely. Closing a valve from 2 m/s down to 1.5 m/s is a velocity change of 0.5 m/s. Reversing flow, which can happen after a pump trips, can give a change larger than the original velocity.

To get velocity from a flow rate, divide the volume flow in cubic metres per second by the internal area of the pipe. Use the real internal diameter, not the nominal size, because the difference can be noticeable on plastic pipe with thick walls.

A worked example helps. A pipe with an internal diameter of 100 mm has an internal area of about 0.00785 square metres. If it carries 15.7 litres a second, the velocity is close to 2 m/s, the default. Stopping that flow instantly in a stiff pipe gives the full 2400 kPa. Carry the same flow in a pipe with twice the diameter and velocity falls to a quarter, so the surge falls to a quarter too.

Wave speed depends on the pipe, not just the water

The 1,200 m/s default is a reasonable figure for water in a stiff metal pipe. Sound in a large body of open water travels faster still, but inside a pipe the walls stretch a little as the pressure wave passes, and that slows it down. The more flexible the pipe, the slower the wave and the smaller the surge.

This is why plastic pipes see lower water hammer pressures than steel or ductile iron for the same velocity change. A flexible plastic pipe may have a wave speed of a few hundred metres per second. The page's plastic pipe preset uses 400 m/s, a third of the default, and stopping 2 m/s of flow then gives 800 kPa instead of 2400 kPa.

The calculator does not work out wave speed for you. It needs the pipe material, the wall thickness, the diameter and the fluid's bulk modulus to do that properly, and none of those are inputs. Look up or calculate a wave speed for your specific pipe and enter it. Using the default for a plastic main will overstate the surge, sometimes by a factor of two or more.

Air in the line has an even bigger effect. Small amounts of entrained air can drop the wave speed sharply. That might seem helpful, but trapped air pockets also create their own violent pressure behaviour, so do not rely on it.

Steel at 1 and 2 m/s against plastic at 400 m/s

The three presets on the page are built to show the two levers that matter most. The first two keep a steel pipe wave speed of 1,200 m/s and change only how fast the flow was moving when it stopped. Stopping 1 m/s gives 1200 kPa. Stopping 2 m/s gives 2400 kPa. Twice the velocity, twice the surge.

The third keeps the 2 m/s stop but swaps the pipe for plastic, with a wave speed of 400 m/s. The surge falls to 800 kPa, a third of the steel figure, purely because the more flexible wall slows the pressure wave. Nothing about the water or the valve has changed.

Density stays at 1,000 kg/m³ in all three, which is right for water. Change density only for a different liquid, such as a fuel or a brine, and then change the wave speed as well, because wave speed depends on the liquid's stiffness relative to its density. A different density with the steel water wave speed would not describe any real fluid.

Instant closure versus a valve that takes time

Joukowsky gives the pressure for a closure that is effectively instant. Effectively instant has a precise meaning here. A pressure wave leaves the valve, runs to the far end of the pipe, reflects and comes back. The round trip takes twice the pipe length divided by the wave speed. If the valve is fully closed before that wave returns, the full Joukowsky rise appears.

For a pipe 1,000 m long with the default 1,200 m/s wave speed, the round trip is about 1.7 seconds. Any closure faster than that produces the full 2400 kPa. A quarter turn ball valve slammed shut, a solenoid valve or a sudden pump stop can easily be that fast.

Close more slowly and the reflected wave arrives in time to partly cancel the rise. A common rough approximation for slow closure replaces the wave speed with twice the pipe length divided by the closure time. You can use the calculator for this by entering that figure in the wave speed field. For the same 1,000 m pipe closed over 5 seconds, that gives an effective speed of 400 m/s and a rise of 800 kPa, a third of the instant value. Close it twice as slowly again and the estimate halves once more.

Real valves do not close at an even rate, and much of the flow is cut off in the last part of the stroke. So treat any slow closure estimate as rough, and lean on the instant figure when the closure profile is uncertain.

Adding the surge to the pressure already in the pipe

The result is a rise, not a total. The pipe sees its normal operating pressure plus the surge at the moment of closure. A system running at 5 bar with the default surge would momentarily see about 29 bar at the valve.

There is also a downward swing. The surge wave reflects and alternates between high and low pressure as it travels back and forth. On the low side, pressure can fall far enough below the operating level to pull a vacuum. If it reaches the vapour pressure of the water, the column can separate, and when it rejoins the collapse can produce a spike larger than the first one. The calculator does not model this.

Pump trips are the classic case. When a pump stops suddenly, the pressure on the delivery side drops first, which can cause column separation at high points, followed by return flow slamming a non-return valve shut.

Where a single number stops being enough

This page gives an upper-bound screening figure for one pipe and one sudden event. It does not account for friction, which damps the wave over long pipes. It ignores branches, tanks and changes in pipe size, all of which reflect waves at different times. It does not model surge vessels, relief valves, air valves or slow-closing check valves, which are how real systems are protected.

For a short pipe with a fast valve, the Joukowsky figure is often close to what a full analysis would show for the first peak. For a long main with pumps, branches and protection devices, it is a starting point that tells you whether surge needs serious attention. If the figure plus operating pressure approaches the pipe's rated pressure, that is a strong sign that a proper transient analysis is needed before the design is fixed.

Practical checks before you trust the result

Three quick checks catch most mistakes on this page. First, make sure the velocity is in metres per second and is the change you expect, not a flow rate typed into the wrong box. Second, check that the wave speed suits your pipe material; leaving the 1,200 m/s default on a plastic pipe is the most common overestimate. Third, compare the answer in bar, by dividing kPa by a hundred, with the pressure rating printed on the pipe and fittings.

If the surge alone exceeds the rating, slowing the closure, reducing velocity or adding protection are the usual design responses. The calculator can help you see how much each lever moves the number before you look at any of them in detail.