Plumbing and HVAC tool

Pipe Volume Calculator

How much water is inside a pipe? Enter the real inside diameter and the length to get gallons, liters and weight.

Home / Pipe Volume Calculator

Quick answer: Pipe capacity is the volume of the bore: V = π (ID/2)² x length. Enter the inside diameter in inches (not the nominal size) and the length in feet.

Pipe Volume Calculator

Liquid fill preview

Diagram is a visual guide, not to scale. It fills as your numbers change.

Nominal size is not the inside diameter

The size printed on a pipe is a name, not a measurement. A nominal 2 inch Schedule 40 pipe has an inside diameter of 2.067 inches, and that small gap changes the gallons per foot. Firefighters on Reddit ask for gallons per foot by hose size for the same reason: the working number comes from the real bore, not the label. Use the table for standard Schedule 40 steel and PVC sizes.

Nominal sizeSchedule 40 inside diameter (in)Gallons per foot
0.5 in0.6220.016
0.75 in0.8240.028
1 in1.0490.045
1.25 in1.380.078
1.5 in1.610.106
2 in2.0670.174
2.5 in2.4690.249
3 in3.0680.384
4 in4.0260.661
5 in5.0471.039
6 in6.0651.501
8 in7.9812.599
10 in10.024.096
12 in11.9385.815

Gallons per foot, the quick formula

Gallons per foot = 0.0408 x ID², with the inside diameter in inches. A 2 inch bore holds about 0.163 gallons per foot, so roughly 6.1 feet of it holds one gallon, a question that comes up again and again in r/theydidthemath. For a full chart, see gallons per foot of pipe.

Frequently asked questions

How much water does a pipe hold per foot?

Gallons per foot = 0.0408 x the inside diameter in inches, squared. A 2.067 inch bore (nominal 2 inch Schedule 40) holds about 0.174 gallons per foot.

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

Square half the inside diameter, multiply by pi to get the bore area, multiply by the length, then divide cubic inches by 231 to get US gallons.

What is the difference between pipe capacity and hollow cylinder volume?

Capacity is the empty bore that carries fluid. Hollow cylinder volume is the solid wall material. This page does capacity; the wall is on the hollow cylinder page.

How much does the water in a pipe weigh?

One US gallon of water weighs about 8.34 lb, so multiply the gallons by 8.34.

Related calculators and guides

Cylinder Volume Calculator

The main calculator: radius or diameter plus height, every unit out.

Hollow Cylinder Volume Calculator

Wall material volume from outer and inner radius.

Cylinder Tank Volume Calculator

Vertical tank capacity in gallons and liters.

Horizontal Cylinder Volume Calculator

Partly filled horizontal tank: volume and percent full from liquid depth.

Partially Filled Cylinder Calculator

Vertical tank filled to any depth or percent, plus half cylinder mode.

Surface Area of a Cylinder Calculator

Total, lateral and base area from radius and height.