Pipe Volume Calculator
Calculate exactly how much water or fluid fits inside any pipe. Enter the inner diameter and pipe length, choose your units, and instantly get the volume in litres, gallons, cubic metres, and more.
Pipe Volume Calculator
Calculate the internal volume of a cylindrical pipe
Enter the inner diameter (bore) of the pipe, not the outer diameter
Enter the total length of the pipe run
Your Results
Pipe internal volume calculation
Enter the pipe’s inner diameter and length, then click Calculate Volume to find out how much fluid it holds.
Getting the Most From the Pipe volume calculator Full Walkthrough
What this calculator does
People look up pipe volume for many different reasons, and the Pipe volume calculator was designed to suit all of them. It accepts straightforward inputs, responds instantly, and presents the answer in plain language rather than confusing jargon.
Who it helps
This tool is useful for engineers and technicians, design students and machinists. Each group approaches pipe volume with different priorities, yet the same careful inputs lead to a result everyone can rely on. Think about moments such as sizing a component, checking tolerances and planning a production run. Each one becomes simpler once pipe volume has been worked out clearly.
Getting accurate results
Start with the basics: write down what you already know, and try to follow the relevant standards. It also pays to keep unit systems consistent throughout. With clean inputs in place, the Pipe volume calculator does the heavy lifting and you can concentrate on interpreting the answer.
Mistakes to avoid
When results seem off, the cause is frequently ignoring tolerances and safety factors or mixing unit systems. Re-reading your inputs line by line is the quickest way to find and fix either one.
Reading your result
After you calculate, look at the number in context. Volume and pipe are the kind of details that can shift the picture, so keep a note of the inputs you used and revisit them if anything changes. Keeping a short note of each result makes it easy to compare options and explain your reasoning to others. If you are unsure about a value, try a low and a high estimate and see how far apart the answers are. Clear inputs lead to clear answers, so take a few extra seconds to read each label on the calculator before typing. Because the calculation runs instantly in your browser, you can test as many scenarios as you like without any limit.
A note on accuracy
Remember that the Pipe volume calculator works with the information you supply. For anything critical, double-check the details independently or ask someone qualified to review your figures.
Pipe Volume Reference Table
Volume of water per metre of pipe length for common copper and plastic pipe sizes used in UK plumbing and heating systems.
| Pipe Size (OD) | Inner Diameter | Litres / metre | UK Gal / metre | Typical Use |
|---|---|---|---|---|
| 10 mm copper | 8 mm | 0.050 L/m | 0.011 gal/m | Microbore heating |
| 15 mm copper | 13.6 mm | 0.145 L/m | 0.032 gal/m | Standard domestic supply |
| 22 mm copper | 20.2 mm | 0.320 L/m | 0.070 gal/m | Heating flow & return |
| 28 mm copper | 26.2 mm | 0.539 L/m | 0.119 gal/m | Main heating circuits |
| 35 mm copper | 33.0 mm | 0.855 L/m | 0.188 gal/m | Commercial heating |
| 42 mm copper | 40.0 mm | 1.257 L/m | 0.276 gal/m | Commercial heating mains |
| 54 mm copper | 52.0 mm | 2.124 L/m | 0.467 gal/m | Plant room pipework |
| ½ inch BSP | 15.0 mm | 0.177 L/m | 0.039 gal/m | Tap connections |
| ¾ inch BSP | 20.0 mm | 0.314 L/m | 0.069 gal/m | Garden taps, boiler feeds |
| 1 inch BSP | 25.0 mm | 0.491 L/m | 0.108 gal/m | Cold water mains |
| 2 inch BSP | 50.0 mm | 1.963 L/m | 0.432 gal/m | Commercial cold water |
| 4 inch pipe | 100.0 mm | 7.854 L/m | 1.727 gal/m | Foul drainage, large supply |
Worked Example 1: 15 cm Diameter Pipe, 6 m Long
A pipe 15 cm in diameter and 6 m long holds a volume of π × (0.075 m)² × 6 m = 0.106 m³, which is 106.0 litres. Filled with water at 997 kg/m³, that water weighs 0.106 × 997 = 105.71 kg. The working is the same for any pipe: halve the diameter to get the radius, square it, multiply by π, then multiply by the length.
Worked Example 2: 2 Inch Pipe, 50 Feet Long
A 2-inch pipe is 0.0508 m across, so its radius is 0.0254 m, and 50 feet is 15.24 m. Volume = π × (0.0254 m)² × 15.24 m = 0.0309 m³, which is 30.9 litres or 8.16 US gallons. Filled with water, that weighs 0.0309 × 997 = 30.8 kg. In imperial gallons the same volume is 6.79 gallons (1 US gallon = 3.785 litres; 1 imperial gallon = 4.546 litres).
Worked Example 3: 4 Inch Pipe, 100 Feet Long
A 4-inch pipe is 0.1016 m across with a radius of 0.0508 m, and 100 feet is 30.48 m. Volume = π × (0.0508 m)² × 30.48 m = 0.2471 m³, which is 247.1 litres or 65.28 US gallons. Filled with water, that weighs 0.2471 × 997 = 246.4 kg — about a quarter of a tonne of water in a single 100-foot run. Notice how the volume grows with the square of the diameter: doubling the pipe from 2 inches to 4 inches quadruples the volume per foot.
Volume per Foot Chart: 1 Inch to 8 Inches
How much water a pipe holds per foot of length, in US gallons per foot and litres per metre. Computed from the pipe bore: gallons per foot = π × (diameter in feet ÷ 2)² × 7.48052.
| Pipe diameter | US gallons per foot | Litres per metre |
|---|---|---|
| 1 in | 0.0408 gal/ft | 0.51 L/m |
| 2 in | 0.1632 gal/ft | 2.03 L/m |
| 3 in | 0.3672 gal/ft | 4.56 L/m |
| 4 in | 0.6528 gal/ft | 8.11 L/m |
| 5 in | 1.0200 gal/ft | 12.67 L/m |
| 6 in | 1.4688 gal/ft | 18.24 L/m |
| 7 in | 1.9992 gal/ft | 24.83 L/m |
| 8 in | 2.6112 gal/ft | 32.43 L/m |
Metric Volume per Metre for Common UK Pipe Sizes
Pipe volume depends on the internal diameter (the bore), not the outside diameter stamped on the pipe. A 15 mm copper tube has a bore of only 13.6 mm, so it holds less than its outside size suggests. The table below uses the standard bores from BS EN 1057 for copper and the usual bore for plastic soil pipe.
| Pipe | Outside diameter | Bore (internal) | Litres per metre | Water weight per metre |
|---|---|---|---|---|
| Copper supply | 15 mm | 13.6 mm | 0.145 L/m | 0.145 kg/m |
| Copper supply | 22 mm | 20.2 mm | 0.320 L/m | 0.319 kg/m |
| Copper supply | 28 mm | 26.2 mm | 0.539 L/m | 0.537 kg/m |
| PVC soil pipe | 110 mm | about 104 mm | 8.49 L/m | 8.47 kg/m |
A 10-metre run of 22 mm copper holds about 3.2 litres of water; the same length of 110 mm soil pipe holds about 85 litres. That is why draining down a heating system takes a bucket, while a soil stack holds a bathful.
Liquid Density and Mass: Water Is Not the Only Liquid
The calculator works out volume; to get the weight, multiply the volume by the liquid's density. Water is 997 kg/m³ at ordinary room temperature (1,000 kg/m³ at 4°C, its densest). Other common liquids are lighter or heavier, so the same pipe holds a different weight:
| Liquid | Density (kg/m³) | Weight of 100 litres |
|---|---|---|
| Water | 997 | 99.7 kg |
| Seawater | 1,025 | 102.5 kg |
| Petrol | 720–775 | 72–77.5 kg |
| Diesel | 820–860 | 82–86 kg |
| Heating oil (kerosene) | about 800 | about 80 kg |
| Vegetable oil | about 920 | about 92 kg |
So the 15 cm × 6 m pipe from the first example, which holds 105.71 kg of water, would hold only about 78 kg of petrol and about 108 kg of seawater. If you are sizing supports or a tank, always work from the heaviest liquid the pipe will carry.
Pipe Materials: PVC, Steel, Copper and HDPE
PVC (uPVC): the standard for drainage and waste — soil pipes at 110 mm, waste pipes at 32 mm and 40 mm, underground drainage at 110 mm and 160 mm. Light, cheap and corrosion-proof, but not for hot water. Copper: the traditional choice for hot and cold supply and heating — 15 mm and 22 mm in homes, 28 mm in larger systems — durable, UV-stable and naturally antimicrobial, but dearer than plastic. Steel: medium-grade steel to BS EN 10255 for gas and commercial pipework, in sizes from 15 mm up; heavy and strong, but it corrodes without protection. HDPE / MDPE: blue MDPE pipe (20 mm, 25 mm, 32 mm) brings mains water underground into the house; twinwall HDPE in 150–600 mm sizes carries surface water and stormwater. Plastic pipe is measured by outside diameter; copper is measured by outside diameter too, but its bore is what matters for volume.
Common UK Pipe Dimensions
The sizes you will actually meet on a UK job, and what each is used for:
| Pipe type | Common sizes | Used for |
|---|---|---|
| Copper tube | 15, 22, 28 mm (35, 42, 54 mm for larger systems) | Hot and cold supply, heating, gas |
| MDPE (blue) | 20, 25, 32 mm | Underground mains water supply into the house |
| Waste pipe (PVC) | 32, 40, 50 mm | Basin (32 mm), bath and shower (40 mm) |
| Soil pipe (PVC) | 110 mm | Toilet and stack discharge |
| Underground drainage (uPVC) | 110, 160 mm | Domestic (110 mm) and commercial (160 mm) drains |
| Steel (BS EN 10255) | 15, 20, 25, 32, 40, 50 mm | Gas, commercial heating and water |
How to Calculate the Volume of a Pipe
Pipe volume = π × radius² × length. Use the internal diameter, because that is the space the liquid fills. Halve the diameter to get the radius, and keep all measurements in metres to get the answer in m³.
Converting to litres
1 m³ = 1,000 litres. A 10 m run of pipe with a 20 mm internal diameter holds π × 0.01² × 10 = 0.00314 m³, which is about 3.1 litres.
Why it matters
Pipe volume tells you how much water, antifreeze or inhibitor a heating system needs, or how long it takes to purge a line.
Pipe Volume FAQ
Everything you need to know about calculating the volume of water or fluid in a pipe.
The volume of a pipe is calculated using the cylinder formula: Volume = π × r² × L, where r is the inner radius (half the inner diameter) and L is the pipe length. In metric: Volume (m³) = π × (d ÷ 2)² × L, with d and L in metres. Multiply by 1,000 to convert m³ to litres. This calculator does all that instantly.
Always use the inner diameter (also called the bore or ID) when calculating fluid volume. The outer diameter (OD) includes the pipe wall thickness. For example, a 22 mm copper pipe has an OD of 22 mm but an inner diameter of approximately 20.2 mm. Using the OD would overestimate the fluid volume. Check the manufacturer’s data sheet or a pipe schedule table for the exact inner diameter of your pipe.
Volume (litres) = π × (diameter in metres ÷ 2)² × length in metres × 1,000. Example: a 50 mm inner diameter pipe, 10 m long: Volume = π × (0.05 ÷ 2)² × 10 × 1,000 = π × 0.000625 × 10,000 = 19.635 litres. Alternatively: Volume (litres/metre) = π × (diameter in mm)² ÷ 4,000,000, then multiply by length in metres.
A standard 22 mm copper pipe has an inner diameter of approximately 20.2 mm. Using the formula: Volume = π × (0.0202 ÷ 2)² × 1 × 1,000 ≈ 0.320 litres per metre. So a 10 m run of 22 mm pipe holds around 3.20 litres. This is a useful figure for calculating inhibitor dosing in central heating systems.
Knowing total system water volume is essential for correctly dosing corrosion inhibitors and antifreeze, sizing the expansion vessel, selecting the right boiler output, calculating fill times, and determining the weight of pipework when full. Most inhibitor manufacturers specify a dose rate in ml per litre of system volume, so an accurate pipe volume calculation directly affects how much inhibitor you add.
Nominal pipe size (NPS or DN) is a dimensionless reference number that does not directly equal any physical dimension. The actual inner diameter depends on the pipe material, wall thickness, and schedule. For example, a 2-inch Schedule 40 steel pipe has an inner diameter of approximately 52.5 mm, not 50.8 mm (2 inches). Always check the manufacturer’s data sheet or consult a pipe schedule chart before calculating volume.
To convert litres to UK (imperial) gallons, divide by 4.54609. To convert litres to US gallons, divide by 3.78541. For example, 20 litres = 4.399 UK gallons = 5.283 US gallons. This calculator displays both automatically in the results panel.
This calculator works for any fluid (water, oil, gas, air) inside a circular-section pipe — the geometry is identical regardless of what is flowing through it. However, it is only suitable for circular cross-sections. For rectangular or square ducts, the formula is Width × Height × Length. For oval or elliptical pipes, use π × semi-major axis × semi-minor axis × Length instead.
Work out π × r² × length in metres to get m³, then multiply by 1,000.
Use the inside (bore) diameter. The outside diameter includes the pipe wall.
