KKC Tools
All tools →

Pipe & Tube Volume Calculator

This free tube volume calculator works out how much liquid a pipe or tube holds — in US gallons, litres, imperial gallons and cubic feet — and how much material is in the tube wall and what it weighs. Pick a standard size (steel or PVC Schedule 40/80, copper Type K/L/M, PEX or metric PE) or enter your own diameters, add as many runs as your system has, and see the total, the weight of the water and the time to fill.

Last updated: November 15, 2026 · Runs in your browser — nothing you enter is sent anywhere.

1

Choose your units

2

Pipe or tube · 17.43 gal

ID 2.067 inOD 2.375 inwall 0.154 inBlue = liquid insideGrey = tube wall
ft

ID 2.067 in · 0.1743 gal per ft

3

Liquid, material & flow

gpm

Densities are typical values — alloys and plastics vary a few percent.

Pipe holds
17.43 US gallons
65.99 L · 14.51 imp gal · 145.5 lb of water

Capacity in every unit

US gallons17.432
Litres65.986
Imperial gallons14.515
Cubic feet2.3303
Cubic inches4,026.7
Cubic metres0.06599

Tube wall (material)

Material volume1,289.4 in³
Tube weight (carbon steel)365.7 lb
Full pipe (tube + liquid)511.2 lb

Your numbers in the formula

Capacity = π × (ID ÷ 2)² × L = π × (1.034 in)² × 100 ft = 4,026.7 in³ ÷ 231 = 17.432 gal

Wall = π ÷ 4 × (OD² − ID²) × L = π ÷ 4 × (2.375 in² − 2.067 in²) × L

0.4536 kg = 1 lb · 231 in³ = 1 US gal. Fittings, valves and tanks are not included.

  • Inside diameter & length
  • Gallons, liters & cu ft
  • Fluid weight in pounds
  • Schedule 40 & 80 sizes

100% free · No sign-up · Runs in your browser, nothing is uploaded

How to use the pipe volume calculator

  1. Choose US or metric. Diameters switch between inches and millimetres, lengths between feet and metres.
  2. Pick the pipe. Choose a standard size, enter a custom round pipe (outside diameter + wall, outside + inside, or just the inside), or a square/rectangular tube.
  3. Enter the length and how many pieces. Add more runs to total a whole plumbing or heating loop.
  4. Read the capacity in every unit, the liquid weight, the tube weight for your material and — if you enter a flow rate — the time to fill.

Pipe and tube volume formula (Tube Volume Calculator)

Length Lπ × (ID ÷ 2)²Capacity = π × (ID ÷ 2)² × L
Capacity is the inside cross-section times the length.

How much a pipe holds depends only on its inside diameter and its length:

Capacity = π × (ID ÷ 2)² × L
US gallons = cubic inches ÷ 231
Litres = cubic inches × 0.016387

Example (US): 100 ft of 2 in Schedule 40 steel pipe has a 2.067 in inside diameter. π × 1.0335² × 1,200 in = 4,027 in³ ÷ 231 = 17.4 US gallons (66 L).

Example (metric): a 100 mm inside diameter, 10 m long: π × 0.05² × 10 = 0.0785 m³ = 78.54 L, or 7.85 L per metre.

Tube volume calculator: the hollow cylinder

ID 1.5 inOD 2 inwall 0.25 inBlue = liquid insideGrey = tube wall
The tube wall is the ring between the outside and inside diameters.

When you need the material — to work out weight, coating or cost — you want the volume of the wall, not the hole. That is the outer cylinder minus the inner one:

Wall volume = π ÷ 4 × (OD² − ID²) × L
ID = OD − 2 × wall thickness
Weight = wall volume × density

A tube 2 in OD × 1.5 in ID × 10 ft has 164.9 in³ of material — about 46.8 lb in carbon steel — and holds 0.92 US gallons inside.

Inside diameter vs outside diameter vs nominal size

IDOD — fixed per size(what fittings fit)ID — what holds watershrinks as the wall thickensNominal — just a name1 in Sch 40: OD 1.315 in, ID 1.049 in
For steel and PVC, the outside stays the same for a size; thicker walls eat into the inside.
  • Outside diameter (OD) is fixed for each nominal size, so fittings fit every schedule. A 1 in pipe is 1.315 in OD.
  • Inside diameter (ID) is what holds water. Schedule 40 1 in pipe is 1.049 in inside; Schedule 80 is 0.957 in.
  • Nominal size is a name. For steel and PVC it matches neither diameter from ⅛ to 12 in. For copper tube, the OD is the nominal size plus ⅛ in (½ in copper is ⅝ in OD).
  • Use the inside diameter for capacity. Using the outside diameter overstates a ½ in Schedule 40 pipe by about 82%, and the nominal size can be wrong in either direction.

