LambdaCalculator Construction calculators
My calculations
Settings

Pipework

Pipe volume calculator

Add pipe segments using actual internal diameters and lengths. Find total capacity in litres, cubic metres, US liquid gallons and Imperial gallons.

Pipe segments and internal diameters

Example values are editable assumptions. Use a decimal point or comma without thousands separators.

Use the actual internal bore. Nominal DN/NPS and outside diameter are not internal diameters.

Segment 1
mm
m

Capacity assumes each listed segment is a full, unobstructed circular cylinder. Include other components only through their separately known internal volumes.

Calculated result

Your result will appear here

Enter the measurements, then calculate.

Calculated in this browser.

Measure the internal diameter

Enter the actual internal diameter and length for each straight circular pipe segment. Add segments when diameters or lengths differ. Nominal DN/NPS and outside diameter do not identify the internal bore by themselves; obtain it from the exact pipe specification or a reliable measurement.

The result is the full internal capacity of the listed cylinders. It does not calculate flow, pressure loss, expansion-vessel size, treatment dosage or the volume of fittings, valves, radiators or equipment.

Cylinder formula and volume units

For internal diameter d and length L in metres, segment volume is V = π × d² × L / 4 in cubic metres. Total volume is the sum of segment volumes. One cubic metre equals 1,000 litres.

Length conversions use exactly 1 inch = 0.0254 m and 1 foot = 0.3048 m. One US liquid gallon is 231 cubic inches = 3.785411784 L; one Imperial gallon is 4.54609 L. The calculator labels both gallon types separately. A US dry gallon is a different unit and is not used.

Example: two pipe sizes over 10 m

  • 20 mm internal diameter, 10 m long: π × 0.02² × 10 / 4 = 0.003141592654 m³ ≈ 3.14159 L.
  • 40 mm internal diameter, 10 m long: ≈ 12.56637 L.
  • Combined capacity: ≈ 15.70796 L.

Doubling the internal diameter quadruples capacity at the same length. Doubling the length doubles capacity. These examples describe geometry, not a nominal pipe product.

Why can the real system hold more or less?

Wall thickness affects the bore, and fittings or equipment add their own volumes. Deposits, liners, obstructions and non-circular sections can change the usable capacity. Include only segments represented by the stated circular-cylinder model; account for other components separately.

Sources and scope

The cylinder model and examples are original. These references establish units, not a pipe sizing standard or local installation rule.