General calculator
Pipe Volume Calculator
A pipe volume calculator that tells you how much water a pipe actually holds, in gallons, litres and cubic feet, from the real bore, not the size printed on the pipe. Pick the pipe type and nominal size and this calculator loads the real bore from the standard, then gives you the volume, the weight of the water, the gallons per foot and how long the run takes to fill or drain at any flow rate.
- Free to use
- No sign-up
- Formula and sources shown

Got the number? Save it before it gets lost.
A result on a screen is easy to lose. Save this estimate in the app and it stays with the project, ready when you order.
The type sets the real inside diameter. Schedule 40 PVC and steel share bores; copper and PEX are smaller at the same nominal size.
The size printed on the pipe. The calculator loads the real bore for this type and size.
Type the actual bore here to override the table, from the manufacturer's data sheet, or for an odd size. Leave blank to use the table.
Total length of the run, measured along the pipe. Fittings are not counted. Add about 5% for a run with many fittings.
Two identical mains hold twice the volume.
For the fill or drain time. Leave at 0 if you do not need it.
Water in the pipe
17.43 gal
66.0 litres, 2.33 cu ft, bore 2.067 in
Weight of the water
145.5 lb (66.0 kg)
Gallons per foot
0.174
Length holding 10 gallons
57.4 ft
Fill / drain time
Enter a flow rate
Turn this result into a priced plan
Save it to a project, add the rest of your materials, and send a client-ready quote. No retyping, no spreadsheet, no lost numbers.
Formula
Volume = π ÷ 4 × inside diameter² × length; US gallons = cubic inches ÷ 231; water weight = gallons × 8.345 lb
Worked example. 100 ft of 2 in Schedule 40 PVC: the real inside diameter is 2.067 in, so the cross-section is π ÷ 4 × 2.067² = 3.356 sq in, and the volume is 3.356 × 1,200 in = 4,027 cu in ÷ 231 = 17.43 US gallons (66.0 litres, 2.33 cu ft). The water weighs 17.43 × 8.345 = 145.5 lb, and each foot of the run holds 0.174 gallons, so 57.4 ft of this pipe holds 10 gallons.
100 ft of 2 in Schedule 40 PVC holds 17.43 US gallons of water, 66.0 litres, 2.33 cu ft, and that water weighs 145.5 lb. Each foot of the run holds 0.174 gallons, so 57.4 ft of the same pipe holds 10 gallons. The trap is the diameter: the size printed on the pipe is not the bore. A 2 in PVC pipe is 2.067 in inside, a 2 in copper pipe is 1.985 in inside and a 2 in PEX pipe is only 1.754 in inside. This page loads the real bore from the pipe type and size.
Key takeaways
- •The default run, 100 ft of 2 in Schedule 40 PVC, holds 17.43 US gallons (66.0 litres, 2.33 cu ft) and the water weighs 145.5 lb.
- •Use the inside diameter, not the nominal size. A 2 in PVC pipe is 2.067 in inside, copper Type L is 1.985 in, and PEX is 1.754 in, and volume goes with the square of the bore.
- •Volume scales with the square of the diameter and linearly with length: doubling the bore roughly quadruples the capacity, while doubling the length only doubles it.
- •Gallons per foot is constant for a given bore: 0.045 for 1 in Schedule 40, 0.174 for 2 in, 0.661 for 4 in. Any length is a single multiplication.
- •Water weighs 8.345 lb per gallon. 100 ft of 4 in pipe holds about 66 gallons and weighs about 550 lb, enough to matter for hangers and floors.
- •Fill and drain time is volume divided by flow rate: 17.43 gallons at 5 gallons per minute takes about 3.5 minutes.
- •Fittings, bends and valves are not counted. Add about 5% to the length for a run with many fittings.
- •The same bore holds the same volume whatever the pipe is made of, steel, PVC, copper or PEX, as long as the inside diameter is the same.
How to use the pipe volume calculator
- Pick the pipe type: PVC Schedule 40, steel Schedule 40, copper Type L, or PEX SDR 9. The calculator loads the real inside diameter for the size you pick, the bore, not the label.
- Pick the nominal size. The sizes run from 1/2 in to 4 in, and the bore shown is the standard value for that type and size.
- If you know the actual bore; from the manufacturer's data sheet, or because the pipe is an odd size, choose Custom and type the inside diameter in inches. That overrides the table.
- Enter the total length of the run in feet, measured along the pipe. For several identical runs, set the number of runs and the calculator multiplies the volume.
- Enter a flow rate in gallons per minute if you want the fill or drain time. Leave it at zero if you do not need it.
- Read the volume in US gallons, litres and cubic feet, the weight of the water in pounds and kilograms, the gallons per foot, and the length of this pipe that holds 10 gallons. The number for a quick field check.
Worked examples
1. The default: 100 ft of 2 in Schedule 40 PVC
- Inside diameter: 2.067 in (from ASTM D1785 for 2 in Schedule 40 PVC)
- Cross-section: π ÷ 4 × 2.067² = 3.356 sq in
- Volume: 3.356 sq in × 1,200 in = 4,027 cu in ÷ 231 = 17.43 US gallons
- In litres: 17.43 × 3.7854 = 66.0 litres; in cubic feet: 17.43 ÷ 7.4805 = 2.33 cu ft
- Weight: 17.43 × 8.345 = 145.5 lb (66.0 kg)
- Per foot: 0.174 gallons; length holding 10 gallons: 10 ÷ 0.174 = 57.4 ft
2. Draining a boiler loop: 120 ft of 3/4 in copper Type L
- Inside diameter: 0.785 in (ASTM B88, 3/4 in copper Type L)
- Cross-section: π ÷ 4 × 0.785² = 0.484 sq in
- Volume: 0.484 × 1,440 in = 697 cu in ÷ 231 = 3.02 US gallons (11.4 litres)
- Weight: 3.02 × 8.345 = 25.2 lb, a bucket, not a drum
- At a drain rate of 2 gallons per minute, the loop empties in about 1.5 minutes
- The same 120 ft in 3/4 in Schedule 40 PVC would hold 3.32 gallons, because its bore is 0.824 in, about 10% more
3. A long irrigation main: 500 ft of 4 in Schedule 40 PVC, two runs
- Inside diameter: 4.026 in; cross-section: π ÷ 4 × 4.026² = 12.73 sq in
- One run: 12.73 × 6,000 in = 76,380 cu in ÷ 231 = 330.6 gallons
- Two runs: 661.3 gallons (2,503 litres, 88.4 cu ft)
- Weight: 661.3 × 8.345 = 5,518 lb, over two and a half tons of water in the pipes
- Per foot: 0.661 gallons, so a leak of one gallon a minute empties about 1.5 ft of pipe a minute
- At a fill rate of 20 gallons per minute, the two runs take about 33 minutes to fill
Nominal size is not the inside diameter
Nominal pipe size is a historical label, not a measurement, and it exists so fittings line up. Not so you can calculate volume from it. The label is close to the outside diameter on small pipe and nowhere near it on large pipe, and the inside diameter depends on the wall thickness, which depends on the schedule and the material. A 2 in Schedule 40 pipe and a 2 in Schedule 80 pipe have the same outside diameter and different bores, because the Schedule 80 wall is thicker.
| Nominal size | PVC / Steel Sch 40 bore | Copper Type L bore | PEX SDR 9 bore | Gal per ft (Sch 40) |
|---|---|---|---|---|
| 1/2 in | 0.622 in | 0.545 in | 0.475 in | 0.016 |
| 3/4 in | 0.824 in | 0.785 in | 0.671 in | 0.028 |
| 1 in | 1.049 in | 1.025 in | 0.875 in | 0.045 |
| 1 1/4 in | 1.380 in | 1.265 in | 1.121 in | 0.078 |
| 1 1/2 in | 1.610 in | 1.510 in | 1.352 in | 0.106 |
| 2 in (default) | 2.067 in | 1.985 in | 1.754 in | 0.174 |
| 3 in | 3.068 in | 2.945 in | n/a | 0.384 |
| 4 in | 4.026 in | 3.905 in | n/a | 0.661 |
Bores from ASME B36.10M, ASTM D1785, ASTM B88 and ASTM F876. PEX is not commonly made above 2 in in SDR 9. Gallons per foot are for Schedule 40.
The table shows why the pipe type matters as much as the size. At 2 in nominal, PVC holds 0.174 gallons per foot, copper holds 0.161, and PEX holds 0.126. A 28% spread between PVC and PEX at the same labelled size. On a 100 ft run that is the difference between 17.4 gallons and 12.6 gallons, which is the difference between a correct chemical dose for a boiler loop and a 28% overdose. For precision work, commissioning a large system, calculating a chemical dose, or checking water hammer, use the actual bore from the manufacturer's data sheet, not the nominal size.
For ordinary water-volume estimates the nominal size is a reasonable starting point, because the difference between nominal and bore is usually a few percent on PVC and steel. It is PEX where the gap is biggest, because PEX walls are thick relative to the bore. If the pipe is PEX and the volume matters, measure the bore or look it up. Do not guess from the label.
Gallons per foot: the field shortcut
Per-foot capacity is constant for a given bore, so any length is a single multiplication, and that makes it the most useful number on the page for field work. If you know a run is 2 in Schedule 40, you know it holds 0.174 gallons per foot without a calculator: 50 ft is 8.7 gallons, 200 ft is 34.9 gallons, and the length that holds 10 gallons is 57.4 ft. Tape the run, multiply, done.
| Schedule 40 bore | Gal per foot | Gal per 100 ft | Litres per metre |
|---|---|---|---|
| 1/2 in (0.622 in) | 0.016 | 1.58 | 0.20 |
| 3/4 in (0.824 in) | 0.028 | 2.77 | 0.34 |
| 1 in (1.049 in) | 0.045 | 4.49 | 0.55 |
| 1 1/2 in (1.610 in) | 0.106 | 10.6 | 1.31 |
| 2 in (2.067 in) | 0.174 | 17.4 | 2.15 |
| 3 in (3.068 in) | 0.384 | 38.4 | 4.74 |
| 4 in (4.026 in) | 0.661 | 66.1 | 8.16 |
Schedule 40 PVC or steel. Copper and PEX hold slightly less at the same nominal size. See the bore table above.
The per-foot table also shows the square law in action. Doubling the bore from 1 in to 2 in takes the capacity from 0.045 to 0.174 gallons per foot, nearly four times, not twice, because the area goes with the square of the diameter. Doubling again, from 2 in to 4 in, takes it from 0.174 to 0.661, again nearly four times. That is why upsizing a pipe is so effective for storage and so expensive for water weight: a 4 in main holds almost fifteen times the water of a 1 in pipe of the same length.
Weight: why a full pipe is heavy
Water weighs 8.345 lb per US gallon, or 62.4 lb per cubic foot, and a long run of large pipe holds a surprising amount of it. 100 ft of 4 in Schedule 40 pipe holds about 66 gallons and weighs about 550 lb, the water alone, before the pipe. A 500 ft irrigation main in 4 in pipe holds 330 gallons per run and weighs 2,759 lb per run. That weight matters in three places: hangers, floors and draining.
Hangers are sized for the pipe full of water, not empty, and a hanger schedule that works for an empty pipe can fail on a full one, especially on plastic pipe, which sags more than metal. Floors matter when a pipe runs across a structure that was not designed for it: 550 lb spread over 100 ft is only 5.5 lb per foot, but 5,518 lb in two 500 ft mains is a real load, and it is a load that appears the moment the system is filled and disappears the moment it is drained.
Draining matters because the water has to go somewhere. A boiler loop with 3 gallons drains into a bucket; a 500 ft 4 in main with 330 gallons drains into a tank, a drain field, or a very wet floor. Knowing the volume before you open the drain valve is the difference between a controlled drain-down and a flood, and the fill time on this page tells you how long the drain-down will take at the rate your drain can carry.
For the volume of a tank the pipe feeds, use the tank volume calculator, and for a pool the pipe serves, the pool calculator. For the concrete around a buried pipe, the concrete calculator works out the volume to order.
Fill time, drain time and flushing
Fill and drain time is the volume divided by the flow rate, and it is the number that turns a volume into a schedule. A 17.43 gallon run at 5 gallons per minute fills in 3.5 minutes; the same run at 1 gallon per minute takes 17.4 minutes. The rate is whatever your supply or your drain can actually carry. A garden hose delivers about 5 to 10 gallons per minute, a 3/4 in drain valve about 10 to 15, and a pump whatever its curve says at the head it is working against.
Flushing is the same arithmetic with a multiplier. A single volume change replaces the water in the pipe once, but a flush that actually clears sediment or a chemical needs three to five volume changes, because the new water mixes with the old instead of pushing it out like a piston. A 17.43 gallon run flushed at 5 gallons per minute needs 10.5 to 17.5 minutes for three to five changes, not 3.5 minutes, and a run flushed for one volume change is a run that still holds most of what you were trying to flush out.
Winter drain-down is the use case where the time matters most. A system that holds 66 gallons takes over an hour to drain at 1 gallon per minute through a small valve, and every minute of that hour is a minute the pipe is still full in freezing weather. Size the drain valve for the volume, not for the pipe size, and start the drain-down early.
Common pipe volume mistakes
- •Using the nominal size as the bore. A 2 in PEX pipe is 1.754 in inside, not 2 in. A 30% overstatement of the volume if you use the label.
- •Using the outside diameter. The outside diameter includes the wall twice, and on small pipe the wall is a large share of the diameter.
- •Forgetting that volume goes with the square of the diameter. Doubling the bore quadruples the capacity. A 4 in pipe holds nearly fifteen times a 1 in pipe, not four times.
- •Counting the pipe but not the fittings. A run with many elbows, tees and valves holds more than the straight pipe alone. Add about 5% to the length.
- •Using the weight of the pipe instead of the weight of the water. The water is usually heavier than the pipe, especially in plastic pipe.
- •Flushing for one volume change. A real flush needs three to five volume changes, because the new water mixes with the old.
- •Mixing US and imperial gallons. A US gallon is 231 cu in; an imperial gallon is 277.4 cu in, 20% bigger. This page uses US gallons throughout.
- •Forgetting the second run. Two identical runs hold twice the volume, and the calculator's run count is there for exactly that reason.
How this calculator compares with the rivals
The pipe volume search is crowded with good calculators, and the best of them are very good, which means this page has to win on the things they leave out, not on the arithmetic. The gap is the combination: real bores by pipe type, multi-run totals, fill and drain time, and the reverse lookup of how much pipe holds a given volume, in one place.
| Rival | What it offers | Where this page beats it |
|---|---|---|
| BuildItCalc | Pipe Volume Calculator | Water volume from diameter and length, in gallons and litres | The namesake rival gives the volume for one pipe. This page adds the real bore by pipe type and schedule, multiple runs, the weight, the gallons per foot, the fill/drain time and the reverse length lookup. |
| CalcMaple | Pipe Volume Calculator | Volume in gallons, litres and cubic feet with the weight, from the real inside diameter, with a Schedule 40 table | The strongest rival on the bore table. This page adds multiple runs, the fill/drain time at any flow rate, and the length that holds a given volume. |
| BurdsNestBrewing | Water Volume in a Pipe Calculator | Volume in every unit, per-foot and per-metre capacity, fill/drain time at a flow rate, advanced fittings and fluid options | The deepest rival overall. This page matches it on the essentials and adds the pipe-type bore tables for copper and PEX, and the guide that explains why the bore matters. |
| TheBuildingCode | How to calculate pipe volume | Formula, unit conversions, and a quick-reference table by nominal size, with the nominal-vs-bore warning | Good on the formula and the warning. This page adds the interactive calculator with real bores, multiple runs and the fill time. |
| ACalculator | Pipe Volume Calculator | Volume from inside diameter or outside diameter and wall thickness, with weight and per-foot figures, checked against examples | Good on the outside-diameter input. This page adds the pipe-type bore tables, so the reader does not have to know the wall thickness, plus multiple runs and fill time. |
| PonderLoop | Pipe Volume Calculator | Up to six runs by pipe type and size, flow rate and flush time, with a gallons-per-100-ft table by type | The best rival on multiple runs. This page adds the reverse lookup, the weight in pounds and kilograms, and the guide on hangers, floors and draining. |
| CalculatorSoup | No pipe volume calculator in the top results for this keyword | Its strength is general-purpose calculators. |
The honest summary: PonderLoop and BurdsNestBrewing are the rivals to watch, because they already handle multiple runs and flow rates. No rival offers the real bore by pipe type and schedule, multiple runs, the weight, the gallons per foot, the fill/drain time and the reverse length lookup together with a guide that explains the nominal-vs-bore trap and the square law. This page wins by being the only one that does all of it.
Assumptions
- •The pipe is straight, round and full of water. Fittings, bends, valves and reducers are not counted. Add about 5% to the length for a run with many fittings, or measure the fittings as equivalent length.
- •Inside diameters are the published standard values: ASME B36.10M for Schedule 40 steel, ASTM D1785 for Schedule 40 PVC, ASTM B88 for copper Type L, and ASTM F876 SDR 9 for PEX (typical. PEX makers' tubing varies by a few percent). Always confirm against the manufacturer's data sheet for precision work.
- •Water weighs 8.345 lb per US gallon (62.4 lb per cubic foot) at normal temperatures, and 1 litre weighs about 1 kg. Hot water weighs slightly less, and other liquids weigh differently. The weight figure is for water only.
- •The fill and drain time is the volume divided by the flow rate, and it assumes the flow rate is steady. A pump that starts slowly, a partially open valve or a long vertical lift will all make the real time longer.
Sources✓ Verified
- ASME B36.10M (steel pipe) and ASTM D1785 (PVC pipe). Inside diameters by nominal size and schedule. The bore values this calculator uses for Schedule 40.
- ASTM B88 (copper tube) and ASTM F876 (PEX tubing). Inside diameters for copper Type L and PEX SDR 9.
- NIST Handbook 44, Appendix C. 1 US gallon = 231 cu in exactly; 1 US gallon = 3.785411784 litres; 1 in = 2.54 cm.
Formula reviewed November 2026.
100 ft of 2 in Schedule 40 PVC holds 17.43 US gallons (66.0 litres), because the real inside diameter is 2.067 in, not 2 in. The water weighs 145.5 lb. The same length of 2 in copper Type L holds slightly less, about 16.1 gallons, because its inside diameter is 1.985 in, and 2 in PEX holds about 12.5 gallons, because its bore is only 1.754 in.
Volume = π ÷ 4 × inside diameter² × length, with the diameter and length in the same unit. In inches and feet: gallons = π ÷ 4 × ID² × length in feet × 12 ÷ 231. For a 1 in Schedule 40 pipe (1.049 in bore) that is 0.045 gallons per foot; for a 4 in pipe (4.026 in bore) it is 0.661 gallons per foot.
The inside diameter. Nominal size is a historical label, not a measurement: a 2 in Schedule 40 pipe is 2.067 in inside, a 2 in copper Type L pipe is 1.985 in inside, and a 2 in PEX pipe is 1.754 in inside. Using the nominal size understates a PVC pipe by about 7% and overstates a PEX pipe by about 30%. This calculator loads the real bore from the pipe type and size, so you do not have to look it up.
Water weighs 8.345 lb per US gallon, or 62.4 lb per cubic foot. 100 ft of 4 in Schedule 40 pipe holds about 66 gallons, which weighs about 550 lb. Enough to matter when you are hanging the pipe, draining a system, or working out whether a floor can carry a full pipe. The weight on this page is the water only, not the pipe.
Divide the volume by the flow rate. 100 ft of 2 in Schedule 40 PVC holds 17.43 gallons, so at 5 gallons per minute it takes about 3.5 minutes to fill and the same to drain. Enter any flow rate in the calculator and it works the time out for your run, useful for flushing a line, dosing a boiler loop, or timing a drain-down before winter.
It depends on the square of the bore, so doubling the diameter roughly quadruples the capacity: 1/2 in Schedule 40 holds 0.016 gallons per foot, 1 in holds 0.045, 2 in holds 0.174, and 4 in holds 0.661. Per-foot capacity is constant for a given bore, so any length is a single multiplication. Handy for a quick field estimate.
Converters to use with the Pipe Volume Calculator
Switch units, compare bulk and bagged quantities, or check coverage, without leaving BuildCova.
Volume, Area & UnitsPipe Size Converter (NPS to OD in mm & Inches)A 2 in pipe is 2.375 in outside, every schedule.
Volume, Area & UnitsCubic Feet to Cubic Yards ConverterDivide by 27: any volume in seconds.
Volume, Area & UnitsSquare Feet to Square Yards ConverterDivide by 9: carpet, turf and paving.
Slope & MeasurementFeet & Inches to Decimal Feet Converter5 ft 6 in = 5.5 ft, both directions.More general calculators
GeneralPool Salt CalculatorThis pool salt calculator works out how much salt to add from two numbers only: the pool volume and the gap between the current salinity and the target. A saltwater pool makes its own chlorine from salt, and the cell needs the water at the right salinity, usually 3,000 to 3,500 ppm. When the level drops, after rain, backwashing or a top-up, you add salt to bring it back.
GeneralPool Heater Size CalculatorThis pool heater size calculator works out the heater output your pool needs from its surface area, the temperature rise you want and how exposed it is to wind, so the heater you buy warms the pool. A 400 sq ft pool raised 20°F in moderate wind needs 120,000 BTU/hr of output: a gas heater of 142,857 BTU/hr input, an electric heater of 35.2 kW, a heat pump drawing 7.0 kW, or 200–400 sq ft of solar collectors. The same pool takes 20.8 hours to heat from cold.
GeneralPool Chemical CalculatorThis pool chemical calculator turns your pool volume and readings into every dose in the balance panel, chlorine, pH, alkalinity, calcium and stabilizer, so the water is balanced, not guessed. A 14,960-gallon pool at 1 ppm chlorine, pH 7.8, alkalinity 60 ppm, calcium 180 ppm and no stabilizer needs 32 fl oz of liquid chlorine, 53.9 fl oz of muriatic acid, 9 lb of baking soda, 13.1 lb of calcium chloride and 6 lb of stabilizer. Fix alkalinity first, then pH, then chlorine, and stabilizer last.
GeneralConcrete Weight CalculatorThis concrete weight calculator turns your slab, column or footing dimensions and your mix into the weight in pounds, kilograms and tons, so you know what the truck and the footing have to carry. A 10 ft by 10 ft slab, 4 in thick, is 33.33 cu ft of concrete, and at the normal density of 150 lb per cu ft it weighs 5,000 lb, 2,268 kg, 2.5 short tons, 2.27 metric tonnes. The same slab weighs 3,667 lb lightweight, 5,167 lb reinforced and 1,667 lb foam.
GeneralTrapezoid Area CalculatorA trapezoid area calculator that works out the area of any trapezoid from the two parallel bases and the perpendicular height between them, and that recovers the height when it was never measured. Bases of 10 ft and 6 ft with a height of 4 ft give an area of 32 sq ft, a midsegment of 8 ft, 3.56 sq yd and 2.97 sq m. An isosceles trapezoid with bases of 20 ft and 12 ft and equal legs of 5 ft has a height of 3 ft and an area of 48 sq ft, and a right trapezoid with a perpendicular leg of 4 ft has the same 32 sq ft with a perimeter of 25.66 ft. Pick the measurements you actually have and the calculator does the rest.
GeneralCircle Area CalculatorA circle area calculator that finds the area of a circle from the one measurement you have, the radius, the diameter or the circumference, and that covers the full circle, the semicircle and the quarter circle as separate modes. A radius of 6 ft gives a diameter of 12 ft, a circumference of 37.7 ft and an area of 113.1 sq ft, which is 12.57 sq yd and 10.51 sq m. The same radius as a semicircle is 56.55 sq ft with a perimeter of 30.85 ft, and as a quarter circle it is 28.27 sq ft with a perimeter of 21.42 ft. Pick what you measured and the calculator derives the rest.Was this calculator helpful?
Material requirements can vary based on product specifications and job conditions. Verify quantities with your supplier before ordering.