HomeCalculatorsConstructionPipe 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.

Reviewed by the thecalcu.com team · Last updated July 9, 2026

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.

Estimating how much water is standing in a section of supply line, sizing a flush volume, 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.

Why Use a Pipe Volume Calculator?

Manually computing pipe volume requires converting inches to feet, squaring a radius, multiplying by pi, and then applying a gallons-per-cubic-foot conversion factor, several steps where a small arithmetic slip produces a meaningfully wrong answer. This calculator performs all of those steps instantly and consistently.

Accurate pipe volume figures matter for real decisions: how much water needs to be pumped to prime a line, how much treatment chemical dosage is needed for a given volume of standing water, or how long a section of pipe run will take to drain. Once you have your pipe's volume, pair it with the Liters per Minute Calculator to estimate fill or drain time at a known flow rate.

Who Should Use This Calculator?

Plumbers and irrigation contractors sizing mainlines or estimating flush volumes for potable water systems need quick, reliable pipe capacity figures on the job site, often working from nominal pipe sizes converted to actual inner diameter.

HVAC technicians calculating fluid volume in hydronic heating or chilled water loops use pipe volume to determine system water content, which affects glycol dosing, expansion tank sizing, and chemical treatment concentrations.

Homeowners and DIYers troubleshooting a drain-down, winterizing a sprinkler system, or estimating how much water is trapped in a run of pipe before a repair can use this calculator without any specialized tools.

Engineers and estimators doing rough capacity checks for pipe runs during design or bidding can quickly sanity-check volume assumptions across multiple diameter and length combinations.

What Insights Does the Pipe Volume Calculator Give You?

The calculator returns two outputs: Volume (gallons), the primary highlighted result showing the pipe's internal capacity in US gallons, and Volume (cubic feet), the same capacity expressed in cubic feet, useful for cross-checking or for applications that use cubic feet as a standard unit.

Because volume scales with the square of the radius, small increases in diameter produce disproportionately large increases in volume. A 6-inch pipe holds roughly 2.25 times the volume per foot of a 4-inch pipe of the same length, not just 1.5 times, a distinction worth keeping in mind when comparing pipe sizing options.

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.

Show formula & methodology ↓Show less ↑

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

How do I find the inner diameter of my pipe?
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.
Why does pipe volume use cubic feet as an intermediate unit?
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.
How much water does a 100-foot length of 4-inch pipe hold?
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.
Does pipe wall thickness matter for this calculation?
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.
Can I use this calculator for both PVC and metal pipe?
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.
How is pipe volume useful for flushing or draining calculations?
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.
What is the difference between nominal pipe size and actual inner diameter?
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.
How do I calculate the volume of a pipe with varying diameter sections?
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.
Why might my pipe hold less water than the calculated volume?
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.
How does pipe length affect volume compared to diameter?
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.
Can this calculator help estimate fluid weight in a pipe?
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.
What's a typical inner diameter for residential water supply lines?
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