Pipe volume calculator

Pipe volume in gallons = π × inside diameter² ÷ 4 × length × 12 ÷ 231. 50 ft of 3/4 inch SDR 9 PEX pipe (inside diameter 0.681 in) holds 0.95 gallons, or 3.6 liters. Choose the pipe by material and size; its inside diameter comes from the published dimensions.

Runs of pipe
Pipe material
Nominal size
ft
Result
0.95 gallons

50 ft of 3/4 in SDR 9 PEX pipe holds 0.95 gallons (3.6 L) of water.

Liters
3.58
Cubic feet
0.126
Gallons per foot
0.0189
Liters per meter
0.235
END VIEW, TO SCALEOD 0.875 inID 0.681 in17.3 mmwall 0.0973/4 in SDR 9 PEX pipeSIDE VIEW50 ft · 0.95 gal

How it is calculated

  1. bore area = π × 0.681² ÷ 4 = 0.3642 in² (inside diameter = OD − 2 × wall); × 50 ft × 12 in ÷ 231 in³ per gallon = 0.946 gal.
  2. Liters = gallons × 3.785 = 3.58 L; cubic feet = gallons ÷ 7.48 = 0.126 ft³.

How to calculate the volume of a pipe

The worked numbers use the calculator's default: 50 ft of 3/4 inch SDR 9 PEX pipe.

Step 1: Find the inside diameter

Inside diameter = published ID, or OD − 2 × wall when the document prints no ID

Example 3/4 inch SDR 9 PEX pipe: OD 0.875 in − 2 × wall = 0.681 in

Step 2: Area of the bore

Area (in²) = π × ID² ÷ 4

Example π × 0.681² ÷ 4 = 0.3642 in²

Step 3: Volume in gallons

Gallons = area × length (ft) × 12 ÷ 231

Liters = gallons × 3.785

Example 0.3642 × 50 × 12 ÷ 231 = 0.946 gal

Example 0.946 × 3.785 = 3.58 L

One foot of this pipe holds 0.0189 gallons (0.072 L); for several sizes, add the runs.

How many gallons per foot of pipe?

Gallons and liters per foot and gallons per 100 feet of the pipes used most for home water lines, from the inside diameter of each pipe. Multiply by the length of a run, or use the calculator for a run of mixed sizes.

Water held by common pipe sizes: gallons and liters per foot and gallons per 100 feet, at the variant homes use most for each material
PipeID, inGallons per footLiters per footGallons per 100 ft
1/2″ SDR 9 PEX pipe0.4850.00960.0360.96
3/4″ SDR 9 PEX pipe0.6810.01890.0721.89
1″ SDR 9 PEX pipe0.8750.03120.1183.12
1-1/4″ SDR 9 PEX pipe1.0690.04660.1764.66
1-1/2″ SDR 9 PEX pipe1.2630.06510.2466.51
2″ SDR 9 PEX pipe1.6530.11150.42211.15
1/2″ Type L copper pipe0.5450.01210.0461.21
3/4″ Type L copper pipe0.7850.02510.0952.51
1″ Type L copper pipe1.0250.04290.1624.29
1-1/4″ Type L copper pipe1.2650.06530.2476.53
1-1/2″ Type L copper pipe1.5050.09240.359.24
2″ Type L copper pipe1.9850.16080.60916.08
1/2″ Schedule 40 PVC pipe0.6020.01480.0561.48
3/4″ Schedule 40 PVC pipe0.8040.02640.12.64
1″ Schedule 40 PVC pipe1.0290.04320.1644.32
1-1/4″ Schedule 40 PVC pipe1.3600.07550.2867.55
1-1/2″ Schedule 40 PVC pipe1.5900.10310.3910.31
2″ Schedule 40 PVC pipe2.0470.1710.64717.1
1/2″ Schedule 40 steel pipe0.6220.01580.061.58
3/4″ Schedule 40 steel pipe0.8240.02770.1052.77
1″ Schedule 40 steel pipe1.0490.04490.174.49
1-1/4″ Schedule 40 steel pipe1.3800.07770.2947.77
1-1/2″ Schedule 40 steel pipe1.6100.10580.410.58
2″ Schedule 40 steel pipe2.0670.17430.6617.43

Why the inside diameter, not the nominal size

The nominal size of a pipe is a name, not a measurement. Water fills the bore, so the volume depends on the inside diameter, which changes with the material and the wall: Schedule 80 holds less than Schedule 40 of the same nominal size, and copper Type K less than Type M.

The calculator takes the inside diameter of the pipe you choose from the same published dimensions as the pipe size charts. Where a document prints no inside diameter, it is the outside diameter minus twice the wall, and the steps say so.

Embed this calculator

Paste this code into your site or forum post to show the calculator. It works on any page that allows iframes. Preview the widget.