Pipe Volume Calculator

Pick a nominal pipe size and material, or type an inside diameter directly, enter the run length, and this calculator returns the contained volume in gallons, litres and cubic feet plus the weight of the water. Inside diameters come from published dimension tables, not the size printed on the pipe.

Only used when you select measured inside diameter above.

Volume contained
2.77US gallons
0.824 in inside diameter × 100.0 ft
Litres
10.49L
Cubic feet
0.3703cu ft
Gallons per foot of run
0.0277gal/ft
Weight of contentsat 8.34 lb per gallon
23.1lb
Inside diameter used3/4 in nominal, Steel / PVC Schedule 40
0.824in
Cross-sectional area
0.5333sq in

What this figure includes

Volume is the internal cylinder of the pipe at the published inside diameter for the type and schedule selected. It assumes a full pipe running at atmospheric conditions and ignores fittings, valves, tanks, coils and the water sitting in equipment, all of which add real volume to a system. Weight is the fluid only, not the pipe. Actual inside diameters vary slightly between manufacturers and standards, so confirm against the dimension table for the specific product on a critical calculation.

How this is calculated

The formula

A pipe is a cylinder, so the volume is the cross-sectional area times the length:

Volume (cu in) = π × (inside diameter ÷ 2)² × length in inches

US gallons = cubic inches ÷ 231

Litres = gallons × 3.78541

Cubic feet = cubic inches ÷ 1,728

The 231 is the definition of a US gallon: 231 cubic inches exactly. And the number that does all the work here is the inside diameter, squared. Get it wrong by ten percent and the volume is wrong by twenty-one.

A worked example

A 100 ft run of ¾ in Schedule 40 pipe.

  • Inside diameter from the dimension table: 0.824 in, not 0.75
  • Radius: 0.412 in
  • Area: π × 0.412² = 0.533 sq in
  • Length: 100 ft = 1,200 in
  • Volume: 0.533 × 1,200 = 640 cubic inches
  • Gallons: 640 ÷ 231 = 2.77 gallons
  • Litres: 10.5
  • Weight of the water: 2.77 × 8.34 = 23 lb

Per foot, that is 0.0277 gallons — a useful figure to keep, because system fill volumes are almost always worked out per foot of each size and then added up.

Nominal size is not the inside diameter

This is the point of the whole calculator, and it catches people constantly.

Nominal pipe size is a name, not a measurement. For steel and PVC above ⅛ in, the nominal size is loosely descriptive of the inside diameter of the original wrought-iron pipe of that designation, and modern pipe keeps the same *outside* diameter so that fittings and threads remain interchangeable. What changes with schedule is the wall thickness, and the wall thickness grows inwards.

So for a 2 in pipe, the outside diameter is 2.375 in whatever the schedule, and:

  • Schedule 40: wall 0.154 in, inside diameter 2.067 in
  • Schedule 80: wall 0.218 in, inside diameter 1.939 in

The Schedule 80 pipe holds about 12 percent less water than the Schedule 40 of the same nominal size, and its cross-section for flow is 12 percent smaller too — which matters as much for pressure drop as it does for volume.

Copper is a different system again. Copper tube nominal size is ⅛ in less than the outside diameter, and Type K, L and M differ in wall thickness with K the thickest. A ¾ in Type L holds 0.785 in of bore. PEX is smaller still — a ½ in PEX has a bore of about 0.475 in against 0.622 in for ½ in Schedule 40, which is nearly 40 percent less cross-section and the reason PEX layouts often step up a size.

Use the table, never the label.

Why anyone needs this number

System fill and flush volume. Filling a hydronic loop, a chilled water system, a fire sprinkler main or a long irrigation run means knowing how much fluid it takes, how much glycol to premix into it, and how long the fill will run. Add pipe volume by size, then add the boiler, tank, coil and expansion vessel volumes on top — the pipe is often the smaller half.

Chlorination and dosing. Disinfecting a new water main or a well system is a dose per volume calculation: you are targeting a milligram-per-litre concentration and holding it for a contact time. Overestimate the volume and you waste chemical and have a discharge problem; underestimate it and you fail the bacteriological test and do the whole thing again.

Flushing. The rule for purging a line is a number of pipe volumes — often three to five — and you cannot count them without knowing what one is.

Freeze risk. Water expands about nine percent when it freezes, and it has nowhere to go in a closed pipe. Knowing how much water sits in an exposed run tells you what is at risk, how much heat trace you need, and how long a drain-down will take.

Weight. Water is 8.34 lb per gallon, so a 4 in Schedule 40 line holds 0.66 gallons per foot — about 5.5 lb of water per foot on top of the pipe itself. Over a long horizontal run in a ceiling, that is a real load on the hangers and a real reason the spacing table exists.

Practical notes

Fittings, valves and equipment add volume that this calculation ignores, and on a system with a lot of them the total can run ten to twenty percent above the pipe-only figure. Vertical runs hold the same volume as horizontal ones but drain differently. And if you are measuring an unknown existing pipe, measure the bore if you can get at a cut end — old galvanised pipe can be half closed with scale, which changes both the volume and, far more importantly, the flow.

Frequently asked questions

How many gallons are in 100 feet of 3/4 inch pipe?
About 2.77 gallons in Schedule 40, using the real 0.824 inch inside diameter. In ¾ inch PEX, with its smaller 0.671 inch bore, the same run holds only 1.84 gallons.
Is nominal pipe size the same as the inside diameter?
No. Nominal size is a naming convention that keeps the outside diameter constant so fittings interchange. A 2 inch Schedule 40 pipe has a 2.067 inch bore; the same nominal pipe in Schedule 80 has 1.939 inches.
Does schedule change how much water a pipe holds?
Yes. Higher schedule means a thicker wall, and the wall grows inwards while the outside diameter stays the same. Schedule 80 holds roughly 12 percent less than Schedule 40 at 2 inch nominal.
How do I calculate pipe volume?
Volume in cubic inches is π times the inside radius squared times the length in inches. Divide by 231 for US gallons, or by 1,728 for cubic feet. The inside diameter is squared, so accuracy there matters most.
How much does the water in a pipe weigh?
Water is 8.34 pounds per US gallon. A 4 inch Schedule 40 line holds 0.66 gallons per foot, which is about 5.5 pounds of water for every foot of run — a real load to account for when spacing hangers.
Why do I need pipe volume for chlorination?
Disinfection dosing is expressed as a concentration held for a contact time, so the dose is calculated per gallon of system volume. Get the volume wrong and you either waste chemical and create a discharge problem, or under-dose and fail the bacteriological test.