Pipe Volume Calculator
Find the water volume inside a pipe run from its schedule or tube type, nominal size and length. Real bores from ASME B36.10M, ASTM B88 and ASTM F876.
Pipe Volume Calculator
Background.
A pipe volume calculator answers a question that sounds trivial and is not: how much water is actually sitting inside a run of pipe? The trap is the word "nominal". A pipe labelled 3/4 inch is not 3/4 inch across the inside. In Schedule 40 steel it measures 0.824 in; in Type L copper it measures 0.785 in; in Type M copper it measures 0.811 in; in PEX at the ASTM F876 SDR-9 nominal wall it measures about 0.681 in. Those four pipes all say "3/4" on the outside, and the widest of them holds about 46 percent more water per foot than the narrowest. Any calculator that asks you for a radius and multiplies by π has already lost the argument, because nobody knows the radius of their pipe — they know the size stamped on it.
This page therefore starts from the schedule or tube type rather than from a measurement. You pick the material and schedule, pick the trade size, and the calculator looks the real outside diameter and wall thickness out of the published dimension standard: ASME B36.10M for iron pipe size steel, ASTM D1785 for PVC and CPVC on the same IPS series, ASTM B88 for copper water tube Types K, L and M, and ASTM F876 for PEX. Inside diameter is then outside diameter minus twice the wall, cross-sectional area is π times half that squared, and volume is area times developed length. Every conversion after that is exact by definition: one US gallon is exactly 231 cubic inches and exactly 3.785411784 litres, and one cubic foot is exactly 1728 cubic inches.
The reasons people need the number are unglamorous and specific. Disinfecting a new or repaired water main requires a chlorine dose measured against the volume being treated, so you have to know the volume before you can mix anything. Flushing a line after a repair, or purging air from a hydronic loop, is specified in pipe volumes — two or three volume changes, not two or three minutes. Filling a closed heating loop tells you how much glycol you need and how big an expansion tank has to be. Draining a system before winter tells you how many buckets to have ready. Estimating how long stagnant water has been sitting in a service line, or how much of it you have to run off before a sample is representative, is a volume question. And when a run is suspended, the weight of the water inside it is a real load on the hangers: the worked example below holds enough water to weigh over 360 pounds.
The worked example is 250 feet of 2 inch Schedule 40 steel. The bore is 2.375 minus twice 0.154, which is 2.067 inches. The cross-sectional area is 3.355603 square inches, so one linear foot holds 0.1743171436 gallons and the whole run holds 43.5792858927 US gallons — 164.9655423564 litres, or 5.8257031488 cubic feet. The water in it weighs about 363.45 pounds. Independent published pipe-capacity tables give 0.174 gallons per foot for 2 inch Schedule 40, which is what this calculation rounds to, and 0.661 for 4 inch, which it also reproduces.
Two honest limits are worth stating before you use the result. First, copper and PEX are tabulated here for 1/2 inch through 2 inch only, because those are the rows that could be sourced; asking for a larger copper size returns an error telling you to use the Custom mode rather than an interpolated wall thickness that would be a guess. Second, PEX is specified by standard dimension ratio rather than by a fixed wall table, so this page uses the ASTM F876 SDR-9 nominal bore of OD times seven ninths. Manufacturers extrude slightly above minimum wall, so a tape-measured PEX bore comes out roughly 0.01 inch smaller than the nominal figure. Where that 2 percent matters, use Custom and enter the outside diameter and wall from your own data sheet.
Finally, this calculator computes a volume; it does not size anything. Pipe sizing for potable water is governed by the plumbing code your jurisdiction has adopted — the International Plumbing Code or the Uniform Plumbing Code, with local amendments — and adopted editions differ from state to state and city to city. Disinfection volumes and contact times come from AWWA C651 and from the health authority with jurisdiction. Use this number as an input to that work, and have a licensed plumber sign off before anything is cut, filled or dosed.
What is pipe volume calculator?
Pipe volume is the internal capacity of a length of pipe: the amount of liquid it holds when it is completely full. It is computed as the cross-sectional area of the bore multiplied by the developed length of the run, and it is normally reported in US gallons, litres or cubic feet.
The vocabulary that matters is nominal size, outside diameter, wall thickness, inside diameter (or bore), schedule, tube type, and standard dimension ratio. Nominal size is a trade label. Outside diameter is fixed for a given nominal size within a series — every Schedule of 2 inch IPS pipe has an outside diameter of 2.375 inches, and the schedule number changes only the wall. Wall thickness is what the schedule or the tube type selects: Schedule 80 has a thicker wall and a smaller bore than Schedule 40 at the same nominal size, and copper Type K is thicker than Type L, which is thicker than Type M. Inside diameter is outside diameter minus twice the wall thickness, and it is the only dimension that affects volume.
PEX works differently again. ASTM F876 specifies it by standard dimension ratio: SDR-9 means the minimum wall is one ninth of the outside diameter, so the nominal bore is seven ninths of the outside diameter at every size. Because that is a minimum, real tubing is a little thicker walled and a little narrower bored than the nominal figure.
This calculator is valid for a full, straight run of a single pipe size. It does not account for fittings, valves, partially filled drainage pipe, or the volume of tanks and vessels the pipe connects to. It is a volume, not a code compliance calculation.
How to use this calculator.
- Choose the pipe material and schedule or tube type. This is the choice that sets the real bore — Schedule 40 steel, Schedule 80 steel, PVC or CPVC Schedule 40 or 80, copper Type K, L or M, or PEX at SDR-9.
- Choose the nominal trade size printed on the pipe. Copper and PEX are tabulated here for 1/2 in through 2 in; the 3, 4 and 6 in options apply to the IPS materials only.
- If your pipe is not in the list — an unusual alloy, a metric tube, a lined pipe, or PEX where you need the measured rather than the nominal bore — set the material to Custom and enter the outside diameter and wall thickness from your own data sheet.
- Enter the developed length of one run and choose feet, inches or metres. Measure along the pipe, following every offset, not point to point.
- If you have several identical runs of the same pipe, enter how many. The calculator totals them.
- Read the volume in gallons as the headline figure, and the capacity per foot beside it if you want to re-scale the answer for a different length later.
- Check the reported inside diameter against your own pipe before you trust the number. If it does not match what you measure, switch to Custom.
- Take the water weight into account if the run is suspended, and have a licensed plumber confirm any sizing, purging or disinfection decision against your adopted code.
The formula.
The calculation runs in four steps. First, the bore: inside diameter equals outside diameter minus twice the wall thickness. For 2 inch Schedule 40 steel that is 2.375 − 2 × 0.154 = 2.067 inches. Second, the cross-section: area equals π times the square of half the bore, so π × 1.0335² = 3.355603 square inches. Third, the volume: area times developed length in inches. For 250 feet that is 3.355603 × 3000 = 10 066.81 cubic inches. Fourth, the conversions, all of which are exact by definition rather than approximations — one US gallon is exactly 231 cubic inches, so 10 066.81 ÷ 231 = 43.5792858927 gallons; one US gallon is exactly 3.785411784 litres, giving 164.9655423564 litres; and one cubic foot is exactly 1728 cubic inches, giving 5.8257031488 cubic feet. Capacity per foot is the same area times 12 inches divided by 231, which is 0.1743171436 gallons per foot. Water weight uses 8.34 pounds per US gallon, the figure on state water-operator certification conversion sheets for water near 60 °F, giving 363.4512443449 pounds for the worked example. All arithmetic is carried at full precision and rounded only at the final result, so the capacity per foot and the total volume are consistent with each other rather than being separately rounded figures that no longer multiply out.
A worked example.
A contractor has to chlorinate 250 feet of new 2 inch Schedule 40 steel service line and needs the volume before mixing the dose. Two inch IPS pipe has an outside diameter of 2.375 inches, and Schedule 40 puts a 0.154 inch wall on it, so the bore is 2.067 inches — not two inches. The cross-sectional area is 3.355603 square inches, which means one linear foot of this pipe holds 0.1743171436 gallons. Over 250 feet that is 43.5792858927 US gallons, or 164.9655423564 litres, or 5.8257031488 cubic feet. The water alone weighs 363.4512443449 pounds, which matters because the run is suspended on hangers. Published pipe-capacity tables list 0.174 gallons per foot for this size, which is exactly what the computed 0.1743171436 rounds to.
Frequently asked questions.
Why is the inside diameter smaller than the size printed on the pipe?
How many gallons are in a foot of pipe?
Does the schedule number change the outside diameter?
Why does the PEX result carry a warning?
Why are copper and PEX only offered up to 2 inch?
Can I use this for a partly full drain or sewer pipe?
How much does the water inside a pipe weigh?
Is this calculation enough to size a water line or set a chlorine dose?
Does PVC hold the same amount of water as steel at the same size?
References& sources.
- [1]ASME B36.10M, Welded and Seamless Wrought Steel Pipe — outside diameters and Schedule 40 / 80 wall thicknesses for NPS 1/2 through 6. The standard is sold by ASME; the dimensional rows used here were read from two independent republishers that both name ANSI/ASME B36.10M and whose inch and millimetre values agree.
- [2]Engineers Edge — Schedule 40 steel pipe sizes and dimensions, citing ANSI/ASME B36.10M-1995. Source of the Schedule 40 outside diameter, wall thickness and inside diameter rows used in this calculator.
- [3]Engineers Edge — copper tubing size chart to ASTM B88, giving outside diameter and Type K, L and M wall thickness and inside diameter for nominal 1/2 through 2 inch.
- [4]ASTM F876, Standard Specification for Crosslinked Polyethylene (PEX) Tubing — the SDR-9 requirement that fixes minimum wall at one ninth of the outside diameter, from which the nominal bore used here is derived. Standard is available for purchase from ASTM International.
- [5]ASTM D1785, Standard Specification for Poly(Vinyl Chloride) (PVC) Plastic Pipe, Schedules 40, 80 and 120 — the specification that places PVC and CPVC on the same iron pipe size outside diameters and schedule wall thicknesses as steel. Standard is available for purchase from ASTM International.
- [6]California State Water Resources Control Board, Division of Drinking Water — water treatment operator certification examination conversion sheet (2016), giving the weight of water as 8.34 pounds per US gallon.
- [7]PipeFlowCalculations — PVC Schedule 40 dimension chart citing ASTM D1785, used as the secondary check on the PVC wall thicknesses. Its 1 inch row prints 1.32 in outside diameter where the IPS series gives 1.315; this calculator uses 1.315, as recorded in the build dossier.
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 977 calculators remain free
- No billing is enabled