Pipe Volume & Hydrotest — Companion Article
Open the tool: https://pipingdesigners.com/tools-training/pipe-volume-weight-calculator/
What this tool does
Pipe Volume works out the inside volume of one or more pipe lengths. It gives the volume in cubic metres, litres, US gallons and cubic feet, the water mass, and the mass of any fluid density you enter.
A hydrotest option adds test-water volume and weight, fill time, and a preliminary test pressure.
When to use it
Use it to plan a flush, fill or hydrotest, to check the weight of a full line on its supports, or to estimate how much liquid sits in a line.
Inputs
- One or more lengths. Each uses a nominal size and schedule, or an inside diameter you type.
- Fluid density, optional.
- Hydrotest, optional: pump flow rate, design pressure and the stress ratio.
How it works
Volume = π / 4 × inside diameter² × length, added over every length.
The inside diameter comes from the pipe schedule tool when it is installed. A typed inside diameter works without it.
Water is taken as 1000 kg/m³. That is a conventional figure, not corrected for temperature.
The preliminary test pressure is 1.5 × design pressure × the stress ratio you type. Fill time is volume / pump flow.
Understanding the result
Totals are summed across lengths. The test pressure is labelled preliminary. It is a starting figure for discussion, not the test pressure for your test pack.
Engineering considerations
- Fittings, valves and equipment add volume. Add an allowance or measure them.
- The hydrotest pressure in the code has other limits too. This page does not check them.
- Check that supports and spring hangers can carry a water-filled line.
Example
NPS 2 Schedule 40, 10 m long, holds about 21.65 L (0.021649 m³). With design pressure 10 bar and stress ratio 1, the preliminary test pressure is 15 bar.
Standards/references (licensed vs interim)
Schedule sizes come from the interim pipe schedule data on the site. The 1.5 factor is the usual hydrotest basis in ASME B31.3. The page does not look up allowable stresses.
Limitations/disclaimer
- Straight pipe only.
- Water density fixed at 1000 kg/m³.
- Preliminary test pressure only.
- The result is preliminary and needs engineering review.
Use the tool
Calculate now: Pipe Volume & Hydrotest
Related tools
- Pipe by schedule for the outside diameter, wall and weight of a pipe. Read the pipe by schedule companion article.
- Wall thickness for straight pipe under internal pressure. Read the wall thickness companion article.

