Home / Pipe & Tube Volume Calculators

Pipe Volume Calculator

Use the pipe volume calculator to find tube-wall material from inner and outer diameters and length; distinguish it from internal fluid capacity.

Volume Calculator

Select a 3D shape and enter its measurements.

FREE TOOL

Micrometers, nanometers and angstroms are available for very small-scale measurements.

Enter positive measurements. Results update when you calculate.

Your calculated volume
—
cubic feet (ft³)
Other common units
Cubic inches1,728 in³
Cubic feet1 ft³
US gallons7.481 gal
Liters28.317 L

Calculation methods, references & accuracy limits

Calculation formula
Choose the shape and enter measurements.

Multiply the length, width and height using the same measurement unit.

Step-by-step calculation

  1. Enter your dimensions to see the calculation steps.

Pipe and Tube Volume Formula

Calculate pipe-wall material volume from outer diameter, inner diameter and length. The result is the hollow cylinder material, not the liquid it holds. For fluid capacity, calculate a cylinder using the internal diameter and pipe length.

V = πL(D² − d²)/4

Required inputs: Outer diameter D; inner diameter d; pipe length L.

How to find the volume of a pipe

  1. Use the page’s default calculation and check the field labels.
  2. Enter outer diameter D; inner diameter d; pipe length L.
  3. Select the appropriate units before interpreting the result. Keep length, area and volume units distinct.
  4. Select Calculate volume and review any error message, conversions and calculation steps.
  5. Check the result against the model assumptions below before using it for a project.

Worked example

Pipe Wall Material formula and worked example: V = πL(D² − d²)/4
Pipe Wall Material — formula, measurements and a worked example. Open full-size image. The same mathematics remains available as text.

Outer diameter 6 cm, inner diameter 4 cm and length 10 cm give wall material volume 50π = 157.0796 cm³. The internal liquid capacity for the same pipe is 40π = 125.6637 cm³, calculated separately using only the inner diameter.

Assumptions and limits

The default Pipe & Tube tool reports wall material, not fluid capacity. Inner diameter must be smaller than outer diameter. Use inside circular area times length for liquid capacity; this page has no separate capacity mode.

Units and accuracy

Lengths use linear units, areas use squared units and volumes use cubed units. For example, 1 m³ = 1,000 L; 1 ft³ = 1,728 in³; and 1 yd³ = 27 ft³. US and imperial gallons differ, so use the correctly labeled output. A conversion does not improve measurement accuracy.

Keep unrounded measurements during the calculation and round the final result to suit the measurements. Very small nonzero results may use scientific notation to avoid displaying a misleading zero.

Questions about this tool

Why can my real measurement differ from the answer?

The default Pipe & Tube tool reports wall material, not fluid capacity. Inner diameter must be smaller than outer diameter. Use inside circular area times length for liquid capacity; this page has no separate capacity mode.

Can I change the input units?

Choose the appropriate unit control and interpret each field as length, area or volume according to its label. Changing a unit does not automatically turn an outside measurement into an inside measurement.

How do I report an incorrect result?

Use Contact Us and include the page URL, selected method, input values, units and expected result. The contact form opens your email application; do not include sensitive information.

Material versus fluid capacity

Outer diameter includes the pipe wall; inner diameter describes its opening. Material volume is π(D² − d²)L/4. Fluid capacity is πd²L/4. Both diameters must describe the same pipe section.

A practical calculation

A pipe with outer diameter 10 cm, inner diameter 8 cm and length 100 cm contains 2,827.43 cm³ of material. Its internal geometric capacity is 5,026.55 cm³, about 5.027 liters.

Do not substitute nominal sizes

Nominal pipe size may differ from measured inner and outer diameters. Fittings, bends, lining and wall tolerances can affect actual volume. Mass additionally requires the material density.

Read our calculation methods, unit references and accuracy limits.

Available calculator controls

Enter each measurement in its own unit and choose a cubic or liquid output unit. For radius-based shapes, the diameter option converts the entered width to radius. The steps and diagram use the main input unit.

Copy the result, print the calculation or copy a calculation link to reopen the same measurements. The advanced panel can solve a supported missing dimension, add or subtract two simple solids, and estimate mass from a density you supply. Combined shapes must satisfy the stated overlap and containment assumptions.

Measurement question

Does tube volume mean pipe-wall material or fluid capacity?

Those are different quantities. Wall material uses πL(D² − d²)/4 with outside diameter D and inside diameter d. Internal fluid capacity uses πd²L/4. This page’s main result is wall material; calculate fluid capacity separately with the internal diameter.

Summary

Use the pipe volume calculator to find tube-wall material from inner and outer diameters and length; distinguish it from internal fluid capacity.