Gallons per foot and litres per metre by pipe size

Steel and PVC pipe, Schedule 40 and 80

SizeODSch 40 IDSch 40 gal/ftSch 40 L/mSch 80 gal/ftSteel Sch 40 lb/ft
1/2"0.840 in0.622 in0.01580.19600.01220.85
3/4"1.050 in0.824 in0.02770.34400.02251.13
1"1.315 in1.049 in0.04490.55760.03741.68
1-1/4"1.660 in1.380 in0.07770.96500.06662.28
1-1/2"1.900 in1.610 in0.10581.310.09182.72
2"2.375 in2.067 in0.17432.160.15343.66
2-1/2"2.875 in2.469 in0.24873.090.22025.80
3"3.500 in3.068 in0.38404.770.34317.58
4"4.500 in4.026 in0.66138.210.597210.80
6"6.625 in6.065 in1.5018.61.3518.99
8"8.625 in7.981 in2.6032.32.3728.58
10"10.750 in10.020 in4.1050.93.7340.53
12"12.750 in11.938 in5.8172.25.2853.58

Copper tube Type L and PEX

TubeODIDgal/ftgal per 100 ftL/m
3/8" Type L0.500 in0.430 in0.00750.75440.0937
1/2" Type L0.625 in0.545 in0.01211.210.1505
3/4" Type L0.875 in0.785 in0.02512.510.3122
1" Type L1.125 in1.025 in0.04294.290.5324
1-1/4" Type L1.375 in1.265 in0.06536.530.8108
1-1/2" Type L1.625 in1.505 in0.09249.241.15
2" Type L2.125 in1.985 in0.160816.12.00
3" Type L3.125 in2.945 in0.353935.44.39
4" Type L4.125 in3.897 in0.619662.07.70
3/8" PEX0.500 in0.360 in0.00530.52880.0657
1/2" PEX0.625 in0.485 in0.00960.95970.1192
3/4" PEX0.875 in0.681 in0.01891.890.2347
1" PEX1.125 in0.875 in0.03123.120.3879

Metric PE pipe, SDR 11

OD × wallIDLitres per metreLitres per 100 m
20 × 2.0 mm16.0 mm0.201120.1
25 × 2.3 mm20.4 mm0.326932.7
32 × 2.9 mm26.2 mm0.539153.9
40 × 3.7 mm32.6 mm0.834783.5
50 × 4.6 mm40.8 mm1.31131
63 × 5.8 mm51.4 mm2.07207
75 × 6.8 mm61.4 mm2.96296
90 × 8.2 mm73.6 mm4.25425
110 × 10.0 mm90.0 mm6.36636

How much water is in my pipes?

Total every run by size. A typical example: 40 ft of ¾ in Type L copper, 25 ft of 1 in Type L copper and 60 ft of ½ in PEX hold 2.7 US gallons (10.0 L), about 22 lb of water. That is the volume to flush, drain or fill with antifreeze for a heating loop — add the boiler, water heater and radiators separately. Use Add another run in the calculator to total your own system.

Tube weight by material

Weight = wall volume × density. The calculator uses typical densities: carbon steel 7,850 kg/m³, stainless 8,000, copper 8,940, brass 8,500, aluminium 2,700, PVC 1,400 and HDPE 950. As a check, it gives 1.68 lb/ft for 1 in Schedule 40 steel, matching the plain-end weight published for that size (1.68 lb/ft). Coatings, galvanizing and threads add a little.

Square and rectangular tubes

For box section, the inside is (width − 2 × wall) × (height − 2 × wall). A 4 × 2 in tube with a ⅛ in wall, 20 ft long, holds 6.82 US gallons; its wall is 345.0 in³ — about 33.7 lb in aluminium or 97.8 lb in steel. Real tubes have rounded corners, which slightly increase the inside and reduce the wall.

Unit conversions used

  • 1 US gallon = 231 in³ = 3.785411784 L (exact)
  • 1 imperial gallon = 4.54609 L (exact)
  • 1 ft³ = 1,728 in³ ≈ 7.48052 US gallons ≈ 28.3168 L
  • 1 L = 1,000 cm³ = 61.0237 in³; 1 m³ = 1,000 L
  • Water ≈ 1 kg per litre ≈ 8.34 lb per US gallon

Frequently asked questions

How do you calculate the volume of a pipe?

