Pipe Volume Calculator
A 100 foot run of 2 inch Schedule 40 PVC holds 17.43 gallons of water. That is about 145 pounds, and it fills in 1.74 minutes at 10 gallons per minute. The same length of 3/4 inch copper holds 2.51 gallons, so pipe size changes capacity by a factor of seven.
Pick a pipe size or type the bore yourself, then add the length of the run. The flow rate is only used for the fill time.
| Water in the pipe | |
| Gallons per foot | |
| Gallons per 100 feet | |
| Liters | |
| Cubic feet | |
| Weight of the water | |
| Time to fill at that flow | |
| Water cross section | |
Gallons = 0.7854 x bore squared x length in inches / 231. All calculations run in your browser, and nothing you type is uploaded or stored.
Get the water volume inside a pipe from its inside diameter and length, with gallons, liters, cubic feet, water weight and the minutes it takes to fill at a given flow.
Key takeaways
- Volume = 0.7854 x inside diameter squared x length, divided by 231 for gallons
- Gallons per foot = 0.0408 x inside diameter in inches squared
- A 100 ft run of 2 inch PVC holds 17.43 gallons and weighs 145 pounds full
- A 100 ft run of 3/4 inch copper holds 2.51 gallons, about a seventh as much
- Nominal size is a label: 3/4 inch PVC has a 0.824 inch bore, 3/4 inch copper only 0.785
- Fill time = volume divided by flow rate, so 10 gpm clears 17.43 gallons in 1.74 minutes
On this page
What a pipe holds
A pipe is a cylinder, so the water inside it is the area of the bore multiplied by the length of the run. Nothing about the outside of the pipe matters, and the wall thickness only matters because it changes the bore. That single idea answers most of the questions people bring to this page: how much water sits in a irrigation line before the sprinklers charge, how many gallons a boiler loop carries, and how much antifreeze a cabin needs before the first freeze.
The size of the answer surprises people. A 100 foot run of 2 inch Schedule 40 PVC holds 17.43 gallons, close to the volume of a large trash can. The same 100 feet in 3/4 inch copper holds 2.51 gallons, roughly a seventh as much, because capacity grows with the square of the diameter. Going from 1 inch to 2 inch pipe does not double the water, it quadruples it.
This page is about the water sitting in a pipe, not the water in a tank or a rectangular container. If you are filling a glass box with gravel and a filter, the aquarium volume calculator handles that shape, including the displacement from substrate and rock. A pipe run is a different question: one bore, one length, and often a flow rate that decides how fast it fills or drains.
The formula in inches and gallons
The US liquid gallon is defined as 231 cubic inches, so every volume can be worked in inches and converted at the end. The area of a circle is 0.7854 times the diameter squared, the length has to be in inches as well, and the result is cubic inches. Divide by 231 and you have gallons.
Doing that once per foot gives a shortcut worth memorizing: gallons per foot = 0.0408 x inside diameter squared. The 0.0408 is what you get from 0.7854 x 12 / 231, so it already carries the foot to inch conversion and the gallon conversion. For a 2 inch pipe with a real bore of 2.067 inches: 2.067 x 2.067 = 4.272 square inches of area factor, and 0.0408 x 4.272 = 0.1743 gallons per foot. Multiply by 100 and you get 17.43 gallons.
Liters work the same way once you have gallons, at 3.78541 liters per gallon, so 17.43 x 3.785 = 65.99 liters. Cubic feet come from dividing gallons by 7.48052, which puts that 100 foot run at 2.33 cubic feet. Weight follows the density of water, about 8.34 pounds per gallon at room temperature, so 17.43 x 8.34 = 145.4 pounds of water.
Inside diameter is the number that matters
Hardware stores sell pipe by nominal size, and the nominal size is a label rather than a measurement. A 3/4 inch copper tube measures 0.875 inches across the outside and 0.785 inches inside when it is Type L. The same nominal size in Schedule 40 PVC has an outside diameter of 1.050 and a bore of 0.824, which is 10 percent more water per foot. Schedule 80 PVC walls are thicker again, so its bore at the same nominal size is smaller than Schedule 40.
Copper adds its own wrinkle: Type M, Type L and Type K share outside diameters but carry different wall thicknesses. Type M is the thinnest and holds the most water at a given nominal size, Type K the least. Dimensions for all three types are tabulated in the Copper Tube Handbook from the Copper Development Association, and PVC dimensions come from ASTM D1785, the standard the pipe is printed with.
| Nominal size | PVC Schedule 40 bore | PVC gallons per ft | Copper Type L bore | Copper gallons per ft |
|---|---|---|---|---|
| 1/2 in | 0.622 in | 0.0158 | 0.545 in | 0.0121 |
| 3/4 in | 0.824 in | 0.0277 | 0.785 in | 0.0251 |
| 1 in | 1.049 in | 0.0449 | 1.025 in | 0.0429 |
| 1 1/4 in | 1.380 in | 0.0777 | 1.265 in | 0.0653 |
| 1 1/2 in | 1.610 in | 0.1058 | 1.505 in | 0.0924 |
| 2 in | 2.067 in | 0.1743 | 1.985 in | 0.1608 |
| 3 in | 3.068 in | 0.3840 | 2.945 in | 0.3539 |
| 4 in | 4.026 in | 0.6613 | 3.905 in | 0.6222 |
If you are measuring a pipe you already own, skip the tables. A caliper or a ruler across the open end gives the bore directly, and a tape wrapped around the outside gives the circumference, which divides by 3.1416 to give the outside diameter. Subtract twice the wall thickness and you have the bore.
Worked example: 60 feet of 3/4 inch copper
A cabin water line runs 60 feet of 3/4 inch Type L copper from the pressure tank to the kitchen. The bore is 0.785 inches, and 0.785 x 0.785 = 0.616. Applying the shortcut, 0.0408 x 0.616 = 0.0251 gallons per foot. Sixty feet of that is 0.0251 x 60 = 1.51 gallons, or 1.509 x 3.785 = 5.71 liters. Filled with water, the run adds 1.51 x 8.34 = 12.6 pounds to the structure.
That number matters when the line has to be drained for winter. Opening the low-point drain leaves about a gallon and a half of water in the pipe, plus whatever sits in the water heater, the pressure tank and the fixtures. A 40 gallon heater adds 40 gallons, which is why draining the heater is a separate step from draining the lines.
It also matters for hot water wait time. If the heater holds 1.51 gallons in the line between it and the tap, and the tap runs at 1.5 gallons per minute, the cold slug clears in about a minute. Long runs in big houses are the reason a recirculation loop pays for itself in convenience, not in water savings alone.
Worked example: 100 feet of 2 inch PVC, plus fill time
An irrigation main is 100 feet of 2 inch Schedule 40 PVC. The bore is 2.067 inches, so 2.067 x 2.067 = 4.272 and 0.0408 x 4.272 = 0.1743 gallons per foot. The run holds 0.1743 x 100 = 17.43 gallons, which is 17.43 x 8.34 = 145.4 pounds of water and 17.43 x 3.785 = 65.99 liters.
Fill time divides that volume by the flow going in. At 10 gallons per minute the main charges in 17.43 / 10 = 1.74 minutes, or about 1 minute 45 seconds. Anyone who has waited at a hose end knows this pause: the water has to fill the pipe before it reaches the last head, and a bigger main means a longer wait even though it delivers more water once charged.
The same arithmetic runs backwards for draining. A 17.43 gallon main emptied through a 5 gallon per minute drain valve takes 17.43 / 5 = 3.49 minutes, and the last of it slows to a trickle as the head pressure falls. That is why gravity drains are given a long time in winterizing instructions.
Fill, drain and flush time
Flow rate is the only other input the calculator needs, and it is usually the least certain one. A showerhead sold in the US after January 1, 1994 is capped at 2.5 gallons per minute at 80 psi under 10 CFR 430.32(p), which makes it a useful yardstick: a 2.5 gpm flow fills a 17.43 gallon main in about 7 minutes. An outdoor spigot or a sump pump moves several times that, and a garden hose at full open can empty a rain barrel in minutes.
Real flow also drops as pressure drops. A pump rated at 20 gpm at zero head delivers much less at 40 psi, and a long run of small pipe adds friction loss that cuts flow further. Treat the fill time as a floor, not a promise, and add time for the last stretch when the pipe is nearly full.
| Flow rate | 100 ft of 2 in PVC, 17.43 gal | 100 ft of 3/4 in copper, 2.51 gal | 60 ft of 3/4 in copper, 1.51 gal |
|---|---|---|---|
| 2.5 gpm | 6.97 min | 1.00 min | 0.60 min |
| 5 gpm | 3.49 min | 0.50 min | 0.30 min |
| 10 gpm | 1.74 min | 0.25 min | 0.15 min |
| 20 gpm | 0.87 min | 0.13 min | 0.08 min |
Flushing a line after a repair uses the same table in reverse. A 5 gpm flush for three minutes pushes 15 gallons through, which is enough to clear a 100 foot run of 2 inch main once over, but not enough to clear a 300 foot run twice.
Winterizing: how much antifreeze the line takes
Antifreeze for a water line is sized by displacement, not by dilution. The goal is to push the remaining water out of the low spots and leave a slug of protected fluid behind, so the amount needed is the pipe volume plus a margin for traps, fittings and the fact that some water always stays behind. A working rule is 1.1 times the calculated volume.
For the 60 foot 3/4 inch copper run above, 1.51 x 1.1 = 1.66 gallons, so two one gallon jugs of RV antifreeze cover the line with a little to spare. The 100 foot 2 inch PVC main at 17.43 gallons is a different job: 17.43 x 1.1 = 19.17 gallons, which is why big irrigation mains are blown out with air instead of filled with antifreeze.
| Pipe, 100 ft run | Water volume | Antifreeze at 1.1x |
|---|---|---|
| 1/2 in PVC Schedule 40 | 1.58 gal | 1.74 gal |
| 3/4 in PVC Schedule 40 | 2.77 gal | 3.05 gal |
| 1 in PVC Schedule 40 | 4.49 gal | 4.94 gal |
| 1 1/2 in PVC Schedule 40 | 10.58 gal | 11.64 gal |
| 2 in PVC Schedule 40 | 17.43 gal | 19.17 gal |
| 3/4 in copper Type L | 2.51 gal | 2.76 gal |
| 1 in copper Type L | 4.29 gal | 4.72 gal |
Air blowing is measured by volume too. A compressor that delivers 4 cubic feet per minute at 50 psi pushes 4 x 7.48 = 29.9 gallons of air per minute, which sweeps a 17.43 gallon main in well under a minute once the water starts moving. Run each zone until nothing but mist comes out, then repeat, because water pools at the low points and the first pass mostly moves it around.
Where the estimate drifts
Fittings add a little water that the straight-run formula misses. A handful of elbows, tees and couplings in a house run might add a few percent, not a doubling, so the per-foot answer stays useful. Valve bodies, filters, water hammer arrestors and pressure tanks are a different story: each one can hold more than the pipe around it, and a filter housing is often a quart on its own.
Pipes that are not full change the answer completely. A drain line running by gravity is partly air, sometimes less than half full, so the volume of water it moves is well below the calculated capacity. A heating loop sealed under pressure is the opposite case, full to the top with no air pocket, and it also expands when it heats, which is what an expansion tank is for.
Scale and sediment shrink the bore over time, especially in hard water areas, and a 3/4 inch line that has run for twenty years may carry noticeably less than its nominal capacity. That loss shows up as lower flow at the tap rather than as a volume error you can see, which is why old galvanized pipe gets replaced instead of cleaned.
Frequently asked questions
How many gallons are in 100 feet of pipe?
It depends on the bore. A 100 foot run of 2 inch Schedule 40 PVC holds 17.43 gallons, 1 inch holds 4.49 gallons, and 3/4 inch copper holds 2.51 gallons. Use 0.0408 x bore squared for gallons per foot.
How do you calculate the volume of water in a pipe?
Multiply 0.7854 by the inside diameter squared, then by the length in inches, and divide by 231. In feet: 0.0408 x bore in inches squared x length in feet.
Why is a 3/4 inch pipe not 0.75 inches inside?
Nominal size is a trade label. Schedule 40 PVC at 3/4 inch has a 0.824 inch bore, copper Type L has 0.785, and copper Type M has 0.811. The wall thickness sets the bore.
How much does the water in a pipe weigh?
About 8.34 pounds per gallon at room temperature. The 17.43 gallons in 100 feet of 2 inch PVC weigh 145.4 pounds, and 1.51 gallons in a 60 foot copper run weigh 12.6 pounds.
How long does it take to fill a 100 foot pipe?
Divide the volume by the flow rate. At 10 gallons per minute, 17.43 gallons takes 1.74 minutes. At 2.5 gallons per minute, the same main takes 6.97 minutes.
Does pipe length or diameter matter more?
Diameter, because capacity rises with the square of the bore while length is linear. Doubling the bore from 1 inch to 2 inches multiplies the volume by four, while doubling the length only doubles it.
How much antifreeze do I need for a water line?
Plan on 1.1 times the calculated volume to allow for low spots and fittings. A 60 foot 3/4 inch copper line holds 1.51 gallons, so 1.66 gallons of RV antifreeze covers it.
How many gallons per minute does a garden hose put out?
More than a showerhead, which is capped at 2.5 gallons per minute by federal standard. A spigot at household pressure typically moves several times that, so a 1.51 gallon copper run fills in seconds.
Can I use this for a rectangular duct or a tank?
No, the formula assumes a round bore. For a rectangular container, multiply length by width by depth instead, and for a fish tank use the aquarium volume calculator, which also subtracts gravel and decorations.
Does the calculator work in liters and cubic feet?
Yes. Multiply gallons by 3.78541 for liters, or divide by 7.48052 for cubic feet. The 17.43 gallon example is 65.99 liters or 2.33 cubic feet.
Why does my measured volume come out lower than the calculator?
Air pockets, partly full gravity drains, scale in old pipe and fittings that narrow the bore all cut the real volume. A drain line running half full moves about half of what the formula predicts.
What is the volume of a 1 inch pipe per foot?
Schedule 40 PVC at 1 inch has a 1.049 inch bore and holds 0.0449 gallons per foot, which is 4.49 gallons per 100 feet. Copper Type L at the same nominal size holds 0.0429 gallons per foot.
How do I find the inside diameter without cutting the pipe?
Measure the outside diameter with a caliper, look up the wall thickness for the material and schedule, and subtract twice the wall. For 3/4 inch Schedule 40 PVC: 1.050 - 0.226 = 0.824 inches.
Spotted a wrong number or a broken result?
More Converters tools
- 12 Hour to 24 Hour Converter Calculator
- Acres to Hectares Converter
- Acres to Linear Feet Calculator
- Acres to Square Feet Converter
- Activation Energy Calculator
- Air Density Calculator
- Amps to Watts Calculator
- Angle Converter
- Angle of Depression Calculator
- Angle of Elevation Calculator
- Area Calculator
- Area Converter
- BPM to FPS Calculator
- BPM to Hz Calculator
- BPS to Hz Calculator
- BTU per Hour to Tons Converter
Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.