How fast water moves through a pipe decides its noise and wear. Enter the flow rate in gallons per minute and the pipe’s inside diameter, and this calculator returns the velocity in feet per second.
Pipe Line Velocity Calculator
Fluid velocity in a pipe from flow rate and pipe inside diameter — for sizing pipe to keep velocity in a safe range.
Starting values: the calculator opens with a flow of 100 GPM and an inside diameter of 4 in. It returns a velocity of about 2.55 ft/s.
The formula
Velocity = Flow ÷ Cross-sectional area
Velocity (ft/s) = (GPM × 0.002228) ÷ (π ÷ 4 × Diameter in feet²)
Where:
- GPM × 0.002228 converts gallons per minute to cubic feet per second
- Diameter in feet = the inside diameter in inches ÷ 12
A shortcut in inches
Because the constants combine, Velocity (ft/s) is about 0.4085 × GPM ÷ (Inside diameter in inches)². For 100 GPM in a 4 in pipe, 0.4085 × 100 ÷ 16 = 2.55 ft/s, matching the calculator.
Worked examples
Example 1: the default
The flow is 100 × 0.002228 = 0.2228 ft³/s. The area of a 4 in pipe is 0.7854 × (4 ÷ 12)² = 0.0873 ft². Velocity = 0.2228 ÷ 0.0873 = 2.55 ft/s.
Example 2: the same flow in smaller pipes
At 100 GPM, a 3 in inside diameter gives 4.54 ft/s and a 2 in inside diameter gives 10.21 ft/s. Halving the diameter from 4 in to 2 in multiplies the velocity by four, because area depends on the square of the diameter.
Example 3: a branch line
10 GPM in a 1 in pipe: 0.4085 × 10 ÷ 1 = 4.09 ft/s.
Example 4: working backwards to a diameter
To keep 100 GPM at 5 ft/s, the inside diameter is √(0.4085 × 100 ÷ 5) = 2.86 in. To keep it at 8 ft/s, it is √(0.4085 × 100 ÷ 8) = 2.26 in. So the pipe must be larger than 2.9 in to stay under 5 ft/s.
What velocity is acceptable?
The calculator’s note says typical design guidance keeps water velocity under about 5 to 8 ft/s. A copper-tube design guide gives the same range, with the lower limit applying to smaller tube sizes. It lists erosion-corrosion and noise as the reasons, and adds that aggressive water, silt and burrs at cut tube ends can make the effect worse by causing high local velocities and turbulence.
Water hammer
The calculator’s note mentions water hammer among the reasons to limit velocity. The copper guide treats it separately, and attributes it to flow that stops abruptly, such as a closing valve. Slower water carries less momentum, but the valve and the way it closes matter too.
Using the result
- Compare the velocity with the limit for your material and use. Check your plumbing code and the pipe maker’s ratings.
- If the result is too high, try the next pipe size up.
- Use the pipe’s actual inside diameter, which differs from its nominal size.
- Check that the flow rate is the real design flow and not a rough guess.
What the calculator does not do
- It gives the velocity only. It does not calculate friction loss, pressure drop or the right pipe size for a fixture count.
- It does not know the fluid. The conversion factors assume gallons of any liquid by volume, so the velocity does not change with the fluid, but the acceptable limit does.
- It assumes a full pipe flowing under pressure and not a partly full drain.
- It does not check the material’s own rating.
For gravity drainage, see the sewer line slope calculator, and for garden watering, the drip irrigation line calculator.
More velocity examples
These extra cases use the same formula and show how quickly velocity changes with flow and diameter.
Example 5: a larger flow in the same pipe
200 GPM in a 4 in pipe: 0.4085 × 200 ÷ 16 = 5.11 ft/s. Doubling the flow doubles the velocity, so the pipe that was comfortable at 100 GPM now sits at the lower edge of the 5 to 8 ft/s guidance.
Example 6: a small flow in a small pipe
20 GPM in a 3 in pipe is 0.4085 × 20 ÷ 9 = 0.91 ft/s, which is very slow. 30 GPM in a 2 in pipe is 0.4085 × 30 ÷ 4 = 3.06 ft/s, and the same 30 GPM in a 1.5 in pipe is 0.4085 × 30 ÷ 2.25 = 5.45 ft/s.
Example 7: a larger pipe
100 GPM in a 6 in pipe is 0.4085 × 100 ÷ 36 = 1.13 ft/s. Going from 4 in to 6 in cuts the velocity by more than half, because (4 ÷ 6)² is about 0.44.
How flow, area and velocity relate
For a given flow, velocity depends only on the cross-sectional area. Flow equals area times velocity, so if the flow is fixed, a smaller area forces a higher velocity. That is why a pipe that narrows, or a partly closed valve, creates a local high-velocity zone even when the main pipe is slow. The calculator gives the average velocity across the full inside diameter, so it will not show these local peaks.
Doing the calculation in reverse
If you know the flow and the velocity you want, rearrange the shortcut: Inside diameter = √(0.4085 × GPM ÷ Velocity). To check the answer, put the diameter back into the calculator and confirm the velocity matches your target.
Choosing the next size up
When the calculated diameter falls between two pipe sizes, choose the larger one, since that keeps velocity under your limit. Check the actual inside diameter of the pipe you will buy, because a schedule or wall thickness changes it. A thicker-walled pipe of the same nominal size has a smaller bore and a higher velocity.
Frequently asked questions
How do I calculate water velocity in a pipe?
Divide the flow in cubic feet per second by the pipe’s cross-sectional area in square feet. A quick form is 0.4085 times GPM divided by the inside diameter in inches squared.
What is a safe water velocity?
Design guidance commonly keeps it under about 5 to 8 ft/s, with the lower figure for smaller sizes, to limit erosion-corrosion and noise.
Should I enter the nominal pipe size?
No. Enter the inside diameter, which differs from the nominal size and from the outside diameter.
Why does a smaller pipe raise velocity so much?
Area depends on the square of the diameter, so halving the diameter cuts the area to a quarter and quadruples the velocity for the same flow.
