Pipe Volume Calculator

Calculate the volume of liquid inside a pipe.

Last updated 2026-08-21

What Is a Pipe Volume Calculator?

A pipe volume calculator finds how much liquid is held inside a pipe when you give it the inner diameter and the length. It returns the volume in gallons and liters, which is handy for purging lines, dosing chemicals, and estimating the water held in long supply runs. Homeowners use it to figure out how much water sits in a hot water loop or a lawn irrigation line before they drain or flush it.

How It Works

Volume = π × (Diameter ÷ 2 ÷ 12)² × Length. Gallons = Volume × 7.48052. Liters = Volume × 28.3168.

Example

A 3/4 in pipe 20 ft long holds about 0.46 gallons.

How to Calculate

  1. Measure or look up the inner diameter of your pipe. For accuracy use the inside diameter, not the nominal label. A 3/4 in PVC pipe has an inner diameter of about 0.82 in.
  2. Measure the length of the pipe run in feet. A run from the water heater to a far bathroom might be 40 ft.
  3. Enter the diameter and length into the tool. For a 3/4 in pipe 20 ft long it returns about 0.46 gallons.
  4. Scale to your actual run. Multiply the per foot volume by your total length. A 3/4 in line holds about 0.023 gallons per foot, so 40 ft holds roughly 0.92 gallons.
  5. Use the result to plan purging or dosing. If you need to flush the line, now you know the exact water volume you are moving.

Approximate water volume per 100 feet of pipe

Nominal pipe sizeInner diameterGallons per 100 ft
1/2 in0.62 in1.6 gal
3/4 in0.82 in2.3 gal
1 in1.05 in4.1 gal
1 1/2 in1.61 in9.5 gal
2 in2.07 in16 gal

Sources

Frequently Asked Questions

Why compute pipe volume?

Useful for purging, chemical dosing, and estimating water held in long supply runs.

Is this inside diameter?

Enter the inner diameter for accurate volume; nominal pipe sizes have a smaller inside diameter.

How many gallons per 100 ft of pipe?

3/4 in holds ~2.3 gal/100 ft, 1 in ~4.1 gal/100 ft, 2 in ~16 gal/100 ft.

Mason ReidFounder and Lead Estimator at MeasureThen

Mason Reid founded MeasureThen after two decades of hands-on work in construction and estimating. Across residential and light commercial projects, he sized concrete pours, framed walls, hung drywall, and priced out roofing, fencing, and deck work — learning the exact math that every job depends on. At MeasureThen he writes the formulas, checks every calculator against real-world assumptions, and makes sure each one is simple enough for a homeowner to trust and a contractor to use. When he is not measuring twice, he is helping projects stay on budget.

Every MeasureThen calculator uses simple, transparent formulas and standard industry assumptions drawn from common construction practice. We show the math behind each result and include worked examples so you can follow along and double-check the numbers. Results are estimates: materials, labor, and pricing vary by region and market, so always confirm important figures with a licensed professional and your local building codes.