Pipe Volume Calculator

Calculate inner volume, wall volume, and liquid mass of a pipe by diameter and length. Free pipe volume calculator for plumbing, HVAC, and construction.

Calculate pipe volume and liquid capacity

About This Calculator

The Pipe Volume Calculator is a free online tool that computes the internal volume, wall volume, and liquid mass of a pipe based on its inner diameter, outer diameter, and length. It is designed for plumbers, HVAC engineers, construction workers, irrigation system designers, and DIY homeowners who need to know the exact capacity of their pipes for water supply, heating systems, drainage, or material estimation.

Pipes are hollow cylinders, and their internal volume is calculated using the formula V = π × r² × L, where r is the inner radius (half the inner diameter) and L is the pipe length. The wall volume — the volume of the pipe material itself — is computed by subtracting the inner cylinder volume from the outer cylinder volume: Vwall = π × (R² − r²) × L, where R is the outer radius. The liquid mass is obtained by multiplying the inner volume by the liquid density (default 997 kg/m³ for water at standard conditions).

For example, a 6-meter pipe with an inner diameter of 15 cm has a radius of 0.075 m, giving an internal volume of π × (0.075)² × 6 ≈ 0.106 m³ or 106 liters. The mass of water inside is approximately 105.7 kg. If the same pipe has an outer diameter of 17 cm, the wall volume is π × ((0.085)² − (0.075)²) × 6 ≈ 0.030 m³, which helps estimate material weight for cost and load calculations.

Regional Notes

India: Plumbing pipes in India are typically measured in mm (e.g., 15 mm, 20 mm, 25 mm inner diameter). Convert to meters by dividing by 1000. Common materials include PVC, CPVC, and GI pipes. Water density is standard at 997 kg/m³. Volume is often expressed in liters for tank and water storage calculations.

US: Pipe dimensions are usually in inches (e.g., ½", ¾", 1" nominal diameter). Convert inches to meters by multiplying by 0.0254. Volume results are commonly converted to US gallons (1 m³ ≈ 264.17 US gal). Common pipe materials include copper, PEX, and PVC. The calculator helps size pipes for residential and commercial plumbing systems.

UK: Pipe sizes are specified in mm, similar to metric Europe. Volume is often measured in liters or cubic meters. Imperial measurements (inches, feet) are still used in some older installations. For UK gallons, multiply liters by 0.22. The calculator supports both metric and imperial by accepting any consistent unit system.

Frequently Asked Questions

How do I calculate the volume of a pipe?

To calculate the volume of a pipe, use the formula V = π × r² × L, where r is the inner radius (half the inner diameter) and L is the pipe length. For a pipe with inner diameter 0.15 m and length 6 m, the volume is π × (0.075)² × 6 ≈ 0.106 m³, which equals 106 liters.

What is the volume of water in a 6-meter pipe with 15 cm inner diameter?

The internal volume of a 6-meter pipe with 15 cm inner diameter is approximately 0.106 m³ or 106 liters. The mass of water inside it is about 105.7 kg using a water density of 997 kg/m³.

What is the formula for pipe volume?

The pipe volume formula is V = π × r² × h, where r is the inner radius (half the inner diameter) and h is the pipe length. For the wall volume of a hollow cylinder, subtract the inner volume from the outer volume: V_wall = π × (R² − r²) × h, where R is the outer radius.

How do I calculate the mass of liquid in a pipe?

Liquid mass = pipe inner volume × liquid density. For water at standard conditions, density is 997 kg/m³. So for a pipe with 0.106 m³ inner volume, the water mass is 0.106 × 997 ≈ 105.7 kg. For other liquids, adjust the density accordingly — oil (~850 kg/m³), gasoline (~750 kg/m³), or mercury (~13,534 kg/m³).

What units should I use for pipe volume calculations?

This calculator uses meters for diameter and length, giving volume in cubic meters (m³) and liters (1 m³ = 1000 L). You can convert: 1 inch = 0.0254 m, 1 foot = 0.3048 m, 1 US gallon = 3.785 L, 1 UK gallon = 4.546 L. For inches, divide the diameter by 39.37 to get meters.

What is wall volume and why is it important?

Wall volume is the volume of the pipe material itself (the difference between outer and inner cylinder volumes). It is useful for estimating pipe material weight, material costs, and structural load calculations in plumbing, construction, and engineering projects.

How does pipe diameter affect flow rate?

Flow rate is proportional to the cross-sectional area of the pipe, which scales with the square of the diameter. Doubling the inner diameter quadruples the cross-sectional area and volume capacity. For example, a 100 mm pipe can carry four times the volume of a 50 mm pipe at the same flow velocity.

Can this calculator be used for both metric and imperial units?

Yes, you can use any units as long as you are consistent. If you enter diameter in inches and length in feet, convert the result: volume in cubic inches can be converted to gallons (1 US gal = 231 in³) or to liters (1 L = 61.02 in³). For best accuracy, convert all measurements to meters before calculating.