HVAC & Plumbing

Pipe Volume Calculator

Find how many gallons a length of pipe holds.

in
Inside diameter, not the nominal pipe size. Schedule 40 PVC 2 in has a 2.049 in ID.
ft
Volume gal
Cubic feet cu ft
Weight of water lb

How this calculator works

volume = π × (inside diameter ÷ 24)² × length

Use the inside diameter, not the nominal size. Nominal pipe sizes are a naming convention, not a measurement — 2 inch schedule 40 PVC actually measures 2.049 inches inside, and copper is smaller than its nominal size.

Switch the site to metric — the control is in the footer — and your inputs, your results and the tables below follow. The formula, the constants, the guidance text and the sources stay in US units on purpose: that is how the standards they come from are written, and restating them would detach each figure from the document you are meant to be able to check it against.

Where these numbers come from

The edition matters as much as the number. Jurisdictions adopt code revisions on their own schedule, so verify which one applies where you are building.

Worked example

With inside diameter 2 in, pipe length 100 ft, this calculator returns 16.32 gal.

Water held by common pipe runs

Open any row to load it into the calculator above — the link carries the numbers with it, so it can go straight to a supplier or a crew.

JobSizeVolume
¾ in supply line 0.75 in × 60 ft 1.38 gal
1 in service line 1 in × 100 ft 4.08 gal
2 in irrigation main 2 in × 200 ft 32.64 gal
4 in drain line 4 in × 50 ft 32.64 gal
Pool return loop 1.5 in × 80 ft 7.34 gal

Use the measured inside diameter. Nominal size is a name, not a measurement — 2 in schedule 40 PVC is 2.049 in inside.

Frequently asked questions

How many gallons in 100 feet of 2 inch pipe?

About 16.3 gallons. A 4 inch pipe of the same length holds four times as much at 65 gallons, since volume scales with the square of the diameter.

Should I use nominal or inside diameter?

Inside diameter, always. Nominal pipe size is a naming convention that stopped matching reality decades ago — 2 inch schedule 40 PVC measures 2.049 inches inside, while 2 inch copper type L measures 1.985.

Why does pipe volume matter?

For flushing and chlorinating a new line, for sizing an expansion tank, for working out how long hot water takes to reach a fixture, and for knowing how much a system holds before draining it.

How much does water in a pipe weigh?

Water weighs 8.34 lb per US gallon. A 100 ft run of 4 inch pipe holds 65 gallons — about 545 lb, which matters when hanging pipe from joists.

Host the pipe volume calculator on your own pages

Take it. It costs nothing, works on any site, and loads no third-party tracking. Paste this block into your template:

<iframe id="calcpit-pipe-volume-calculator" src="https://www.calcpit.com/embed/pipe-volume-calculator/"
        title="Pipe Volume Calculator" width="100%" height="630"
        style="border:1px solid #e2e2e2;border-radius:8px" loading="lazy"></iframe>
<p><a href="https://www.calcpit.com/calculators/pipe-volume-calculator/">Pipe Volume Calculator</a> by CalcPit</p>

<!-- Optional: shrinks the frame to fit. Safe to delete — the height above works without it. -->
<script>addEventListener("message",function(e){
  if(e.origin!=="https://www.calcpit.com"||!e.data||e.data.calcpit!=="pipe-volume-calculator")return;
  var f=document.getElementById("calcpit-pipe-volume-calculator");if(f)f.style.height=e.data.height+"px";
});</script>

Leave the credit line in place under the frame. Nothing else is asked, and nothing else is tracked.