Volume of a cylinder, in gallons
A pipe is a long cylinder, so the water it holds is the area of the bore times the length. What matters is the inside diameter, not the nominal size on the label: a 1 in pipe is not 1 in across inside.
Volume (cu in) = π ÷ 4 × inside diameter² × length (in)
Gallons = cubic inches ÷ 231
Liters = gallons × 3.785411784
NIST Handbook 44 defines the U.S. gallon as 231 cubic inches, and 1 gallon as 3.785411784 liters. The calculator also gives the weight of the water at 8.34 lb per gallon, the figure the U.S. Geological Survey uses, which helps when a pipe has to be supported full.
PVC Schedule 40 inside diameters
Pipe makers list the outside diameter and the minimum wall. Charlotte Pipe and Foundry, in its Pressure Pipe and Fittings Dimensional Catalog (DC-PR, updated January 27, 2026), gives the average outside diameter and the minimum wall of each PVC Schedule 40 size. The calculator takes the inside diameter as the outside diameter minus twice the minimum wall.
Real walls can be a little thicker than the minimum, which leaves a slightly smaller bore, so the volumes here lean slightly high. For copper, PEX, steel or another schedule, use the inside diameter from the maker's data sheet, or measure the bore.
| Size | Average OD | Minimum wall | Inside diameter | Gallons per foot |
|---|---|---|---|---|
| 1/2 in | 0.840 in | 0.109 in | 0.622 in | 0.0158 |
| 3/4 in | 1.050 in | 0.113 in | 0.824 in | 0.0277 |
| 1 in | 1.315 in | 0.133 in | 1.049 in | 0.0449 |
| 1 1/4 in | 1.660 in | 0.140 in | 1.38 in | 0.0777 |
| 1 1/2 in | 1.900 in | 0.145 in | 1.61 in | 0.1058 |
| 2 in | 2.375 in | 0.154 in | 2.067 in | 0.1743 |
| 3 in | 3.500 in | 0.216 in | 3.068 in | 0.384 |
| 4 in | 4.500 in | 0.237 in | 4.026 in | 0.6613 |
| 6 in | 6.625 in | 0.280 in | 6.065 in | 1.5008 |
Worked example: 100 feet of 1 inch PVC
For 1 in PVC Schedule 40, the catalog lists an average outside diameter of 1.315 in and a minimum wall of 0.133 in, so the inside diameter is 1.315 − 2 × 0.133 = 1.049 in.
- One foot: π ÷ 4 × 1.049² × 12 = 10.37 cu in, or 0.0449 gallons
- 100 feet: 0.0449 × 100 = 4.49 gallons, which is 17 liters
- Weight of the water: 4.49 × 8.34 = 37.4 lb
A 50 ft run of 2 in pipe holds 8.72 gallons. For a pipe with a measured bore of 0.75 in, 200 ft holds 4.59 gallons.
Liters per meter and other units
The calculator works in feet and inches, but the result converts directly. Liters per meter = gallons per foot × 3.785411784 ÷ 0.3048, so 1 in Schedule 40 PVC at 0.0449 gallons per foot holds 0.558 liters per meter. Cubic feet are gallons × 231 ÷ 1,728: the 100 ft run in the example is 0.6 cu ft.
If your pipe size is in millimeters, divide the inside diameter by 25.4 to get inches before you type it in. A bore of 20 mm is 0.787 in.
Where the number helps
Knowing the volume tells you how much water to run before fresh water reaches a tap, how much sanitizer or antifreeze a line needs, and how long a pump takes to fill a run at a given flow. For a whole tank or cistern, use the tank volume calculator, and for a pool, the pool volume calculator.
Follow the product label for any chemical you add, and the plumbing code where you live for the pipe you install.
Pipe Volume Calculator FAQ
How many gallons are in 100 feet of 1 inch pipe?
About 4.49 gallons for 1 in PVC Schedule 40, whose inside diameter works out to 1.049 in.
How do I calculate the volume of water in a pipe?
Multiply π ÷ 4 by the inside diameter squared and by the length, all in inches, then divide by 231 to get U.S. gallons.
Should I use the nominal size or the inside diameter?
The inside diameter. Nominal sizes are names, and the bore differs by material and schedule. A 1 in Schedule 40 PVC pipe is about 1.05 in inside.
How much does the water in a pipe weigh?
About 8.34 lb per gallon. 100 ft of 1 in Schedule 40 PVC full of water carries about 37 lb of water.
How many gallons per foot does 2 inch PVC hold?
About 0.174 gallons per foot for Schedule 40, from an inside diameter of 2.067 in.