Use the inside diameter: volume = π × (ID ÷ 2)² × length. Keep the units the same, then convert — in cubic inches, divide by 231 for US gallons. 100 ft of 2 in Schedule 40 pipe (ID 2.067 in) holds 17.4 US gallons (66 L).

How do you calculate the volume of a tube (hollow cylinder)?

The material in a tube is the outer cylinder minus the hole: V = π ÷ 4 × (OD² − ID²) × length. A tube 2 in OD, 1.5 in ID and 10 ft long has 164.9 in³ of material — about 46.8 lb in steel.

How many gallons per foot are in a pipe?

It depends on the inside diameter. Schedule 40 pipe holds about 0.0449 gal/ft at 1 in, 0.1743 gal/ft at 2 in and 0.6613 gal/ft at 4 in. ½ in Type L copper holds about 0.0121 gal/ft. See the tables on this page.

How many litres per metre are in a pipe?

Litres per metre = π × (ID in mm ÷ 2)² ÷ 1,000. A 100 mm inside diameter holds 7.85 L per metre; a 32 mm × 2.9 mm PE pipe (ID 26.2 mm) holds about 0.54 L per metre.

Should I use the inside or outside diameter?

Inside diameter for how much a pipe holds; outside diameter (with the inside) for how much material the tube contains and what it weighs. The difference matters — a 1 in Schedule 40 pipe is 1.315 in outside but only 1.049 in inside.

What is nominal pipe size, and why isn’t it the real diameter?

Nominal pipe size is a name, not a measurement. For steel and PVC pipe the outside diameter is fixed for each size (1 in = 1.315 in OD) and heavier schedules add wall on the inside, so the inside diameter shrinks. Copper tube is different again: its outside diameter is the nominal size plus ⅛ in.

How much water is in my house’s pipes?

Add up every run by size. For example 40 ft of ¾ in and 25 ft of 1 in Type L copper plus 60 ft of ½ in PEX hold about 2.7 US gallons. Add the water heater and any tanks separately.

How do I find the inside diameter from the outside diameter and wall thickness?

Inside diameter = outside diameter − 2 × wall thickness. A 2.375 in pipe with a 0.154 in wall has a 2.067 in inside diameter. Choose “Outside diameter + wall” in the calculator to do this automatically.

How do I calculate the volume of a square or rectangular tube?

Inside area = (width − 2 × wall) × (height − 2 × wall); multiply by length for capacity. A 4 × 2 in tube with ⅛ in walls, 20 ft long, holds 6.82 US gallons and its wall weighs about 33.7 lb in aluminium (sharp corners assumed).

How much does a pipe full of water weigh?

Water weighs about 1 kg per litre (≈ 8.34 lb per US gallon), so 100 ft of 2 in Schedule 40 pipe carries about 145 lb of water on top of about 366 lb of steel.

How This Calculator Works: Formula, Defaults & Sources

Formula

  • Capacity (round) = π × (inside diameter ÷ 2)² × length; inside diameter = outside diameter − 2 × wall
  • Tube wall volume = π ÷ 4 × (OD² − ID²) × length
  • Rectangular tube: capacity = (W − 2t) × (H − 2t) × length; wall = (W × H − inner area) × length
  • US gallons = cubic inches ÷ 231; litres = cubic inches × 0.016387064; imperial gallons = litres ÷ 4.54609
  • Liquid weight = litres × density (kg/L); tube weight = wall volume × material density; fill time = litres ÷ flow rate

Default values (you can change them)

  • Steel & PVC Schedule 40/80: outside diameter and wall from ASME B36.10M (PVC to ASTM D1785 uses the same OD and walls for these sizes)
  • Copper Types K, L, M: ASTM B88: OD = nominal size + ⅛ in, wall per type
  • PEX: copper tube size OD, SDR 9 (wall = OD ÷ 9, at least 0.070 in) — ASTM F876
  • Metric PE: SDR 11 (e.g. 32 mm × 2.9 mm) — EN 12201 / ISO 4427
  • Liquid: water 1.0 kg/L, seawater 1.025 kg/L, or your own density
  • Material densities: steel 7,850 · stainless 8,000 · copper 8,940 · aluminium 2,700 · brass 8,500 · PVC 1,400 · HDPE 950 kg/m³ (typical)

Sources

Results are planning estimates, not engineering advice. Confirm quantities with your supplier and follow your plans and local building code. Last updated: November 15, 2026. Spotted a wrong number? Email us or use the contact page.

Related calculators

Pipe dimensions are nominal values from the published standards; real pipes vary within the standard’s tolerances. Results are for planning — check product data for critical work.

💡Suggest a Tool