Pipe Volume Calculator
ConstructionCalculate 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
Volume (gallons)
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
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.
Measure the total length of the pipe run in feet, including any straight sections you want to include in the total volume calculation.
Enter Inner Diameter (in) using the slider or number field.
Enter Pipe Length (ft) using the slider or number field.
Read your Volume (gallons) in the highlighted result card, this is your pipe's total internal liquid capacity.
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.
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