Pipe Volume Calculator

By: Calculator Grid

Pipe Volume Calculator

Estimate the internal capacity of a straight, fully filled circular pipe and the mass of the liquid it contains.

Diameter 15 cm Length 6 m Density 997 kg/m³ Capacity 106.03 L

The startup example is valid and ready to export.

Pipe and liquid inputs

Use the clear inside diameter, not the outside diameter.

Enter the total straight-pipe length whose internal volume you need.

997 kg/m³ is a practical room-temperature water example.

Live results

Pipe volume
106.03 L
Volume in cubic meters
0.106029 m³
Volume in US gallons
28.01 gal
Liquid mass
105.71 kg
Cross-sectional area
0.017671 m²

Pipe capacity is 106.03 liters and liquid mass is 105.71 kilograms.

Capacity detail

Measure Metric value US customary value Interpretation
Inner diameter 0.150000 m 5.9055 in Clear bore used in the area calculation
Pipe length 6.000000 m 19.6850 ft Axial length used as cylinder height
Cross-sectional area 0.017671 m² 27.3907 in² Internal circular area
Internal volume 0.106029 m³ 28.0091 US gal Capacity when completely full
Liquid mass 105.711 kg 233.052 lb Volume multiplied by liquid density
The calculation treats the pipe as a straight circular cylinder with a uniform inner diameter. Fittings, valves, reducers, corrugations, internal liners, slope, trapped air, and partial filling are not included.

How to use this pipe volume calculator

What this calculator does

This calculator estimates the internal capacity of a straight circular pipe and the mass of a liquid occupying that capacity. It models the pipe bore as a right circular cylinder, using the inner diameter for the circular base and the pipe length for the cylinder height. The result is useful for capacity planning, flushing estimates, fill quantities, hydrostatic-test preparation, irrigation layouts, heating loops, and rough material or transport calculations. It does not determine flow rate, pressure loss, pipe strength, pump size, fill time, or how much liquid is present in a partly filled or sloped pipe.

When to use it

Use it when you need to estimate how much water a new irrigation line will hold, how much fluid must be drained from a maintenance section, the approximate charge volume of a closed-loop system, or the liquid mass that a support structure may need to carry. For a fully filled straight pipe, the calculation is a direct cylinder-volume identity. For partially filled horizontal pipes, a circular-segment model is required instead.

How to calculate

  1. The calculator opens with a ready-to-use demonstration: a 15 cm inner diameter, 6 m length, and 997 kg/m³ liquid density. Its results and example Excel workbook are available immediately.
  2. Replace Inner diameter with the clear internal bore and choose mm, cm, m, in, or ft. Changing this unit converts the current value so the physical diameter remains the same.
  3. Enter Pipe length and select its unit. Use the total centerline length only when that is a reasonable approximation for your layout.
  4. Enter Liquid density in kg/m³ or lb/ft³. The unit switch converts the entered density rather than simply relabeling it.
  5. Read Pipe volume, Volume in cubic meters, Volume in US gallons, Liquid mass, and Cross-sectional area. The detail table shows the same canonical values in both metric and US customary units.
  6. Select Download Excel to create a fresh workbook from the current validated inputs. Reset clears the demonstration data, results, errors, and export state; Excel remains unavailable until a complete valid set is entered again.

Input guide

Inner diameter is required and must be a positive decimal number. It represents the usable opening inside the pipe, not nominal pipe size and not outside diameter. A realistic example is 15 cm. Doubling the inner diameter quadruples cross-sectional area and volume because diameter is squared. A common mistake is substituting outside diameter or a nominal trade size whose actual bore differs by schedule or wall thickness.

Pipe length is required and must be positive. A realistic example is 6 m. Volume changes in direct proportion to length, so doubling length doubles capacity. Avoid combining incompatible values mentally; select the unit shown next to the field and let the calculator convert it.

Liquid density is required and must be positive. A realistic water example is 997 kg/m³. Density does not change pipe volume, but it changes Liquid mass proportionally. Do not enter specific gravity without converting it to density, and do not assume all fluids have the density of water. NIST explains that the SI unit of volume is the cubic meter and that the liter is a special name for a cubic decimeter in its Guide to SI volume units.

Output guide

Pipe volume is the primary capacity estimate, displayed in liters for quick practical reading. Volume in cubic meters is the same exact model quantity in SI base form, while Volume in US gallons is a unit conversion. Cross-sectional area is the internal circular area driving the capacity calculation. Liquid mass equals volume multiplied by density; a higher density raises mass without changing volume. Zero output is not shown for missing or invalid required inputs because an empty or malformed field is not interpreted as a physical zero.

Worked example

For the startup example, the inner diameter is 15 cm, or 0.15 m. The radius is 0.075 m. The internal area is π × 0.075² = 0.017671 m². Multiplying by the 6 m length gives 0.106029 m³, which is 106.03 L or about 28.01 US gal. Multiplying 0.106029 m³ by 997 kg/m³ gives 105.71 kg of liquid. These values match the first-open result cards, detail table, live summary, and Excel checkpoints.

Formula, assumptions, and practical interpretation

Volume = π × (inner diameter ÷ 2)² × pipe length
Liquid mass = volume × liquid density

The cylinder formula is appropriate when the bore is circular, the diameter is uniform, and the pipe is considered completely full. The same geometry is described by specialist engineering references for water content in pipes. For unit work, use exact conversion factors and retain adequate precision until final presentation; NIST provides both an overview of US-to-metric conversions and broader metric conversion publications.

The result can be lower than real system fill volume when fittings, tanks, manifolds, flexible hoses, or equipment cavities are omitted. It can be higher than the liquid actually present when the line contains trapped air, is not completely full, or is sloped and partly filled. For installed systems, verify actual internal dimensions from manufacturer data and include every connected component that contributes meaningful capacity.

Because nominal pipe size often differs from actual inside diameter, schedule and wall thickness matter. A small difference in bore can create a much larger capacity difference because the diameter is squared. For example, a 10% increase in inner diameter produces about a 21% increase in cross-sectional area and volume at the same length. This sensitivity makes direct bore measurement or verified manufacturer dimensions preferable to assumptions based only on the nominal label.