Pipe Volume Calculator
Free online calculator · No signup required
Find how much water a pipe holds from its inside diameter and length. Add pipe sections for a total system fill volume, or enter outlet flow to estimate displacement time.
Use the actual inside diameter, not the nominal pipe size. Results update as you type.
Total pipe volume
9.817 litres
- Litres
- 9.817
- US gallons
- 2.594
- Imperial gallons
- 2.16
- Cubic metres
- 0.009817
- Total pipe length
- 20 m
- Displacement time
- 98.2 s
For time, enter only pipe sections on one route to the outlet. This is volume ÷ flow, not a prediction of hot-water arrival temperature.
Free results and downloads. No email required.
See MEPFlow in action
Take the next step: automatic water pipe sizing.
Connect fixtures, hot and cold piping on your floor plan. MEPFlow calculates demand and pipe sizes using the selected regional method. Watch the domestic-water workflow below.
7 days free. Then $49 USD/month. Card required. Cancel anytime. Calculator inputs do not transfer automatically.
How to use the pipe volume calculator
- Choose metric or US customary units.
- Enter actual inside diameter and pipe length. Add a row for each different size; use quantity for identical lengths.
- Read the total in litres, US gallons, Imperial gallons and cubic metres. Outlet flow is optional.
Pipe volume formula
Volume = π × inside diameter² × length ÷ 4
Litres = π × D(mm)² × L(m) ÷ 4,000
US gallons = 0.0407999 × D(in)² × L(ft)
Displacement time (s) = volume (L) ÷ flow (L/s)
D is actual inside diameter. Q is volumetric flow. Keep units consistent when applying the general equation.
How much water is in 20 metres of 25 mm pipe?
For a measured inside diameter of 25 mm and a length of 20 m: π × 25² × 20 ÷ 4,000 = 9.817 L. At 6 L/min, displacing that volume takes about 98.2 seconds.
9.817 litres · 2.594 US gallons · 98.2 seconds at 6 L/min
Try the example aboveWater volume per metre of pipe
These are actual inside diameters, not nominal pipe sizes. Multiply litres per metre by your pipe length.
| Inside diameter | Litres per metre | Litres in 10 m |
|---|---|---|
| 10 mm | 0.079 | 0.785 |
| 15 mm | 0.177 | 1.767 |
| 20 mm | 0.314 | 3.142 |
| 25 mm | 0.491 | 4.909 |
| 32 mm | 0.804 | 8.042 |
| 40 mm | 1.257 | 12.566 |
| 50 mm | 1.963 | 19.635 |
| 100 mm | 7.854 | 78.540 |
Inside diameter makes the difference
A nominal pipe size is a product designation. It is not necessarily the opening that holds the water. Wall thickness changes with material, pipe schedule and tube type, so two nominally identical sizes can hold different volumes.
Use the manufacturer's bore, or subtract twice the wall thickness from the outside diameter. A 10% increase in inside diameter increases volume by 21% at the same length.
Calculating water volume in a pipe network
Split the system into groups with the same inside diameter. Calculate each group's volume, then add the results. For example, 20 m at 25 mm ID plus 10 m at 15 mm ID contains 11.585 L.
For a heating or chilled-water fill estimate, include both supply and return pipes. Add the published water content of boilers, coils, heat exchangers and tanks separately. This pipeline volume calculator covers the pipe lengths you enter; it does not add equipment volume automatically.
Pipe volume, flow rate and hot-water wait time
Volume is the water held inside the pipe. Flow rate is the water passing through it each second or minute. Dividing volume by outlet flow gives the time needed to displace that volume.
For an outlet check, include only the route between the hot-water source or recirculation connection and that outlet. Adding unrelated branches would overstate the displaced volume. Pipe cooling, heat loss and mixing also affect when usable hot water arrives, so the displayed time is a hydraulic estimate.
Frequently asked questions
How do I calculate volume of water in pipes?
Multiply internal cross-sectional area by length: V = πD²L/4. Use consistent units, then convert cubic metres to litres by multiplying by 1,000.
How many gallons are in a 100 ft pipe?
It depends on the inside diameter. A 100 ft pipe with exactly 2 in ID holds 16.320 US gallons. At 2.067 in ID it holds about 17.432 US gallons. Enter the actual bore rather than assuming a nominal 2 in pipe has a 2 in bore.
Does pipe orientation change the volume?
No. A completely full pipe holds the same volume whether horizontal or vertical. This calculator does not model a partially full drain.
Can I use this as a pipeline volume calculator for glycol?
Yes. Internal geometric volume is independent of the liquid. To estimate concentrate or premix quantity, use the product's concentration convention and add equipment volume and filling allowances separately.
Are US and Imperial gallons the same?
No. One US gallon is 3.785411784 litres; one Imperial gallon is 4.54609 litres. Both results are labelled separately.