Before you fill a heating loop with antifreeze, flush a new water main, size a drain-down bucket or order a chemical treatment, you need one number: how much liquid is inside the pipe. This pipe volume calculator gives it in litres, cubic metres, US or UK gallons and cubic feet, along with the weight of the liquid the supports will carry.
Work with a single pipe, entering either the inner diameter or the outer diameter and wall thickness printed in the manufacturer’s data, or switch to several segments to total a whole network made of different sizes — the usual situation for a central-heating circuit or an irrigation line.
For a single pipe the calculator also shows the volume per metre and per foot, a handy figure to keep on site: multiply it by any length and you have the contents without redoing the geometry.
How to use this calculator
- Choose One pipe or Several segments.
- For one pipe, enter the inner diameter, or switch to Outer + wall and enter the outside diameter and wall thickness from the pipe’s data sheet.
- Enter the length of the run.
- For several segments, choose millimetres/metres or inches/feet, then add one row per pipe size with its inner diameter and total length.
- Pick the liquid (or enter a density) to get the weight, then read the volume in the unit you prefer.
The formula
A pipe is a cylinder, so its contents are the bore’s cross-section times the length:
where is the inner diameter and the length. When you know the outer diameter and the wall thickness , the bore is . A network is the sum over its segments: .
The weight of the liquid is , with the density (about 998 kg/m³ for water at 20 °C, so roughly 1 kg per litre). Unit conversions: 1 m³ = 1,000 L and 1 US gallon = 3.785411784 L exactly.
Worked example
Metric: a PE water pipe of 63 mm outer diameter and 5.8 mm wall, 25 m long. The bore is mm. The pipe holds 2.075 L per metre, so the full run contains 51.87 L, about 51.8 kg of water.
Imperial: 80 ft of 2-inch Schedule 40 steel pipe, whose inside diameter is 2.067 in. It holds 0.1743 US gal per foot, so 13.95 gallons in total, roughly 116 lb of water.
Network: 30 m of 26 mm bore, 45 m of 20 mm and 60 m of 13 mm (inner diameters of common heating pipes) add up to 38.03 L.
Inner, outer and nominal diameter
Pipes are sold by a nominal size that is rarely the bore. Plastic pipe (PE, PVC, PEX) is usually named by its outer diameter — a "63 mm" PE pipe has a bore near 51 mm — while US steel pipe follows NPS sizes where a "2-inch" pipe is 2.375 in outside and 2.067 in inside for Schedule 40. Copper is again different. Always take the inside diameter from the manufacturer’s table, or compute it as outer diameter minus twice the wall. Using the nominal size can overstate the volume by 30 % or more on small pipes, because the volume grows with the square of the diameter.
Typical uses
- Heating systems: add the pipe volume to the boiler, radiators and buffer tank to size an expansion vessel or dose inhibitor and antifreeze.
- Flushing and disinfection: a new main is usually flushed with several pipe volumes; knowing the volume tells you how long to run the tap at a given flow rate.
- Drain-down: estimate the bucket or tank needed before opening a drain valve, then compare with a tank volume.
- Supports and loads: a long, large pipe full of water can weigh far more than the empty pipe.
Frequently asked questions
How many litres per metre does a pipe hold?
Litres per metre equal 1,000 × π × d² / 4 with d in metres, or roughly d² (in mm) × 0.000785. A 20 mm bore holds about 0.314 L/m, a 50 mm bore about 1.96 L/m and a 100 mm bore about 7.85 L/m.
Should I use the inner or outer diameter?
The inner diameter, because only the bore holds liquid. If you only know the outer diameter, enter it with the wall thickness and the calculator subtracts twice the wall.
How do I calculate the volume of a whole heating circuit?
Choose Several segments and add one row per pipe size with its total length. Then add the content of radiators, boiler and any tank from their data sheets.
How much does the water in a pipe weigh?
About 1 kg per litre: water is 998 kg/m³ at 20 °C. The calculator multiplies the volume by the density of the liquid you choose, so seawater or glycol mixtures come out slightly heavier and oil lighter.
Does temperature change the pipe volume?
Slightly. The pipe expands a little and the water’s density falls as it warms (about 958 kg/m³ at 100 °C). For everyday estimates the effect is negligible; for expansion vessels it is exactly what you need to account for.
Sources
- Wolfram MathWorld — Cylinder (volume of a right circular cylinder)
- USGS Water Science School — Water density
- NIST Handbook 44, Appendix C — General tables of units of measurement
Last updated: