Pipe Volume Calculator

Calculate the internal volume, capacity, and fill amount for any pipe size. Enter the diameter, wall thickness, and length to get results in gallons, liters, cubic feet, and cubic meters.

Enter your pipe dimensions to calculate the volume…

Steel Pipe Sizes — SCH 40 (Most Common)

Nominal Pipe Size with actual Outer Diameter and Wall Thickness. Source: ASME B36.10

NPSOuter Dia (in)Wall (in)Inner Dia (in)ID (mm)Volume/ft (gal)
1/8″0.4050.0680.2696.80.012
1/4″0.5400.0880.3649.20.022
3/8″0.6750.0910.49312.50.040
1/2″0.8400.1090.62215.80.063
3/4″1.0500.1130.82420.90.110
1″1.3150.1331.04926.60.179
1-1/4″1.6600.1401.38035.10.310
1-1/2″1.9000.1451.61040.90.424
2″2.3750.1542.06752.50.700
2-1/2″2.8750.2032.46962.70.999
3″3.5000.2163.06877.91.533
4″4.5000.2374.026102.32.649
6″6.6250.2806.065154.16.011
8″8.6250.3227.981202.710.404
10″10.7500.36510.020254.516.394
12″12.7500.40611.938303.223.224

Copper Tube Sizes (Type L)

Common in residential plumbing. Nominal size differs from actual OD.

NominalOuter Dia (in)Wall (in)Inner Dia (in)Volume/ft (gal)
1/2″0.6250.0400.5450.048
3/4″0.8750.0450.7850.100
1″1.1250.0501.0250.171
1-1/4″1.3750.0551.2650.261
1-1/2″1.6250.0601.5050.369
2″2.1250.0701.9850.643

PEX Tube Sizes

Cross-linked polyethylene tubing. IDs are approximate for PEX-A/B.

NominalOuter Dia (in)Wall (in)Inner Dia (in)Volume/ft (gal)
3/8″0.5000.0700.3600.021
1/2″0.6250.0750.4750.037
5/8″0.7500.0850.5800.055
3/4″0.8750.0970.6810.075
1″1.1250.1200.8850.128

Common Conversion Factors

FromToMultiply By
Cubic InchesGallons (US)0.004329
Cubic FeetGallons (US)7.48052
LitersGallons (US)0.264172
Cubic MetersGallons (US)264.172
Gallons (US)Liters3.78541
Gallons (US)Cubic Feet0.133681
InchesMillimeters25.4
FeetMeters0.3048

How to measure pipe diameter

The most accurate way is to use a caliper across the outside of the pipe. If you do not have a caliper, wrap a tape measure around the circumference and divide by 3.14159 (pi) to get the outer diameter. For copper and PEX, the nominal size (like “1/2 inch”) is NOT the actual outer diameter — always measure the outside directly.

Outer diameter vs inner diameter

The outer diameter (OD) is the total width of the pipe including the wall. The inner diameter (ID) is the space inside where fluid flows. Volume calculations must use the inner diameter because fluid fills the inside, not the wall. If you enter a wall thickness, the calculator subtracts twice the wall thickness from the OD to get the ID.

What is wall thickness and why it matters

Wall thickness determines how much smaller the inside of the pipe is compared to the outside. A 2-inch pipe (2.375″ OD) with SCH 40 wall (0.154″) has an actual inner diameter of only 2.067 inches. That difference of 0.308 inches reduces the cross-sectional area by about 25%. Ignoring wall thickness can lead to overestimating pipe capacity by a significant margin.

Understanding pipe schedules

Pipe schedule (SCH) is a standard system for wall thickness. SCH 40 is the most common for general plumbing. SCH 80 is thicker and used for higher pressure applications. SCH 10 is thinner and used for low-pressure or non-critical applications. For the same nominal size, a higher schedule number always means a thicker wall and a smaller inner diameter.

Fill level for partially full pipes

The fill level slider lets you calculate volume for partially filled pipes. At 50%, the pipe is exactly half full and the volume is half the total. At other levels, the calculation uses the circular segment area formula, which accounts for the curved shape of the fluid surface. This is useful for drainage calculations, storm water pipes, or any situation where the pipe does not run full.

The volume formula

For a full pipe, the volume is calculated as: V = pi x (ID/2) x (ID/2) x Length. This gives the volume in cubic units matching your inputs. The calculator then converts to all common units. For partially filled pipes, the cross-sectional area uses: A = r x r x arccos((r-h)/r) – (r-h) x sqrt(2rh – h x h), where h is the fill height.

Common uses for pipe volume calculations

Plumbers use it to size expansion tanks and estimate how much water a system holds. HVAC technicians use it for refrigerant line charging. Engineers use it for hydraulic analysis, flow rate calculations, and pump sizing. Homeowners use it to figure out how much antifreeze to add to a heating loop or how long it takes to drain a pipe. Fire protection professionals use it to calculate water volume in sprinkler system piping.

What is a Pipe Volume Calculator?

A pipe volume calculator is an engineering and plumbing tool that computes the internal capacity of a pipe based on its dimensions. You enter the outer diameter, wall thickness, and length, and it calculates how much liquid or gas the pipe can hold. The result is shown in multiple units so you can use whichever is most convenient for your application.

Why wall thickness changes everything

Many people assume a “2-inch pipe” has a 2-inch inside diameter, but that is almost never true. In steel pipe, “2-inch” is a nominal size that refers to an approximate historical dimension. The actual outer diameter is 2.375 inches, and after accounting for SCH 40 wall thickness of 0.154 inches, the inner diameter is only 2.067 inches. This means a “2-inch pipe” holds about 25% less volume than a true 2-inch opening would. The calculator handles this automatically when you enter the wall thickness.

Why the number of pipes matters

In many real-world setups, multiple identical pipes run in parallel — like a manifold with several branches, a bank of heat exchanger tubes, or a multi-line irrigation system. Instead of calculating each pipe separately and adding them up, you can set the number of pipes field and get the combined total instantly.

Imperial vs metric pipe systems

North America primarily uses the NPS (Nominal Pipe Size) system with measurements in inches. Most of the world uses the DN (Diametre Nominal) system with measurements in millimeters. The calculator supports both by letting you choose your input units, so you can work in whatever system your pipe is specified in. The conversion between inches and millimeters is handled internally with full precision.

Who this calculator is for

This calculator is designed for plumbers, pipefitters, HVAC technicians, irrigation specialists, fire protection engineers, civil engineers, and anyone who needs to know how much fluid a pipe section can hold. The quick preset buttons load common pipe sizes instantly, so you do not need to look up dimensions in a table. The partially-full calculation makes it useful for drainage and storm water applications as well.