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 size | Schedule 40 inside diameter (in) | Gallons per foot |
|---|---|---|
| 0.5 in | 0.622 | 0.016 |
| 0.75 in | 0.824 | 0.028 |
| 1 in | 1.049 | 0.045 |
| 1.25 in | 1.38 | 0.078 |
| 1.5 in | 1.61 | 0.106 |
| 2 in | 2.067 | 0.174 |
| 2.5 in | 2.469 | 0.249 |
| 3 in | 3.068 | 0.384 |
| 4 in | 4.026 | 0.661 |
| 5 in | 5.047 | 1.039 |
| 6 in | 6.065 | 1.501 |
| 8 in | 7.981 | 2.599 |
| 10 in | 10.02 | 4.096 |
| 12 in | 11.938 | 5.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
- Find the real inside diameter of the pipe, from the Schedule 40 table below or by measuring the bore.
- Enter the inside diameter in inches.
- Enter the pipe length in feet.
- 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?
- Halve the bore: radius = 2.067 / 2 = 1.0335 inches.
- Bore area: 3.14159 x 1.0335² = 3.356 square inches.
- Length in inches: 50 x 12 = 600 inches. Volume = 3.356 x 600 = 2,013.363 cubic inches.
- 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.