Pipe volume and flow rate calculator

Pick the pipe and size, enter the length, and see how many gallons it holds, worked from the pipe's real inside diameter. Or get the flow in GPM from pipe size and velocity, or from a bucket and a stopwatch.

5 pipe typesCopper K, L, M, PEX, PVC
Real IDsFrom the ASTM dimensions
FreeNo email, no sign-up
What do you want to work out?
ft
Water in the pipe
2.51 gal
100 ft of 3/4 in Type L copper, 0.785 in inside
9.5Liters
21 lbWeight of the water
0.0251Gallons per foot

How we got this

  1. Inside diameter3/4 in Type L copper: 0.785 inNominal size is a name, not a measurement. Copper and PEX are copper tube size (1/8 in over nominal outside); PVC is iron pipe size.
  2. Volumeπ ÷ 4 × 0.785² × 100 ft × 12 = 581 cu in
  3. Gallons581 ÷ 231 = 2.51 gal
  4. Weight2.51 gal × 8.34 lb = 21 lb
SizeInside diameterGallons per 100 ftGPM at 5 ft/sGPM at 8 ft/s
1/2 in0.545 in1.213.65.8
3/4 in0.785 in2.517.512.1
1 in1.025 in4.2912.920.6
1-1/4 in1.265 in6.5319.631.3
1-1/2 in1.505 in9.2427.744.4
2 in1.985 in16.0848.277.2

Sources: ASTM B88 copper water tube dimensions (Engineering ToolBox); ASTM F876 PEX tubing dimensions (Engineering ToolBox); Schedule 40 PVC pipe dimensions, ASTM D1785 (PlasticRanger). Checked 2026-10-08.

Key takeaways
  • Gallons = π ÷ 4 × inside diameter² × length in inches ÷ 231. The inside diameter is what matters, and it is not the nominal size.
  • 100 ft of 3/4 in Type L copper holds 2.51 gallons. The same length of 3/4 in PEX holds 1.89.
  • GPM = 2.448 × velocity in ft/s × inside diameter². A 5 gallon bucket filled in 30 seconds is 10 GPM.

How to calculate the volume of a pipe

A pipe is a cylinder, so its volume is the inside area times the length:

Volume (cu in) = π ÷ 4 × inside diameter² × length in inches

Gallons = cubic inches ÷ 231

One U.S. gallon is 231 cubic inches by definition. Water weighs about 8.34 lb per gallon, so the same math tells you how much weight a run of full pipe adds to a hanger or a joist.

The step people get wrong is the diameter. A "3/4 inch" pipe is not 0.75 in inside. Copper and PEX are copper tube size, with an outside diameter 1/8 in larger than the nominal size, and the wall comes off that. PVC is iron pipe size, a different set of diameters again. Using the nominal size instead of the real inside diameter is off by 5% to 30% on common copper and PEX sizes.

Step100 ft of 3/4 in Type L copper
Outside diameter0.875 in
Wall0.045 in
Inside diameter0.875 − 2 × 0.045 = 0.785 in
Areaπ ÷ 4 × 0.785² = 0.484 sq in
Volume0.484 × 1,200 in = 581 cu in
Gallons581 ÷ 231 = 2.51 gal
Weight2.51 × 8.34 = 21 lb

Inside diameters by pipe type

These are the inside diameters the calculator uses, in inches. Copper is the ASTM B88 outside diameter minus two walls for each type. PEX is the ASTM F876 SDR-9 outside diameter minus two minimum walls; real walls run a little thicker, so true PEX volume is slightly lower. PVC is the Schedule 40 average inside diameter.

NominalCopper KCopper LCopper MPEX SDR-9PVC Sch 40
1/2 in0.5270.5450.5690.4850.602
3/4 in0.7450.7850.8110.6810.804
1 in0.9951.0251.0550.8751.029
1-1/4 in1.2451.2651.2911.0691.360
1-1/2 in1.4811.5051.5271.2631.590
2 in1.9591.9852.0091.6532.047

Type K has the thickest wall and the smallest bore, Type M the thinnest wall and the largest. PEX has the smallest bore of all at the same nominal size, because its wall is thick for its pressure rating. That is why a PEX system often needs to step up a size to carry the same flow as copper.

Gallons per 100 feet

Worked from the inside diameters above:

NominalCopper KCopper LCopper MPEXPVC Sch 40
1/2 in1.131.211.320.961.48
3/4 in2.262.512.681.892.64
1 in4.044.294.543.124.32
1-1/4 in6.326.536.804.667.55
1-1/2 in8.959.249.516.5110.31
2 in15.6616.0816.4711.1517.10

Where this comes up on the job:

  • Hot water wait. A 50 ft run of 3/4 in Type L holds 1.26 gallons. At a 1.5 GPM faucet, that is about 50 seconds of cold water before the hot arrives. In 1/2 in it is 0.6 gallons, about 24 seconds. Volume is the case for smaller branch lines, a home run manifold, or a recirculation pump.
  • Hydronic systems. Add the pipe volume to the boiler and emitters to size an expansion tank and work out how much glycol to buy.
  • Flushing and disinfection. Know how many gallons to push through a new line, or how much disinfectant a section needs.
  • Draining and filling. How much water comes out when you open a line, and how long it takes to refill.

Flow rate from pipe size and velocity

Flow is area times velocity. In plumbing units:

GPM = 2.448 × velocity (ft/s) × inside diameter² (in)

