Skip to content
Free Pipe Calculator

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.

Pipe 1
9.817 L

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

  1. Choose metric or US customary units.
  2. Enter actual inside diameter and pipe length. Add a row for each different size; use quantity for identical lengths.
  3. 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 above

Water volume per metre of pipe

These are actual inside diameters, not nominal pipe sizes. Multiply litres per metre by your pipe length.

Volume of a full circular pipe per metre
Inside diameterLitres per metreLitres in 10 m
10 mm0.0790.785
15 mm0.1771.767
20 mm0.3143.142
25 mm0.4914.909
32 mm0.8048.042
40 mm1.25712.566
50 mm1.96319.635
100 mm7.85478.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.

Continue the calculation

Plumbing
Calculate water-supply fixture units and a preliminary pipe size using NPC 2020. Includes private/public fixtures, direct-flush valves and worked examples.
Plumbing
Add drainage fixtures, calculate NPC 2020 fixture units, and size sanitary branches, stacks, building drains and sewers by hydraulic load and slope.
Plumbing
Calculate pipe pressure loss, fitting losses, velocity and head loss with Darcy–Weisbach in metric or US units.
Plumbing
Free domestic hot water recirculation calculator. Convert piping heat loss and allowable temperature drop into required recirculation GPM and L/s.
Plumbing
Calculate water velocity from flow and inside diameter. Use L/s, L/min, m³/h, US GPM or Imperial GPM and check a target velocity.
Plumbing
Free water heater recovery calculator. Convert gallons per hour and water temperature rise into required input BTU/hr or calculate recovery GPH from heater capacity and efficiency.