>

Home / Pipe Volume Calculator

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.

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

Cylinder diagram showing radius r and height h r h

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.

How to use the pipe volume calculator

  1. Find the real inside diameter of the pipe, from the Schedule 40 table below or by measuring the bore.
  2. Enter the inside diameter in inches.
  3. Enter the pipe length in feet.
  4. Press Calculate to get total gallons, liters, gallons per foot and the weight of the water.

The one input people get wrong is the diameter. Pipe sizes are names, not measurements: a nominal 2 inch pipe does not have a 2 inch hole through it.

The table on this page lists the true inside diameters for Schedule 40 pipe, and the calculator is preset to one of them so you can see a realistic result straight away.

The formula, with every symbol explained

V = π (ID / 2)² x L

V
volume of water inside the pipe
ID
inside diameter of the bore, in inches
L
length of the pipe run
π
pi, about 3.14159

Worked in inches, the formula gives cubic inches; divide by 231 to get US gallons. Worked per foot of length, it gives the gallons per foot figure that plumbers and firefighters quote: 0.0408 x ID².

Worked example: 50 feet of nominal 2 inch Schedule 40 pipe

A nominal 2 inch Schedule 40 pipe has a true inside diameter of 2.067 inches. How much water sits in a 50 foot run of it?

  1. Halve the bore: radius = 2.067 / 2 = 1.0335 inches.
  2. Bore area: 3.14159 x 1.0335² = 3.356 square inches.
  3. Length in inches: 50 x 12 = 600 inches. Volume = 3.356 x 600 = 2,013.363 cubic inches.
  4. Convert: 2,013.363 / 231 = 8.716 US gallons, about 0.174 gallons per foot.

Answer: 8.716 US gallons (about 33 liters), weighing roughly 72.7 lb.

Units and conversions

The calculator takes the bore in inches and the length in feet, because that is how pipe is sold and measured in North America. Results come out in US gallons and liters, with the water weight at 8.34 lb per gallon.

For metric pipe, convert the bore to inches first (millimeters divided by 25.4), or use the general cylinder volume calculator in centimeters and read the liters line.

Common mistakes

  • Using the nominal size as the diameter. A nominal 2 inch bore is really 2.067 inches across; on a long run the gap adds whole gallons.
  • Measuring the outside of the pipe. The outside diameter includes the wall. Capacity comes from the bore only.
  • Forgetting fittings and vertical drops. The calculator covers straight pipe. Elbows, valves and risers each hold a little extra.

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.

How many gallons is 100 feet of 2 inch pipe?

At 0.174 gallons per foot for a true 2.067 inch bore, 100 feet holds about 17.4 US gallons. A pipe with an exact 2 inch bore holds 0.163 gallons per foot, so 16.3 gallons per 100 feet.

What about copper and PEX tube sizes?

Copper and PEX are sized by copper tube size (CTS), which is not the same as iron pipe sizes. A nominal half inch CTS tube has an inside diameter near 0.545 inches for Type L copper. Always work from the actual inside diameter of the tube you have, not the name on the box.

Related calculators and guides

Daniel Brooks, author of CylinderVolumeCalc

About the author

Daniel Brooks Mechanical engineer

I have spent 12 years sizing tanks, pipes and vessels for workshops and small plants, where a wrong volume means a wrong order, a short pour or a tank that overflows. I built this site after watching the same radius and diameter mix-up cause the same costly mistake again and again.

Every calculator, formula and worked example here is worked through and checked by hand before it goes live.

More about me and how I check the results