The 2.448 rolls up the unit changes: square inches to square feet (÷ 144), seconds to minutes (× 60) and cubic feet to gallons (× 7.48).

Type L copperGPM at 5 ft/sGPM at 8 ft/s
1/2 in3.65.8
3/4 in7.512.1
1 in12.920.6
1-1/4 in19.631.3
1-1/2 in27.744.4
2 in48.277.2

A common rule of thumb for copper is to keep water at or under about 8 ft/s for cold lines and about 5 ft/s for hot. Faster water is noisy, causes water hammer when valves close, and wears the inside of fittings, especially on hot lines. When a run needs more flow than its size can carry at those speeds, step up a size. Code sizing methods (fixture units and pressure loss) set the final pipe size; velocity is the sanity check.

Pipe volume for hydronic systems and glycol

Hydronic heating is where pipe volume matters most. The system volume sets the expansion tank size and how much glycol to buy, and both are worked from the total gallons in the boiler, the emitters and every foot of pipe.

Example. A radiant floor with 1,500 ft of 1/2 in PEX, 80 ft of 1 in Type L copper supply and return mains, and a boiler that holds 3 gallons:

PartMathGallons
1/2 in PEX1,500 ft × 0.96 gal per 100 ft14.4
1 in Type L copper80 ft × 4.29 gal per 100 ft3.4
BoilerFrom the boiler manual3.0
System20.8

For a glycol mix, multiply the system gallons by the glycol share the maker's chart calls for at your lowest expected temperature. At a 30% mix, this system needs about 6.2 gallons of glycol and 14.6 gallons of water. Pre-mix or measure carefully: too little glycol risks a freeze, too much costs heat transfer and pump power.

Expansion tank makers size tanks from the system volume, the fill pressure, the relief valve setting and the hottest water temperature. Their sizing tables start from the gallon figure this calculator gives you.

Weight of water-filled pipe

Full pipe is heavier than it looks, and the water often weighs more than the pipe. At 8.34 lb per gallon:

100 ft, Type L copperWaterWeight of the water
3/4 in2.51 gal21 lb
1 in4.29 gal36 lb
1-1/2 in9.24 gal77 lb
2 in16.08 gal134 lb

Add the weight of the pipe itself from the maker's data and space hangers to code and to the pipe maker's guidance. Large mains, storage loops and long horizontal runs of plastic pipe, which sags when warm, need the closest support.

Weight also matters when you drain down. A 2 in main that is 100 ft long dumps about 16 gallons when opened, so have the hose or the bucket count ready.

Measuring flow with a bucket test

The simplest flow test needs a bucket of known size and a stopwatch. Open the fixture or hose bib all the way, start timing when the stream hits the bucket, and stop at the fill line.

GPM = gallons ÷ seconds × 60

5 gallon bucket fills inFlow
20 seconds15 GPM
30 seconds10 GPM
45 seconds6.7 GPM
60 seconds5 GPM
2 minutes2.5 GPM

Do it twice and average. Test at the hose bib nearest the meter to see what the service delivers, then at a problem fixture to see what is being lost along the way. The calculator also shows how fast that flow moves through each size of copper and PEX, which tells you whether a line is undersized for what it is being asked to carry.

For a well, a bucket test at the pressure tank tells you whether the pump keeps up. For a tankless water heater, it tells you whether the flow will reach the heater's minimum and how many fixtures it can serve at once.

When the numbers point to a repipe, a recirculation pump or a bigger service line, put it in a Koira estimate with the pipe, fittings and labor as separate lines. The plumbing cost estimator helps price the job.

Last checked October 8, 2026. More for your trade: how plumbers run on Koira.

FAQ

How many gallons are in a pipe?

Multiply π ÷ 4 by the inside diameter squared and by the length in inches, then divide by 231. 100 ft of 3/4 in Type L copper (0.785 in inside) holds 2.51 gallons.

How much water is in 100 feet of 1/2 inch PEX?

About 0.96 gallons, using the ASTM F876 outside diameter less two minimum walls (0.485 in inside). Real PEX walls run a little thicker, so it is slightly less.

What is the inside diameter of 3/4 inch copper pipe?

Type K is 0.745 in, Type L 0.785 in and Type M 0.811 in. All three have a 0.875 in outside diameter; only the wall changes.

How do I calculate GPM from pipe size?

GPM = 2.448 × velocity in ft/s × inside diameter² in inches. 3/4 in Type L copper at 5 ft/s carries 7.5 GPM.

How do I measure flow rate with a bucket?

Time how long it takes to fill a bucket of known size with the fixture fully open. Gallons ÷ seconds × 60 = GPM. A 5 gallon bucket in 30 seconds is 10 GPM.

Why does PEX hold less water than copper of the same size?

PEX has a thicker wall. At 3/4 in nominal, PEX is about 0.681 in inside and Type L copper 0.785 in, so the copper holds about a third more per foot.

We know what works. Leave it to Koira.

☼⚙
Standard⚡ Turbo
● Koira did it● You by hand
Today $9,300$8,100 / $1,200
This week $25,050$18,570 / $6,480
This month $69,300$46,150 / $23,150
Money, just now
Reminded Sean Love, $1,850. Polite reminder with the pay link.
Bids, 9:44 am
Nudged Dana on the kitchen bid. Day 3 follow up. She opened it at 9:12.
Convos, 9:41 am
Texted back a missed call. Walk through booked Thu 10:00.
Pipe Volume Calculator: Gallons in Copper, PEX and PVC Pipe | Koira