How to use this calculator
- Enter flow and pipe ID. Use the design flow rate and actual inside diameter so the initial velocity is realistic.
- Enter pipe length and wall. Use the run length to the main reflection point plus the pipe wall thickness and material modulus.
- Set the event time. Enter the valve closure, pump trip or transient time and the percent velocity change.
- Compare with rating. Check total pressure, critical closure time and margin against the entered pipe or equipment rating.
How it works
Flow and pipe inside diameter set the initial pipe velocity:
v = Q / A
The elastic-pipe wave-speed screen is:
a = sqrt((K / rho) / (1 + K x D / (E x t)))
Sudden-flow-change surge pressure follows Joukowsky:
dP = rho x a x dV
Critical closure time is the round-trip wave travel time:
tcrit = 2 x L / a
If the entered closure time is slower than tcrit, the calculator applies a simple tcrit / closure time reduction to the instantaneous surge pressure.
Worked example
Verified against the live calculator
For 50 L/min through a 25 mm ID, 30 m steel-like line
with 2.5 mm wall thickness, the estimated wave speed is about
1,409 m/s and critical closure time is about 0.043 s.
A 0.10 s full-stop event screens at roughly 1.02 MPa
surge, so a 0.40 MPa static line reaches about
1.42 MPa total pressure.
Frequently asked questions
How do you calculate water hammer pressure?
A first-pass water hammer screen uses the Joukowsky equation: surge pressure equals fluid density times wave speed times velocity change. This page also estimates wave speed from fluid bulk modulus and pipe-wall elasticity.
What is critical closure time?
Critical closure time is about 2L/a, where L is the pipe length to the reflection point and a is wave speed. A valve or pump trip faster than that behaves like a sudden closure in this simplified screen.
Why does pipe wall thickness matter?
A flexible pipe wall lowers the pressure-wave speed compared with an ideal rigid pipe. Lower wave speed usually lowers the instantaneous surge, but plastic pipe and hose need manufacturer data because modulus and restraint vary.
Is this a full surge analysis?
No. It is a screening calculator for a single line. Real systems can need method-of-characteristics transient analysis, pump curves, valve curves, branch networks, air pockets, relief devices, supports and manufacturer pressure ratings.
Method & assumptions
- Uses the Joukowsky surge relation and a thin-wall elastic-pipe wave-speed approximation.
- Assumes one straight line, one representative reflection length and a liquid-filled pipe.
- Closure slower than
2L/ais handled with a simple timing reduction, not a full transient simulation. - Does not model pump curves, branch networks, valve closure curves, entrained air, cavitation, relief devices, accumulators, surge tanks, restraints, supports or manufacturer test ratings.
- Use with pipe pressure drop, pipe sizing by velocity, pump NPSH and steel pipe schedule for adjacent checks.