Pipe volume calculator

Pick copper or PVC and the size, or type the bore, then the length of the run, and see the gallons or liters of water it holds, per foot and in total.

Copper bores from the Copper Tube Handbook (ASTM B88); PVC from ASTM D1785 walls.

The pipe

The inside diameter in inches. Fractions work: 3/4.
The inside diameter in millimeters: the outside size less two walls.
Length of the run
Free for your own website, with no account and no ads.

Put the pipe volume calculator on your website

Paste this code into an HTML or embed block on any page. Your visitors use the calculator right there, the same as here: free, no sign-up, no ads, and nothing they type is sent anywhere.

Preview it

It fits any width from a phone up to 640 px and grows to the calculator's height. The line under it links to this page, so your visitors can see where it comes from. Every calculator you can embed

Free calculator by Billsmith

Water in the run
Per foot
See the working

Pipe volume, worked out

The formula

Volume = π ÷ 4 × bore² × length. Use the inside diameter (the bore), not the size on the label: 3/4 in Type L copper has a 0.785 in bore. In inches, gallons per foot = π ÷ 4 × bore² × 12 ÷ 231, because a foot is 12 in and a gallon is 231 cubic inches.

A worked example

100 ft of 3/4 in Type L copper: π ÷ 4 × 0.785² = 0.484 square inches; × 12 in = 5.81 cubic inches a foot; ÷ 231 = 0.0251 gallons a foot, as the Copper Tube Handbook prints. 100 ft holds 2.51 gallons.

Gallons per 100 ft

US gallons of water in 100 feet of pipe
SizeCopper LCopper MPVC Sch 40
1/2 in1.211.321.58
3/4 in2.512.682.77
1 in4.294.544.49
1 1/4 in6.536.87.77
1 1/2 in9.249.5110.58
2 in16.0816.4717.43
3 in35.3936.2638.4

Metric

In millimeters and meters: liters = π ÷ 4 × bore² × length ÷ 1,000,000 × 1,000. A 20 mm bore holds π ÷ 4 × 0.02² = 0.000314 m³ a meter, or 0.314 liters, so a 25 m run holds 7.85 liters.

Why the bore matters

Pipes are named by a size that is neither the inside nor the outside. Copper tube is 1/8 in bigger outside than its name, and Type K, L and M differ only in wall thickness, so K holds the least. PVC is sized like steel pipe: Schedule 80 has thicker walls than 40 and less water.

Questions

How do I calculate the volume of water in a pipe?

Multiply π ÷ 4 by the inside diameter squared and by the length. In inches and feet: gallons = 0.0408 × bore² × length in feet, because π ÷ 4 × 12 ÷ 231 = 0.0408. 100 ft of 0.785 in bore holds 0.0408 × 0.616 × 100 = 2.51 gallons.

How many gallons are in 100 feet of 3/4 inch pipe?

3/4 in Type L copper (0.785 in bore) holds 2.51 gallons per 100 ft; Type M (0.811 in) 2.68; PVC Schedule 40 (0.824 in) 2.77.

How much water is in 1 inch pipe per foot?

1 in Type L copper (1.025 in bore) holds 0.0429 gallons a foot, and PVC Schedule 40 (1.049 in bore) 0.0449. That is about 4.3 and 4.5 gallons per 100 ft.

How many liters are in a meter of pipe?

Liters a meter = π ÷ 4 × bore in mm² ÷ 1,000. A 13.6 mm bore holds 0.145 L a meter; a 20 mm bore 0.314 L; a 26 mm bore 0.531 L.

Why use the inside diameter?

The water fills the bore, and the nominal size is only a name. 3/4 in Type L copper is 0.875 in outside and 0.785 in inside; using 0.75 would undercount by about 9%.