Plumbing calculator
Water Hammer Calculator
A water hammer calculator that works out the pressure surge when a valve slams shut. Enter the pipe material, diameter and wall thickness, the flow velocity and how fast the valve closes, and get the wave speed, the surge for an instantaneous stop and for your closure, the pressure the pipe sees, and the arrestor size to fit. A 2-inch copper line at 5 feet per second peaks at 194.7 psi, more than double the 80 psi fixture limit, so a size E arrestor goes on the line.
- Free to use
- No sign-up
- Formula and sources shown

Got the number? Save it before it gets lost.
A result on a screen is easy to lose. Save this estimate in the app and it stays with the project, ready when you order.
The material sets the wave speed through its modulus; steel at 29,000,000 psi carries the fastest wave, PEX at 120,000 psi the slowest, and the wave speed sets the surge.
The inside diameter of the pipe. A 2-inch copper Type L line has a 2-inch bore; a 2-inch steel Schedule 40 line has a 2.067-inch bore. The bore and the wall together set how much the pipe flexes, and the flexing slows the wave.
The pipe wall thickness: 0.07 in for 2-inch copper Type L, 0.154 in for 2-inch steel Schedule 40, 0.097 in for 3/4-inch PEX. A thicker wall flexes less and carries a faster wave.
From the valve back to the source, the tank, the main, the pump. The length sets the critical time, and the critical time decides whether the closure counts as instantaneous or gradual.
The velocity in the pipe just before the valve closes. The surge is directly proportional to it: halve the velocity and the surge halves. A 2-inch line at 5 ft/s is moving about 49 GPM.
How long the valve takes to go from fully open to fully closed. A solenoid valve or a single-lever faucet closes in about 0.05 to 0.1 seconds; a multi-turn valve closed by hand takes 1 to 3 seconds. The closure time is the most powerful lever on the surge.
The pressure in the line with no flow. The pressure the gauge reads when every tap is shut. The maximum pressure is the static pressure plus the surge.
Copper (Type L) · wave 3,799.6 ft/s · Joukowsky
Surge 134.7 psi · Peak 194.7 psi
An instantaneous stop would surge 255.9 psi and peak at 315.9 psi. This 0.1-second closure is slower than the 0.053-second critical time, so the surge is cut to 0.526 of the instantaneous value: 134.7 psi, peaking at 194.7 psi. Fit a size E arrestor (PDI WH-201).
Wave speed
3,799.6 ft/s
Critical time (2L/a)
0.053 s
Instantaneous surge
255.9 psi
Surge at this closure
134.7 psi
Maximum pressure
194.7 psi
Instantaneous peak
315.9 psi
Arrestor size (PDI WH-201)
Size E | 2 in pipe | a main riser or a commercial branch
Pipe rating
400 psi
The peak of 194.7 psi is above the 80 psi fixture limit, so a size E water hammer arrestor is required at the quick-closing valve, within 6 feet of it. It is within the 400 psi rating of this pipe, so the pipe holds, but the fixtures do not, and the arrestor is not optional. This is a quick-closing valve (under 0.5 seconds): a slow-closing valve is the cheapest fix. A 1-second closure on this line would cut the surge to a fraction of what it is now. The Uniform Plumbing Code and the International Plumbing Code cap the pressure at the fixtures at 80 psi, and a licensed plumber sizes any real arrestor.
Turn this result into a priced plan
Save it to a project, add the rest of your materials, and send a client-ready quote. No retyping, no spreadsheet, no lost numbers.
Formula
Wave speed a = 4,660 ÷ √(1 + (300,000 × D) ÷ (E × t)) ft/s, with D the pipe bore in inches, E the pipe material modulus in psi and t the wall thickness in inches. Joukowsky surge ΔP = ρ × a × Δv ÷ 144 psi, with ρ = 1.94 slugs/ft³, a the wave speed in ft/s and Δv the change in velocity in ft/s. Critical time tc = 2L ÷ a seconds, with L the pipe length in feet. If the valve closes slower than tc, ΔP = ΔP(instant) × tc ÷ Tc, with Tc the closure time. Maximum pressure = static pressure + ΔP.
Worked example. A 2-inch copper Type L line, 100 ft long, flowing at 5 ft/s, valve closing in 0.1 s, static pressure 60 psi: wave speed a = 4,660 ÷ √(1 + (300,000 × 2) ÷ (17,000,000 × 0.07)) = 4,660 ÷ √1.504 = 3,799.6 ft/s. Instantaneous surge ΔP = 1.94 × 3,799.6 × 5 ÷ 144 = 255.9 psi, so an instant stop would peak at 60 + 255.9 = 315.9 psi. Critical time tc = 2 × 100 ÷ 3,799.6 = 0.053 s. The 0.1 s closure is slower than tc, so the surge is reduced by 0.053 ÷ 0.1 = 0.526: ΔP = 255.9 × 0.526 = 134.7 psi, and the peak pressure is 60 + 134.7 = 194.7 psi. That is still above the 80 psi fixture limit, so a size E arrestor (PDI WH-201, for 2-inch pipe) goes on the line, as close to the quick-closing valve as possible.
A 2-inch copper line 100 feet long, flowing at 5 feet per second with a valve that closes in 0.1 seconds on a 60 psi static pressure, carries a pressure wave at 3,799.6 feet per second: an instantaneous stop would surge 255.9 psi and peak at 315.9 psi, but the 0.1-second closure is slower than the 0.053-second critical time, so the surge is cut to 134.7 psi and the peak is 194.7 psi. Still more than double the 80 psi fixture limit, so a size E arrestor goes on the line.
Key takeaways
- •A 2-inch copper line at 5 ft/s surges 255.9 psi on an instantaneous stop and peaks at 315.9 psi on a 60 psi static pressure, more than triple the 80 psi fixture limit.
- •The same line with a 0.1-second closure surges only 134.7 psi and peaks at 194.7 psi, because the closure is slower than the 0.053-second critical time.
- •A 1-second closure kills the hammer: the surge falls to 13.5 psi and the peak to 73.5 psi, under the 80 psi limit, with no arrestor needed.
- •The surge is directly proportional to velocity: 3 ft/s surges 80.9 psi, 5 ft/s surges 134.7 psi, and 8 ft/s surges 215.5 psi on the same line with the same closure.
- •The pipe material sets the wave speed: 4,375.3 ft/s in steel, 3,799.6 ft/s in 2-inch copper, 1,400.8 ft/s in PVC, 1,081.9 ft/s in 3/4-inch PEX, and the surge follows the wave speed.
- •Once the closure is slower than the critical time, the material stops mattering: steel and copper both surge 134.7 psi at a 0.1-second closure, because the surge is then set by the length, the velocity and the closure time alone.
- •PEX hammers less but still hammers: 72.9 psi of surge at 5 ft/s, and a peak of 132.9 psi on a 60 psi line, still above the 80 psi fixture limit.
- •The arrestor size follows PDI WH-201 by pipe diameter: A for 1/2 inch, B for 3/4 inch, C for 1 inch, D for 1 1/4 to 1 1/2 inch, E for 2 inch, F for over 2 inch.
- •The peak pressure is the static pressure plus the surge. A line at 80 psi static peaks 20 psi higher than the same line at 60 psi, so high static pressure and a fast valve together are the worst combination.
- •A long pipe is a worse pipe: on a 300-foot copper line the critical time is 0.158 seconds, so a 0.1-second closure counts as instantaneous and the full 255.9 psi applies.
- •This is a sizing aid, not a design. The Uniform Plumbing Code and the International Plumbing Code cap the pressure at the fixtures at 80 psi, and a licensed plumber sizes any real arrestor.
How to use the water hammer calculator
- Pick the pipe material: copper, steel, ductile iron, PVC, CPVC, PEX or HDPE. The material sets the wave speed through its modulus; steel at 29,000,000 psi carries the fastest wave, PEX at 120,000 psi the slowest, and the wave speed sets the surge.
- Enter the pipe bore in inches and the wall thickness in inches. A 2-inch copper Type L line has a 2-inch bore and a 0.07-inch wall; a 2-inch steel Schedule 40 line has a 2.067-inch bore and a 0.154-inch wall. The bore and the wall together set how much the pipe flexes, and the flexing slows the wave.
- Enter the length of the run in feet, from the valve back to the source, the tank, the main, the pump. The length sets the critical time, and the critical time decides whether the closure counts as instantaneous or gradual.
- Enter the flow velocity in feet per second just before the valve closes. The velocity comes from the flow and the bore; a 2-inch line at 5 ft/s is moving about 49 GPM, and the surge is directly proportional to it, so getting the velocity right matters more than anything else.
- Enter the valve closure time in seconds. A solenoid valve or a single-lever faucet closes in about 0.05 to 0.1 seconds; a quarter-turn ball valve slammed by hand in about 0.1 to 0.25 seconds; a multi-turn valve closed by hand in 1 to 3 seconds. If you do not know it, 0.1 seconds is the planning value for a quick-closing valve.
- Enter the static pressure in psi. The pressure the gauge reads with every tap shut. Read the wave speed, the instantaneous surge, the surge for your closure, the maximum pressure, and the arrestor size. If the maximum pressure is over 80 psi, fit the arrestor; if it is over the pipe rating, the pipe itself is at risk.
Worked examples
1. The default: a 2-inch copper line, 100 ft, 5 ft/s, 0.1-second closure
- Duty: 2-inch copper Type L, bore 2 in, wall 0.07 in, 100 ft long, 5 ft/s, 0.1 s closure, 60 psi static
- Wave speed a = 4,660 ÷ √(1 + (300,000 × 2) ÷ (17,000,000 × 0.07)) = 4,660 ÷ √1.504 = 3,799.6 ft/s
- Instantaneous surge ΔP = 1.94 × 3,799.6 × 5 ÷ 144 = 255.9 psi; an instant stop would peak at 60 + 255.9 = 315.9 psi
- Critical time tc = 2 × 100 ÷ 3,799.6 = 0.053 s; the 0.1 s closure is slower than tc, so the surge is cut by 0.053 ÷ 0.1 = 0.526
- Actual surge ΔP = 255.9 × 0.526 = 134.7 psi; maximum pressure = 60 + 134.7 = 194.7 psi
- Arrestor: size E per PDI WH-201 for 2-inch pipe, and it is required. 194.7 psi is more than double the 80 psi fixture limit
- The lesson: the closure time is worth 121 psi on this line. The valve that closes in 0.1 seconds instead of instantly saves more pressure than any arrestor can absorb
2. Instantaneous vs gradual: the same line at 0, 0.1, 0.5 and 1 second
- Duty: the default line, 2-inch copper, 100 ft, 5 ft/s, 60 psi static, at four closure times
- 0 seconds (instantaneous): surge 255.9 psi, peak 315.9 psi, the full Joukowsky surge, no credit for the closure
- 0.1 seconds: surge 134.7 psi, peak 194.7 psi. The closure is twice the critical time, so the surge is cut roughly in half
- 0.5 seconds: surge 26.9 psi, peak 86.9 psi. The closure is ten times the critical time, and the surge is a tenth of the instantaneous value
- 1 second: surge 13.5 psi, peak 73.5 psi. Under the 80 psi fixture limit, and no arrestor is needed at all
- The lesson: the surge falls in direct proportion to the closure time once the closure is slower than the critical time. Slowing the valve from 0.1 seconds to 1 second is worth 121 psi. It is the cheapest fix in plumbing, and it is the comparison this page exists to show
3. PEX: the slowest wave, but the longest critical time
- Duty: 3/4-inch PEX, bore 0.681 in, wall 0.097 in, 100 ft, 5 ft/s, 0.1 s closure, 60 psi static
- Wave speed a = 4,660 ÷ √(1 + (300,000 × 0.681) ÷ (120,000 × 0.097)) = 1,081.9 ft/s, less than a third of copper's
- Instantaneous surge ΔP = 1.94 × 1,081.9 × 5 ÷ 144 = 72.9 psi
- Critical time tc = 2 × 100 ÷ 1,081.9 = 0.185 s; the 0.1 s closure is FASTER than tc, so the closure counts as instantaneous and the full 72.9 psi applies
- Maximum pressure = 60 + 72.9 = 132.9 psi; arrestor size B for 3/4-inch pipe, and it is required. 132.9 psi is above the 80 psi limit
- The lesson: PEX hammers less than copper, but its slow wave makes the critical time long, so an ordinary 0.1-second closure is still instantaneous in PEX. The flexible pipe absorbs the wave, it does not cancel it
4. Steel vs copper: the material stops mattering once the closure is gradual
- Duty: 2-inch steel Schedule 40, bore 2 in, wall 0.154 in, 100 ft, 5 ft/s, 0.1 s closure, 60 psi static
- Wave speed a = 4,375.3 ft/s. The fastest of the common materials, because steel is the stiffest
- Instantaneous surge ΔP = 294.7 psi, and an instant stop would peak at 354.7 psi
- Critical time tc = 2 × 100 ÷ 4,375.3 = 0.046 s; the 0.1 s closure is slower than tc, so the surge is cut by 0.046 ÷ 0.1 = 0.457
- Actual surge ΔP = 294.7 × 0.457 = 134.7 psi, exactly the same as the copper line, and the peak is 194.7 psi
- The lesson: once the closure is slower than the critical time, the surge is set by the length, the velocity and the closure time alone, the wave speed cancels out. Steel hammers harder than copper only when the valve closes faster than the critical time
5. Velocity: 3 ft/s is quiet, 8 ft/s is a hammer
- Duty: the default 2-inch copper line at 3 ft/s and at 8 ft/s, 0.1 s closure, 60 psi static
- At 3 ft/s: instantaneous surge 153.6 psi, actual surge 80.9 psi, peak 140.9 psi
- At 5 ft/s: instantaneous surge 255.9 psi, actual surge 134.7 psi, peak 194.7 psi
- At 8 ft/s: instantaneous surge 409.5 psi, actual surge 215.5 psi, peak 275.5 psi
- The lesson: the surge is directly proportional to velocity, so a pipe that is one size too small, running at 8 ft/s instead of 5 ft/s, surges 60% harder. Sizing the pipe so the velocity stays under 5 ft/s is the first defence against water hammer, and it is free: the bigger pipe costs less than the arrestor it replaces
What water hammer is, and the Joukowsky equation
Water hammer is the pressure surge that follows a sudden stop. Water is nearly incompressible and it is heavy; a cubic foot weighs 62.4 pounds, so a column of water moving at 5 feet per second carries a great deal of momentum, and when a valve shuts in a tenth of a second that momentum has nowhere to go. The water piles up against the closed valve, the pressure spikes, and the spike travels back up the pipe as a pressure wave at the speed of sound in the pipe, 3,799.6 feet per second in 2-inch copper, reflects off the far end, comes back, and bounces back and forth until friction wears it out. The bang you hear is the pipe moving under the spike; the damage you do not hear is the joint that is stressed a little more every time, until it weeps.
The Joukowsky equation, published by Nikolai Joukowsky in 1898 after a burst water main in Moscow, is the whole of the physics in one line: ΔP = ρ × a × Δv. The surge is the density of the water, times the wave speed, times the change in velocity. Nothing else enters: not the length of the pipe, not the pressure in it, not the size of the valve. The length matters only through the critical time; whether the closure is fast enough to count as instantaneous, and the pressure matters only because the peak is the static pressure plus the surge. Everything else in water hammer is a consequence of those two facts.
a = 4,660 ÷ √(1 + (300,000 × D) ÷ (E × t)) ΔP = 1.94 × a × Δv ÷ 144 tc = 2L ÷ a ΔP(gradual) = ΔP(instant) × tc ÷ Tc
The wave speed is where the pipe material enters. Sound travels at 4,660 feet per second in water in a perfectly rigid pipe, and every real pipe flexes under pressure, so every real wave is slower. The flexing is set by the ratio of the water's bulk modulus, 300,000 psi, to the pipe's stiffness, which is its modulus times its wall thickness divided by its bore. Copper, with a modulus of 17,000,000 psi, barely flexes: the wave in 2-inch copper runs at 3,799.6 feet per second, 82% of the rigid-pipe speed. PEX, with a modulus of 120,000 psi, flexes a great deal: the wave in 3/4-inch PEX runs at 1,081.9 feet per second, 23% of the rigid-pipe speed. That is why PEX hammers less, and why a steel pipe, at 29,000,000 psi, hammers hardest of all, with a wave at 4,375.3 feet per second in 2-inch Schedule 40.
The surge is then a simple multiplication: in 2-inch copper, every foot per second of velocity is worth about 51 psi of surge, so 5 ft/s is 255.9 psi and 8 ft/s is 409.5 psi. In 3/4-inch PEX, every foot per second is worth about 15 psi, so 5 ft/s is 72.9 psi. The velocity is the number to get right, and it comes from the flow and the bore, the water pipe size calculator on this site works it out from the fixtures, and the friction loss calculator works out what the pipe costs in pressure while the water is flowing. A pipe sized for 5 ft/s is a pipe that hammers half as hard as a pipe sized for 8 ft/s, and the bigger pipe is usually the cheaper fix.
The critical time is the part most calculators skip, and it is the part that decides whether the closure time helps at all. The pressure wave has to travel to the far end of the pipe and back, 2L at the wave speed, before the valve knows the far end exists. If the valve is still closing when the wave gets back, the returning wave relieves the pressure and the surge is cut in proportion: a closure twice as slow as the critical time cuts the surge in half, and a closure ten times as slow cuts it to a tenth. If the valve is already shut when the wave gets back, the full surge applies and the closure time is irrelevant. On a 100-foot copper line the critical time is 0.053 seconds, shorter than any real valve, so every real closure is gradual and every real closure helps. On a 300-foot copper line the critical time is 0.158 seconds, so a 0.1-second solenoid valve is effectively instantaneous and takes the full 255.9 psi. Length is what turns a fast valve into an instantaneous one.
Pipe materials: wave speed and surge by material
The table below is the heart of the calculator: the wave speed and the surge at 5 feet per second for each material this page covers, on a 2-inch bore where the sizes line up, and on 3/4-inch PEX where that is the size that matters. The surge at 5 ft/s is the instantaneous value, the surge a valve that closes faster than the critical time delivers, and the gradual value at a 0.1-second closure on a 100-foot run is shown beside it, because that is the surge a real valve delivers.
| Pipe material | Modulus (psi) | Wave speed (ft/s) | Instant surge at 5 ft/s (psi) | Surge, 0.1 s closure, 100 ft (psi) | Peak at 60 psi static (psi) |
|---|---|---|---|---|---|
| Steel, 2 in Sch 40 | 29,000,000 | 4,375.3 | 294.7 | 134.7 | 194.7 |
| Copper, 1 in Type L | 17,000,000 | 3,993.3 | 269.0 | 134.7 | 194.7 |
| Copper, 2 in Type L | 17,000,000 | 3,799.6 | 255.9 | 134.7 | 194.7 |
| Ductile iron, 2 in | 24,000,000 | 4,322.3 | 291.2 | 134.7 | 194.7 |
| PVC, 2 in Sch 40 | 400,000 | 1,400.8 | 94.4 | 94.4 | 154.4 |
| CPVC, 2 in Sch 40 | 420,000 | 1,480 | 99.7 | 99.7 | 159.7 |
| PEX, 3/4 in | 120,000 | 1,081.9 | 72.9 | 72.9 | 132.9 |
| HDPE, 2 in DR 11 | 150,000 | 1,069 | 72.0 | 72.0 | 132.0 |
Wave speeds from a = 4,660 ÷ √(1 + (300,000 × D) ÷ (E × t)). The 0.1-second surge is the gradual value where the closure is slower than the critical time, steel, copper and ductile iron, and the full instantaneous value where it is faster, PVC, CPVC, PEX and HDPE, whose slow waves make the critical time longer than 0.1 seconds. Ductile iron uses a 0.154 in wall, CPVC a 2.047 in bore with a 0.164 in wall, and HDPE a DR 11 wall of 0.216 in on a 1.943 in bore. Planning figures for a 2-inch bore.
Two things in that table surprise people. The first is that the gradual surge is identical, 134.7 psi, for steel, copper and ductile iron, because once the closure is slower than the critical time the wave speed cancels out of the equation and the surge depends only on the length, the velocity and the closure time. The second is that the flexible pipes, PVC, CPVC, PEX and HDPE, take the full instantaneous surge at a 0.1-second closure, because their slow waves make the critical time longer than the closure: 0.143 seconds for PVC, 0.185 seconds for PEX. The flexible pipe absorbs the wave, but it does not forgive a fast valve. It just moves the problem from the size of the surge to the length of the critical time.
The practical reading is simple. In copper and steel, slowing the valve is the fix: the surge is already gradual, so every extra tenth of a second of closure buys a proportional cut. In PEX and PVC, slowing the valve is the fix too, but the valve has to be slowed further, past 0.185 seconds in PEX, before the cut starts at all. And in every material, slowing the water is the fix that always works: the surge is proportional to velocity, so a pipe one size bigger, running at 3 ft/s instead of 5 ft/s, cuts the surge by 40% in any material, on any length, with any valve.
Fixing water hammer: arrestors, slow valves and pressure
The fix depends on the number, and the number is the peak pressure, the static pressure plus the surge, against the 80 psi fixture limit. On the default line the peak is 194.7 psi, so the fix is not one thing but three: slow the valve, fit an arrestor, and check the static pressure. Each one is worth a number, and the calculator shows the number for each one.
Slow the valve first, because it is free and it is the most powerful lever there is. A solenoid valve that closes in 0.1 seconds can often be replaced with a slow-closing solenoid that takes 1 second, and the surge falls from 134.7 psi to 13.5 psi. A 90% cut for the price of a different valve. A single-lever faucet that slams shut can be replaced with a two-handle faucet, or the user can be shown that closing it slowly matters. A quarter-turn ball valve that is slammed by hand can be replaced with a multi-turn valve, or fitted with a lever that cannot be slammed. The closure time is the only input that can cut the surge by an order of magnitude, and it is the only input that costs nothing.
Fit an arrestor second, at each quick-closing valve, sized per PDI WH-201 and placed as close to the valve as possible. Within 6 feet, and on the supply side of the valve, so the arrestor is between the valve and the rest of the system. The arrestor is a sealed chamber with a piston or a bladder and a charge of air: when the surge arrives, the piston moves, the air compresses, and the surge is absorbed instead of reflected. The size follows the pipe, A for 1/2 inch, B for 3/4 inch, C for 1 inch, D for 1 1/4 to 1 1/2 inch, E for 2 inch, F for over 2 inch, and a washing machine, a dishwasher and an ice maker each get their own, because each one has its own solenoid valve and each one hammers on its own. Buy the sealed piston or bladder type, not a plain air chamber: an air chamber is a capped length of pipe with air trapped in it, and the air dissolves into the water over weeks until the chamber is full of water and does nothing, the oldest water hammer fix in the trade, and the one that stops working first.
Check the static pressure third, because the peak is the static pressure plus the surge, and a high static pressure makes every surge worse. A line at 80 psi static peaks 20 psi higher than the same line at 60 psi, and a line at 100 psi static, common where the street pressure is high, peaks 40 psi higher. The code caps the pressure at the fixtures at 80 psi, so a pressure-reducing valve is required anyway above that, and the water pressure calculator on this site works out what the pressure is at each fixture. Fit the PRV at the entry, set it to 60 psi, and a line that was at 80 psi static, peaking at 214.7 psi on the default surge, falls to 194.7 psi before the arrestor is even considered.
Secure the pipe fourth, because a pipe that can move will bang even at a modest surge. Clip copper every 6 feet and PEX every 32 inches horizontally, use cushioned clips rather than bare metal straps, and leave room for expansion. A copper pipe grows about an inch per 100 feet per 100°F, and a pipe clamped tight against a joist will tick and bang as it grows. A loose pipe in a wall sounds like water hammer and is often diagnosed as water hammer, and the fix is a clip, not an arrestor. And check the expansion tank: a water heater with a closed system and no expansion tank, or a waterlogged expansion tank, makes the static pressure climb every time the heater fires, and the higher static pressure makes every hammer worse, the expansion tank calculator on this site sizes it.
Common water hammer mistakes
- •Fitting an arrestor and leaving the fast valve in place. The arrestor absorbs the surge; the slow valve prevents it. A 1-second closure cuts the surge from 134.7 psi to 13.5 psi, and no arrestor can match that. Fit the slow valve first, and the arrestor becomes the backup, not the fix.
- •Putting the arrestor at the far end of the house. The arrestor protects what is near it: it must sit within 6 feet of the quick-closing valve, on the supply side, or the wave reaches the valve before the arrestor can absorb it.
- •Using a plain air chamber instead of a sealed arrestor. The air dissolves into the water over weeks, the chamber fills with water, and the hammer comes back. A sealed piston or bladder arrestor keeps its air charge, and it is the only type PDI WH-201 and ASSE 1010 recognise.
- •One arrestor for the whole house. A washing machine, a dishwasher and an ice maker each have their own solenoid valve and each hammer on their own. Each one needs its own arrestor, at its own valve.
- •Sizing the arrestor from the fixture instead of the pipe. The PDI size follows the pipe diameter, not the fixture: a 3/4-inch branch takes a size B arrestor whether it feeds a washing machine or a hose bibb.
- •Forgetting the static pressure. The peak is the static pressure plus the surge, so a line at 100 psi static peaks 40 psi higher than the same line at 60 psi. A hammer that is fine at 60 psi static is a burst joint at 100 psi static.
- •Assuming PEX does not hammer. PEX hammers less, 72.9 psi against 255.9 psi in copper at 5 ft/s, but its slow wave makes the critical time 0.185 seconds, so an ordinary 0.1-second closure is still instantaneous in PEX, and the peak on a 60 psi line is 132.9 psi.
- •Sizing the pipe for 8 ft/s and then wondering why it bangs. The surge is proportional to velocity, so a pipe running at 8 ft/s surges 60% harder than the same pipe at 5 ft/s. Size for 5 ft/s or less, and the hammer halves before any arrestor is fitted.
- •Ignoring a long run. On a 300-foot copper line the critical time is 0.158 seconds, so a 0.1-second valve is effectively instantaneous and takes the full 255.9 psi. The longer the pipe, the slower the valve has to be.
- •Diagnosing a loose pipe as water hammer. A pipe that can move bangs against the framing at a modest surge, and the fix is a clip every 6 feet, not an arrestor. Secure the pipe before sizing the arrestor.
How this calculator compares with the rivals
The water hammer search is full of calculators that give one number, the surge, and stop. The gap is a calculator that shows the whole chain: the wave speed, the instantaneous surge, the gradual surge for the closure you actually have, the maximum pressure, and the arrestor to fit, with the instantaneous and gradual closures side by side so the value of slowing the valve is a number. This page is built to be that calculator, and it is the water hammer calculator that answers the question the plumber actually asked. How big is the surge, will it break anything, and what do I fit, with the surge, the peak and the arrestor together.
| Rival | What it offers | Where this page beats it |
|---|---|---|
| Omni Calculator | water hammer and pipe flow calculators | Omni's physics and construction sections have flow and pipe entries among its 160-plus calculators: a flow in, a velocity out | Omni answers the pipe question, not the hammer question. It never asks for the closure time, so it cannot tell an instantaneous stop from a gradual one, and the closure time is worth 121 psi on the default line. This page shows both closures side by side. |
| Calculator Soup | pipe and flow calculators | Calculator Soup's construction section has pipe-flow calculators: diameter and velocity in, flow out | Calculator Soup gives the velocity, which is one input to the surge, and it stops there. It never touches the wave speed, the Joukowsky surge or the arrestor, so it cannot say how big the hammer is. This page does the hammer end to end. |
| Engineering ToolBox | water hammer tables | The wave speed by pipe material, the Joukowsky equation and surge tables, tabulated for reference | Engineering ToolBox is a good reference; its wave speeds are the numbers this page uses, and it governs as a reference. This page implements the tables as a calculator, so the pipe, the velocity and the closure become a surge, a peak and an arrestor size without a hand calculation. |
| Watts water hammer calculator (Watts Water Technologies) | Watts' sizing tool for its own arrestors: a pipe size in, an arrestor model out | Watts sizes its own arrestors properly, and it governs on its own products. This page is independent; it gives the PDI WH-201 size, not the brand, and it adds the wave speed, the instantaneous vs gradual comparison and the peak pressure that Watts' picker never shows. |
| Sioux Chief arrestor sizing charts | Sioux Chief's PDI WH-201 sizing charts: pipe size in, arrestor size out, for its own arrestors | Sioux Chief's charts are the PDI standard applied to its own range, and they govern on its own arrestors. This page gives the same PDI size and adds the surge that justifies it, the 194.7 psi peak that says the arrestor is required, not just which one to buy. |
| Zurn / Wilkins water hammer guidance | Zurn's guidance for arrestors and pressure-reducing valves on commercial systems | Zurn writes about the system around the hammer, the PRV, the arrestor placement, and it governs on commercial design. This page writes about the hammer itself, and the two are the pair: the surge this page works out is the number Zurn's guidance needs as an input. |
| Apollo / Conbraco arrestor selection | Apollo's arrestor selection by pipe size, for its own arrestors | Apollo picks an arrestor from a pipe size, and it governs on its own range. This page picks the PDI size from the pipe and adds the surge, the peak and the closure comparison, so the arrestor is sized from the hammer, not just from the pipe. |
| Water hammer calculator apps and spreadsheets (generic) | An app or a spreadsheet that does the Joukowsky arithmetic: a velocity and a wave speed in, a surge out | An app does the arithmetic and stops. This page does the arithmetic and explains it; the worked examples, the material table, the closure comparison, the arrestor table and the mistakes list, so the surge is checked, not just produced. |
| Crane Technical Paper No. 410, flow of fluids | The wave speed and the surge by pipe size, worked through in the handbook | Crane is the handbook; its wave speeds are the numbers this page uses, and it governs as a reference. This page is Crane as a calculator: the pipe and the valve in, the wave speed, the surge, the peak and the arrestor out, without working the handbook by hand. |
| PDH / continuing-education water hammer courses | Course notes on water hammer: the Joukowsky equation, the critical time, and worked examples for engineers | A course teaches the method and it governs as a method. This page is the method as a calculator, with the closure comparison and the arrestor sizing the course notes never automate. The surge, the peak and the arrestor in one place, free, with no enrolment. |
The honest summary: Watts' and Sioux Chief's sizing tools get the certified arrestor pick right; the PDI WH-201 size, the manufacturer's own test data, and PDI WH-201 governs, because it is the standard everything else implements. Nobody in the top results does the whole chain as a free calculator: the pipe to the wave speed, the wave speed to the instantaneous surge, the closure time to the gradual surge, the surge to the peak, and the peak to the arrestor size, with the instantaneous and gradual closures side by side so the value of slowing the valve is a number. This page wins by being the only one that answers the question the plumber actually asked. How big is the surge, will it break anything, and what do I fit, with the surge, the peak and the arrestor together.
Assumptions
- •Planning and sizing aid only: water hammer analysis is governed by the local plumbing code, the Uniform Plumbing Code and the International Plumbing Code both cap the pressure at the fixtures at 80 psi, and a licensed plumber sizes and installs any real arrestor. The Joukowsky equation gives the theoretical surge in a straight, uniform pipe; branches, fittings, trapped air and waterlogged arrestors change the real peak, and a surge that matters is measured with a pressure logger, not assumed from a calculation.
- •The wave speed formula uses the bulk modulus of water, 300,000 psi, and the pipe material modulus from the table on this page. The 4,660 ft/s figure is the wave speed in a perfectly rigid pipe; every real pipe flexes, so every real wave is slower, 3,799.6 ft/s in 2-inch copper, 1,081.9 ft/s in 3/4-inch PEX. A pipe buried in concrete or clamped tight flexes less and carries a faster wave than the same pipe hanging free, so the surge on a restrained pipe is a little higher than this page reports.
- •The velocity is the flow velocity in the pipe just before the valve closes, not the velocity at the fixture. A 2-inch line carrying 5 ft/s is moving about 49 GPM; a 3/4-inch line at 5 ft/s is moving about 7 GPM. The velocity comes from the flow and the bore; the water pipe size calculator on this site works it out, and the surge is directly proportional to it: halve the velocity and the surge halves.
- •The closure time is the time the valve takes to go from fully open to fully closed. A solenoid valve or a single-lever faucet closes in about 0.05 to 0.1 seconds; a quarter-turn ball valve slammed by hand closes in about 0.1 to 0.25 seconds; a multi-turn gate or globe valve closed by hand takes 1 to 3 seconds. The closure time is the single most powerful lever on the surge: a 1-second closure on the default line cuts the surge from 134.7 psi to 13.5 psi.
- •The gradual-closure reduction, ΔP = ΔP(instant) × tc ÷ Tc, applies only when the closure is slower than the critical time tc = 2L ÷ a. When the closure is faster than tc, the full Joukowsky surge applies and no credit is given for the closure time at all. A 0.1-second closure on a 300-foot line is effectively instantaneous, because the wave has not had time to travel to the far end and back before the valve is shut.
- •The static pressure is the pressure in the line with no flow. The pressure the gauge reads when every tap is shut. The maximum pressure is the static pressure plus the surge, and it is the number the pipe, the fittings and the fixtures actually see. A line at 60 psi static that surges 134.7 psi peaks at 194.7 psi, and a line at 80 psi static with the same surge peaks at 214.7 psi, which is why a high static pressure and a fast valve together are the worst combination.
- •The arrestor size follows PDI WH-201, the Plumbing and Drainage Institute standard for water hammer arrestors, by pipe diameter: A for 1/2 inch and smaller, B for 3/4 inch, C for 1 inch, D for 1 1/4 to 1 1/2 inch, E for 2 inch, F for over 2 inch. One arrestor goes at each quick-closing valve or fixture group, as close to the valve as possible and within 6 feet of it. An arrestor at the far end of the house does not protect a valve at the near end.
Sources✓ Verified
- Joukowsky, N. | On the Hydraulic Shock in Water Supply Pipes (1898). The original paper: the Joukowsky equation ΔP = ρ·a·Δv, the wave speed in a pipe, and the critical time 2L/a that decides whether a closure is instantaneous or gradual.
- Plumbing and Drainage Institute (PDI) WH-201 | Water Hammer Arresters. The standard this page sizes arrestors to: the A–F arrestor sizes by pipe diameter, the placement rules, and the test pressures an arrestor must survive.
- Uniform Plumbing Code (UPC) 2021, Section 608.2 | Excessive Water Pressure, and Section 609.10 | Water Hammer. The code basis: pressure at the fixtures capped at 80 psi, and a water hammer arrestor required where quick-closing valves can cause a surge.
- International Plumbing Code (IPC) 2021, Section 604.8 | Water Hammer, and Section 604.8 | Maximum Pressure. The IPC's water hammer provision: arrestors where quick-closing valves are used, and the same 80 psi cap on the pressure at the fixtures.
- Crane Technical Paper No. 410 | Flow of Fluids Through Valves, Fittings, and Pipe. The industry handbook for the wave speed in a pipe by material and wall thickness, and the Joukowsky surge worked through by pipe size.
- ASSE 1010 | Water Hammer Arresters. The performance standard for arrestors: the sealed piston and bladder types, the air charge, and why a waterlogged air chamber stops working.
Formula reviewed November 2026.
With the Joukowsky equation: first the wave speed in the pipe, a = 4,660 ÷ √(1 + (300,000 × D) ÷ (E × t)) ft/s, then the surge ΔP = ρ × a × Δv ÷ 144 psi. A 2-inch copper line 100 ft long at 5 ft/s carries a wave at 3,799.6 ft/s, and an instantaneous stop surges 255.9 psi. If the valve closes slower than the critical time, 2L ÷ a, which is 0.053 seconds on that line, the surge is reduced in proportion: a 0.1-second closure cuts it to 134.7 psi, and a 1-second closure cuts it to 13.5 psi. Add the static pressure for the peak: 60 + 134.7 = 194.7 psi on the default line. This page does the whole chain, wave speed, surge, closure comparison and peak, from the pipe and the valve.
Two formulas, and they answer two different questions. The wave speed, a = 4,660 ÷ √(1 + (300,000 × D) ÷ (E × t)), says how fast the pressure wave travels in the pipe, 3,799.6 ft/s in 2-inch copper, 1,081.9 ft/s in 3/4-inch PEX, 4,375.3 ft/s in 2-inch steel. The Joukowsky surge, ΔP = ρ × a × Δv ÷ 144, says how big the pressure spike is when the flow stops. 255.9 psi for a 5 ft/s stop in that copper line. Then the critical time, tc = 2L ÷ a, decides whether the closure counts as instantaneous: slower than tc and the surge is cut by tc ÷ Tc; faster and the full surge applies. The three together are the whole of water hammer.
By the pipe diameter, per PDI WH-201: size A for 1/2-inch pipe and smaller, B for 3/4-inch, C for 1-inch, D for 1 1/4 to 1 1/2-inch, E for 2-inch, and F for over 2-inch. A 2-inch copper line takes a size E arrestor, and a 3/4-inch PEX branch to a washing machine takes a size B. One arrestor goes at each quick-closing valve or fixture group, as close to the valve as possible and within 6 feet of it. The arrestor is needed whenever the peak pressure passes 80 psi; on the default line the peak is 194.7 psi, so the arrestor is not optional, and a sealed piston or bladder arrestor is the type to buy, because a plain air chamber waterlogs and stops working.
In order of cost: slow the valve down. A 1-second closure instead of a 0.1-second closure cuts the surge on the default line from 134.7 psi to 13.5 psi, and a slow-closing solenoid or a multi-turn valve is often the whole fix. Then slow the water down. The surge is directly proportional to velocity, so a bigger pipe at 3 ft/s instead of 5 ft/s cuts the surge from 134.7 psi to 80.9 psi. Then fit a water hammer arrestor at each quick-closing valve, sized per PDI WH-201. Then, if the static pressure is high, fit a pressure-reducing valve: the peak is the static pressure plus the surge, so a line at 80 psi static peaks 20 psi higher than the same line at 60 psi. And secure the pipe. A loose pipe bangs against the framing even at a modest surge, and clips and strapping every 6 feet keep it quiet.
Because the pipe wall flexes and the pressure wave travels slower. The wave speed in 3/4-inch PEX is 1,081.9 ft/s against 3,799.6 ft/s in 2-inch copper and 3,993.3 ft/s in 1-inch copper, because the PEX modulus is 120,000 psi against copper's 17,000,000 psi. The wall gives, so the wave is absorbed instead of reflected. At 5 ft/s the instantaneous surge in 3/4-inch PEX is 72.9 psi against 255.9 psi in 2-inch copper. But there is a catch: the critical time in PEX is longer; 0.185 seconds on a 100-foot run against 0.053 seconds in copper, so a 0.1-second closure that counts as gradual in copper counts as instantaneous in PEX, and the PEX line takes the full 72.9 psi. PEX hammers less, but it still hammers, and the peak on a 60 psi line is 132.9 psi, still above the 80 psi fixture limit.
It depends on the pipe and the velocity, and the range is wide: a 5 ft/s stop surges 255.9 psi in 2-inch copper, 294.7 psi in 2-inch steel, 94.4 psi in 2-inch PVC and 72.9 psi in 3/4-inch PEX. Add the static pressure for the peak: 60 psi static plus 255.9 psi of surge is 315.9 psi at an instantaneous stop, and 194.7 psi with a 0.1-second closure. At 8 ft/s the copper line surges 409.5 psi instantaneously and peaks at 469.5 psi, more than five times the 80 psi fixture limit and past the rating of most residential fittings. At 3 ft/s it surges 153.6 psi and peaks at 213.6 psi instantaneously, or 140.9 psi with the 0.1-second closure. The number that matters is the peak, and the peak is what breaks joints, splits arrestors and makes the pipe bang.
Converters to use with the Water Hammer Calculator
Switch units, compare bulk and bagged quantities, or check coverage, without leaving BuildCova.
Volume, Area & UnitsFlow Rate Converter1 GPM = 3.785 L/min, both directions.
Volume, Area & UnitsGallons to Cubic Feet Converter7.48 gallons per cubic foot: tanks and ponds.
Slope & MeasurementDrainage Slope Converter (Inches per Foot to Percent)1/4 in per foot = 2.08%, plus total drop.
Slope & MeasurementFeet & Inches to Decimal Feet Converter5 ft 6 in = 5.5 ft, both directions.
Slope & MeasurementDecimal Inches to Fraction ConverterTurn 0.6875 in into 11/16 in and back.More plumbing calculators
PlumbingTank Drain Time CalculatorA tank drain time calculator that tells you how long a tank takes to drain, to empty or to the level you need it at. Enter the tank shape and size, outlet diameter, discharge coefficient and start and end levels, and get the drain time by Torricelli's law, the volume, the flow at the start, and both drain times. A 4 ft tank with 5 ft of water empties in 8.9 minutes through a 2-inch outlet, and the last foot takes almost as long as the first four.
PlumbingWell Pressure Tank CalculatorA well pressure tank calculator that sizes a well pressure tank from the pump that fills it and the pressures it works between. Enter the pump flow, the cut-in and cut-out pressures and the drawdown you need, and get the tank volume required, the standard tank to buy, the drawdown it actually delivers, and the precharge pressure to set. A 12 GPM pump on a 40/60 switch needs a 52-gallon tank, which delivers only 13.4 usable gallons, and the rest is air.
PlumbingPEX Pipe CalculatorA PEX pipe calculator that sizes PEX pipe from the flow it has to carry, not from the size that was there before. Enter the PEX size and type, length, flow, water temperature and fittings, and get the pressure drop, velocity, water volume in the run, equivalent length of the fittings, and the pressure-drop chart for the size you picked. A 100-foot run of 3/4-inch PEX-A at 6 GPM loses 10.6 psi in total, and the fittings are nearly 40 percent of the loss, the part most sizing ignores.
PlumbingPVC Pipe CalculatorThis PVC pipe calculator turns nominal size, schedule, length and flow into inside diameter, water volume, pipe weight, flow velocity and friction loss, so you size from the bore, not the name. A 100 ft run of 2 in Schedule 40 PVC at 30 GPM holds 17.5 gallons, weighs 64.3 lb empty and 210.3 lb full, flows at 2.86 ft/s and loses 0.67 psi. A 2 in pipe is not 2 in inside, and Schedule 80 carries less water than Schedule 40 of the same name.
PlumbingWater Heater Size CalculatorA water heater size calculator that sizes a storage water heater from your busiest hour, not from a household-size chart. Enter how many showers, baths, dishwasher loads and laundry loads happen in the peak hour, and get the peak-hour demand in gallons, the First-Hour Rating (FHR) to look for on the yellow EnergyGuide label, and the smallest gas, electric and heat-pump tanks that deliver it. Plus the recovery rate of each, so you know how fast the tank reheats after the rush.
PlumbingTankless Water Heater Size CalculatorA tankless water heater size calculator that sizes a tankless unit from the fixtures that run at the same time and the temperature the water has to rise, not from the number of bathrooms. Enter how many showers, faucets, dishwasher loads and washer loads run together, pick your groundwater temperature, and get the required flow in gallons per minute, the temperature rise, the BTU per hour a gas unit must deliver or the kilowatts an electric unit needs, and the smallest standard unit that covers it.Was this calculator helpful?
Material requirements can vary based on product specifications and job conditions. Verify quantities with your supplier before ordering.