Audited 29 Jul 2026·Last updated 31 Jul 2026·7 citations·Tier 1·0 uses

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

Pipe material and schedule / type
Nominal trade size
Used only when the material is set to Custom. Measure across the outside of the pipe.
in
Used only when the material is set to Custom. Enter 0 for a thin-wall tube whose printed size is already the bore.
in
Developed length of pipe, measured along the pipe rather than point to point.
Length unit
Use this to total several equal-length runs of the same pipe in one step.
Water volume in the run
43.5793
Total internal volume, in US gallons. Adopted plumbing codes and their local amendments vary by jurisdiction — have a licensed plumber confirm any sizing, purging or disinfection decision this number feeds.
Water volume
164.9655 L
Capacity per foot
0.1743 gal/ft
Water volume
5.8257 ft³
Actual inside diameter
2.067 in
Outside diameter
2.375 in
Wall thickness
0.154 in
Total pipe length
250 ft
Weight of the water
363.4512 lb

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.

  1. 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.
  2. 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.
  3. 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.
  4. Enter the developed length of one run and choose feet, inches or metres. Measure along the pipe, following every offset, not point to point.
  5. If you have several identical runs of the same pipe, enter how many. The calculator totals them.
  6. 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.
  7. 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.
  8. 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.

V = π · ((OD − 2t) ⁄ 2)² · L ⁄ 231

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.

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.

length Value250
nominal Size In2
pipe Count1
custom Outside Diameter In2.375
length Unitft
custom Wall Thickness In0.154
pipe SpecsteelSch40

Frequently asked questions.

Why is the inside diameter smaller than the size printed on the pipe?
Because nominal size is a trade label, not a measurement. In the iron pipe size series the outside diameter is fixed for each nominal size — 2 inch IPS is always 2.375 inches outside — and the schedule number changes the wall thickness, which eats into the bore. Schedule 40 gives 2 inch pipe a 0.154 inch wall and a 2.067 inch bore; Schedule 80 gives it a 0.218 inch wall and a 1.939 inch bore. Copper tube is stranger still: Copper Tube Size outside diameter is the nominal size plus 0.125 inch, so 3/4 inch Type L copper is 0.875 inch outside and 0.785 inch inside.
How many gallons are in a foot of pipe?
It depends entirely on the bore. Using the tables on this page, one foot holds about 0.0158 gallons in 1/2 in Schedule 40, 0.0277 in 3/4 in Schedule 40, 0.0449 in 1 in Schedule 40, 0.1743171436 in 2 in Schedule 40, 0.6613 in 4 in Schedule 40, and 0.0251419212 in 3/4 in Type L copper. The calculator reports capacity per foot as a separate output so you can re-scale to any length without re-running it.
Does the schedule number change the outside diameter?
No. Within the iron pipe size series the outside diameter is the same for every schedule at a given nominal size, which is what lets the same fittings and threads work across schedules. Only the wall thickness changes, and therefore only the bore changes. That is why the calculator asks for the schedule: it is the wall, not the outside diameter, that decides how much water the pipe holds.
Why does the PEX result carry a warning?
Because ASTM F876 specifies PEX by standard dimension ratio rather than by a fixed wall table. SDR-9 means the minimum wall is one ninth of the outside diameter, so the nominal bore is seven ninths of the outside diameter — 0.4861 inch for 1/2 inch tubing. Manufacturers extrude above the minimum wall, so published data sheets show a real bore closer to 0.475 inch, roughly 2 percent narrower. This page uses the standard's nominal figure and says so; if the difference matters to you, switch the material to Custom and enter the outside diameter and wall from your own data sheet.
Why are copper and PEX only offered up to 2 inch?
Because those are the rows that could be sourced from the published dimension tables. Rather than interpolate a wall thickness for a size that was not verified, the calculator returns an error telling you to use the Custom mode. A guessed wall thickness would produce a confidently wrong bore, and a wrong bore is squared in the volume calculation, so a 5 percent error in the wall becomes a much larger error in gallons.
Can I use this for a partly full drain or sewer pipe?
No. This calculator assumes the pipe is completely full, which is right for pressurised supply piping and for a filled heating loop, but wrong for gravity drainage. Sanitary and storm drainage lines are designed to run part full, and the volume of a partly filled circular pipe is a circular-segment calculation that depends on the depth of flow, not a simple area times length.
How much does the water inside a pipe weigh?
About 8.34 pounds per US gallon near 60 °F, which is the figure used on state water-operator certification conversion sheets. The worked example — 250 feet of 2 inch Schedule 40 — holds 43.5792858927 gallons and therefore about 363.45 pounds of water. That is a real load on pipe hangers and on any structure carrying a long horizontal run, and it is the water only: the steel pipe itself adds substantially more.
Is this calculation enough to size a water line or set a chlorine dose?
No. It gives you a volume, which is an input to those decisions rather than the decision itself. Water distribution pipe sizing is governed by the plumbing code your jurisdiction has adopted — the International Plumbing Code or the Uniform Plumbing Code — and adopted editions and local amendments vary between jurisdictions. Disinfection procedures, doses and contact times come from AWWA C651 and from the health authority with jurisdiction. Have a licensed plumber or engineer confirm the design before work proceeds.
Does PVC hold the same amount of water as steel at the same size?
At the same schedule, yes. ASTM D1785 puts PVC and CPVC on the same iron pipe size outside diameters and the same Schedule 40 and 80 wall thicknesses as ASME B36.10M steel, so 2 inch Schedule 40 PVC has the same 2.067 inch nominal bore and the same capacity per foot. One caveat: because the schedule wall is a minimum, real PVC extrusions often run slightly thicker, and manufacturers sometimes publish an average bore a few thousandths smaller than the nominal figure.

References& sources.

  1. [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. [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. [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. [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. [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. [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. [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
Coming soon