Skip to content

Smell gas? Leave the building first, then call your gas utility or 911 from outside.

Search guides
Menu

Pipe volume calculator

Updated

Choose the pipe type and size and enter the length. The calculator uses the pipe's actual inside diameter, not the nominal size, and shows the gallons and the weight of the water.

Your pipe

How the calculator works

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

  1. Area = π ÷ 4 x ID², in square inches, where ID is the inside diameter.
  2. Volume = area x length in feet x 12, in cubic inches.
  3. Gallons = cubic inches ÷ 231. Combined, that is about 0.0408 x ID² x feet.

Nominal size is not the inside diameter. A 3/4 inch Type L copper tube is 0.785 inch inside, while 3/4 inch PEX is only 0.681 inch, so the same length of PEX holds about 25% less water. The IDs come from the dimension tables in ASTM B88 for copper tube, ASTM F876 for PEX and ASTM D1785 for Schedule 40 PVC (average outside diameter minus twice the minimum wall).

Nominal sizeCopper L IDPEX IDSch 40 ID
1/2 in0.5450.4850.622
3/4 in0.7850.6810.824
1 in1.0250.8751.049

Worked example

100 feet of 3/4 inch Type L copper: π ÷ 4 x 0.785² = 0.484 sq in. Times 1,200 inches = 580.8 cu in. Divided by 231 = 2.51 gallons, which weighs about 21 lb.

Why it matters

Pipe volume tells you how much cold water has to run out of a hot line before hot water arrives, how much antifreeze or sanitizer a system needs, and how much water a line holds when you drain it. At 2 gallons per minute, that 2.51 gallon run takes about 75 seconds to clear.

Limits

Fittings, valves and the water heater are not included. Wall thickness tolerances mean real pipe can vary a little from the table.

Frequently asked questions

How many gallons are in 100 feet of 3/4 inch pipe?
It depends on the pipe. 100 feet of 3/4 inch Type L copper holds about 2.51 gallons, Type M about 2.68, Schedule 40 PVC about 2.77 and 3/4 inch PEX about 1.89 gallons.
How much water is in a foot of 1/2 inch PEX?
With a 0.485 inch inside diameter, 1/2 inch PEX holds about 0.0096 gallons per foot, so roughly 1 gallon per 104 feet.

Sources

  1. ASTM B88, Standard Specification for Seamless Copper Water Tube
  2. ASTM F876, Standard Specification for Crosslinked Polyethylene (PEX) Tubing
  3. ASTM D1785, Standard Specification for PVC Plastic Pipe, Schedules 40, 80, and 120
  4. The Copper Tube Handbook, Copper Development Association