Homeโ€บCalculatorsโ€บConstructionโ€บPipe Volume Calculator

Pipe Volume Calculator

Construction

Calculate the internal volume of a cylindrical pipe in gallons and cubic feet from its inner diameter and length. Useful for plumbing, irrigation, and HVAC.

0.2548
15,000

Volume (gallons)

65.28
Volume (cubic feet)
8.73

This calculator computes your Volume (gallons), Volume (cubic feet) from the values you enter.

Inputs
Inner Diameter (in)Pipe Length (ft)
Outputs
Volume (gallons)Volume (cubic feet)

What is a Pipe Volume?

A Pipe Volume Calculator computes the internal liquid-holding capacity of a cylindrical pipe, expressed in both gallons and cubic feet, based on the pipe's inner diameter and length. It applies the standard cylinder volume formula to the pipe's bore, then converts the result into the units most useful for plumbing, irrigation, and fluid-handling work.

Whether you're estimating how much water is standing in a section of supply line, sizing a flush volume, or calculating fluid capacity for a hydronic heating loop, this calculator turns two easily measured dimensions โ€” inner diameter and length โ€” into an immediately usable volume figure.

How to use this Pipe Volume calculator

  1. Measure or look up your pipe's inner diameter in inches. Use the manufacturer's published actual inner diameter rather than the nominal size label when precision matters.

  2. Measure the total length of the pipe run in feet, including any straight sections you want to include in the total volume calculation.

  3. Enter Inner Diameter (in) using the slider or number field.

  4. Enter Pipe Length (ft) using the slider or number field.

  5. Read your Volume (gallons) in the highlighted result card โ€” this is your pipe's total internal liquid capacity.

  6. Check the Volume (cubic feet) output if you need the figure in cubic feet for a downstream calculation, such as a mixing ratio or system water content spec.

  7. Repeat for each diameter section if your pipe run changes diameter partway through, then add the individual results together for a total system volume.

Formula & Methodology

The calculator uses the standard cylinder volume formula, converted to imperial plumbing units:

Step 1 โ€” Convert inner diameter to radius in feet:

> r (ft) = Inner Diameter (in) รท 24

(Dividing by 2 for radius, then by 12 to convert inches to feet, combines to dividing by 24.)

Step 2 โ€” Compute volume in cubic feet:

> Volume (ftยณ) = ฯ€ ร— rยฒ ร— Length (ft)

Step 3 โ€” Convert to gallons:

> Volume (gal) = Volume (ftยณ) ร— 7.4805

Worked example:

- Inner diameter = 4 in โ†’ radius = 4 รท 24 = 0.1667 ft
- Length = 100 ft
- Volume (ftยณ) = ฯ€ ร— 0.1667ยฒ ร— 100 = 8.73 ftยณ
- Volume (gal) = 8.73 ร— 7.4805 = 65.3 gallons

For related storage and flow calculations, see the Tank Volume Calculator and the Pipe Weight Calculator.

Frequently Asked Questions

The inner diameter (ID) is the diameter of the hollow bore, not the outer diameter of the pipe wall. For thin-walled pipe such as copper or PVC, you can measure the outer diameter with calipers and subtract twice the wall thickness, or check the pipe's nominal size specification, which manufacturers typically publish alongside the actual inner diameter.
Cubic feet is a convenient intermediate because standard imperial pipe measurements โ€” diameter in inches and length in feet โ€” convert cleanly into it, and the gallons-per-cubic-foot conversion factor (7.4805) is a well-established constant. Computing cubic feet first also lets you cross-check the result independently before converting to gallons.
A 100-foot length of 4-inch inner diameter pipe holds approximately 65.3 gallons (about 8.73 cubic feet). This is calculated using the cylinder volume formula: pi times the radius squared times the length, then converted from cubic feet to gallons.
No โ€” the calculator uses inner diameter directly, which already accounts for wall thickness. The volume of liquid a pipe can hold depends only on the internal bore diameter and the length, not on how thick the pipe walls are. Wall thickness matters for pressure rating and structural calculations, but not for internal volume.
Yes. The formula for internal volume is purely geometric and applies to any cylindrical pipe regardless of material โ€” PVC, copper, steel, PEX, or cast iron โ€” as long as you enter the correct inner diameter for that pipe's schedule or nominal size.
Knowing a pipe's internal volume tells you how much water must pass through before a chemical treatment, air pocket, or old standing water is fully flushed out and replaced with fresh liquid. This is commonly used in irrigation line priming, potable water system flushing, and hydronic heating loop calculations.
Nominal pipe size (like '2-inch PVC') is a labeling convention that does not always match the actual measured inner diameter โ€” schedule 40 PVC, for example, has a slightly larger or smaller actual ID than its nominal size depending on wall thickness class. For accurate volume results, use the manufacturer's published actual inner diameter rather than assuming the nominal size is exact.
Split the pipe run into sections of constant diameter, calculate the volume of each section separately using this calculator, and then add the individual volumes together for the total. This approach handles reducers, transitions, and multi-diameter runs accurately.
The calculated volume assumes a completely full, straight, empty pipe. In practice, fittings, valves, trapped air pockets, sediment buildup, or a pipe that is not completely full will reduce the actual liquid volume below the theoretical geometric maximum.
Volume scales linearly with length but with the square of the radius, so doubling the length doubles the volume, while doubling the diameter roughly quadruples the volume. Small increases in pipe diameter therefore have a much larger impact on internal volume than the same proportional increase in length.
Yes, indirectly. Once you have the volume in gallons, multiply by the fluid's density โ€” approximately 8.34 lbs per gallon for water โ€” to estimate the total weight of liquid the pipe section holds. This is useful for structural support calculations on long horizontal pipe runs.
Most US residential main water supply lines use 3/4-inch to 1-inch inner diameter pipe, while individual fixture branch lines are often 1/2-inch. Larger irrigation mainlines commonly run 1.5 to 2 inches, and municipal water mains can range from 6 inches up to 48 inches or more.
Also known as
pipe capacity calculatorhow much water in a pipecylinder pipe volume calculatorpipe water volume calculatorgallons in pipe calculator