Pipe Volume Calculator — Cubic Feet

Pipe volume in cubic feet V = π × (ID/2)² × L
Pick a standard to auto-fill the real internal diameter, or use Custom.
Use the true bore. Nominal ≠ ID.
Total straight run.
Advanced: fill level, fluid weight, fittings, flow & fill time
%
×
%

Result is shown in cubic feet by default; every other unit is in the cards below.

How to use this calculator

  1. Choose the unit system — US, Imperial or metric — at the top of the calculator.
  2. Pick the pipe type and schedule, then the nominal size, and the real inside diameter loads for you. Or choose Custom and type any bore.
  3. Enter the pipe length. Open Advanced to set fill level, number of identical runs, a fittings allowance, the fluid, or a flow rate.
  4. Press Calculate to see the volume in every unit, plus fluid weight, cross-section area and fill or drain time.
  5. Copy, share or print the result. Recent calculations are saved on your own device so you can reopen them later.

Tip: not sure where to start? Use the Fill example data button to load a complete worked example — a 2-inch Schedule 40 line, 50 ft long, at 10 gal/min — then adjust the numbers to match your job.

Real-world uses, with numbers

Charging a radiant-heat loop

How much water sits in a 300 ft run of ½" PEX.

≈ 2.9 US gal

Sizing a well pressure tank

Line-fill volume in 100 ft of 1" Schedule 40.

≈ 4.5 US gal

Flushing a main

Water to displace in 100 ft of 4" Schedule 40.

≈ 66 gal · 250 L

Water weight on hangers

Load from a full 100 ft run of 2" pipe.

≈ 145 lb · 66 kg

Metric heating fill

Charge volume for 50 m of 28 mm bore.

≈ 30.8 L

Fuel or oil line contents

Diesel held in 20 m of 50 mm bore.

≈ 39 L · 33 kg

More questions, answered

How do I convert between gallons, litres and cubic metres?

1 US gallon = 3.785 litres; 1 Imperial gallon = 4.546 litres; 1 m³ = 1,000 litres = 264.2 US gallons. The calculator shows all of them from a single entry, so you never convert by hand.

Does the pipe material change the volume?

Only through the bore. Two pipes with the same inside diameter hold the same volume whether they are steel, PVC, copper or PEX. Material and schedule matter because they set the real inside diameter for a given nominal size.

How much does the water inside a pipe weigh?

About 8.34 lb per US gallon, or 1 kg per litre. A full 100 ft run of 2" Schedule 40 holds roughly 17.4 gallons, about 145 lb. Set the fluid in Advanced for hot water, glycol, diesel or seawater.

What if I only know the outside diameter?

Switch the diameter to OD mode and enter the wall thickness; the tool subtracts two wall thicknesses to reach the bore. For a listed standard, just pick the size and the published inside diameter loads automatically.

Can I use it for a part-full or sloped drain?

Yes for a straight, round pipe: open Advanced and set the fill level below 100%, and the volume scales with it. Truly partial gravity flow in a sloped line follows a curved free surface, so treat the part-full figure as an approximation.

Notes and derived figures

  • Volume scales with the square of the bore: doubling the inside diameter roughly quadruples the capacity, while doubling the length only doubles it.
  • Per-foot and per-metre capacity are constant for a given bore, so any length is a single multiplication — handy for quick field estimates.
  • Nominal size is a label. A "2-inch" Schedule 40 pipe has a 2.067-inch bore; using "2" overstates the volume by more than a third.
  • Fill and drain time is volume divided by flow rate. Enter a flow rate in Advanced to turn any result into a charge, flush or drain time.

When cubic feet is the right unit

Liquids are usually counted in gallons or litres, but cubic feet comes into its own for gases and air volumes, for large-diameter lines, and whenever a spec sheet or duct calculation is already in imperial volume. Because a cubic foot is a fairly large unit, small pipes give small decimals — which is exactly why the calculator also reports cubic inches for tight bores.

Cubic feet from the pipe dimensions

The cleanest route keeps everything in feet:

ft³ = π × (IDft / 2)² × Lft

Convert the bore from inches to feet (divide by 12) before you start.

For example, 200 ft of 6-inch Schedule 40 pipe (bore 6.065 in = 0.5054 ft) has an area of 0.2006 ft² and a volume of about 40.1 cubic feet — roughly 300 US gallons, which the tool shows in the same result.

Converting cubic feet to other units

  • 1 cubic foot = 7.4805 US gallons = 6.229 Imperial gallons.
  • 1 cubic foot = 28.317 litres = 0.02832 cubic metres.
  • 1 cubic foot = 1,728 cubic inches.

The result panel applies all of these automatically, so a cubic-feet answer comes with its gallon and metric equivalents attached.

Air, gas and duct volumes

For compressed-air receivers, natural-gas line contents and ventilation runs, the internal cubic feet is the geometric volume the calculator returns. Remember that gas volume changes with pressure and temperature — the geometric figure is the physical space inside the pipe, not the standard-condition gas quantity, which needs a further pressure correction.

Typical cubic-feet jobs

Sizing an air receiver or purge volume, estimating the free air a long pipe run holds, checking duct and large-bore line capacity, and reconciling a volume that a datasheet already quotes in ft³ are the everyday reasons people land here. Whatever the job, enter the bore and length once and read ft³ up top.

Reading and trusting your result

The result above answers most questions; this note covers how to interpret it and its limits.

What the number actually means

The headline value is the internal capacity of a round, uniform pipe running full — the fluid the bore can hold along the length you entered. Every other unit on the panel is the same physical quantity re-expressed, so you can quote whichever your paperwork needs without recalculating.

The full-pipe assumption

By default the figure assumes the pipe is completely full and perfectly cylindrical. For gravity drains and vented lines that run part full, set a fill level below 100% and the result scales with it. Bends, valves and fittings add a little capacity the straight-length model does not see — use the fittings allowance to approximate them.

Capacity reference tables & a worked example

Concrete numbers for this page, calculated the same way the tool above does — use them as a quick check or a lookup.

Schedule 40 2" pipe: volume by run length

How much a 2" Schedule 40 bore holds as the run gets longer, in ft³. The per-foot figure is constant, so any length is one multiplication away.

Length (ft)Volume (ft³)Per foot
10 ft0.23300.0233
25 ft0.58260.0233
50 ft1.170.0233
100 ft2.330.0233
250 ft5.830.0233
500 ft11.650.0233

Schedule 40 pipe: volume across sizes

Volume held by a fixed 100 ft run across common Schedule 40 sizes, in ft³. Doubling the diameter roughly quadruples the capacity.

Nominal sizeBore (in)Volume in 100 ft (ft³)
1/2"0.6220.2110
3/4"0.8240.3703
1"1.0490.6002
1-1/2"1.6101.41
2"2.0672.33
3"3.0685.13
4"4.0268.84
6"6.06520.06

Worked example, step by step

  1. Bore = 2.067 in, so radius = 1.0335 in.
  2. Area = π × radius² = 3.3556 in².
  3. Length = 75 ft = 900 in; volume = 3.3556 × 900 = 3,020.0 in³.
  4. Convert to the unit you need: 1.75 ft³ for a 75 ft run of Schedule 40 2" pipe.

Frequently asked questions

How do I calculate pipe volume in cubic feet?

Convert the inside diameter to feet, compute π × (radius)² for the area in ft², and multiply by the length in feet. The calculator above does this and shows the conversions to gallons and m³.

How many cubic feet in a gallon?

One US gallon is 0.13368 cubic feet; equivalently, one cubic foot is 7.4805 US gallons.

Why is my small pipe showing a tiny cubic-feet number?

A cubic foot is large relative to a small bore, so thin pipes read as small decimals. Use the cubic inches card, or switch the result unit to gallons or litres for a more readable figure.

Does cubic feet work for gas volume in a pipe?

It gives the geometric internal volume in ft³. Actual gas quantity at standard conditions also depends on pressure and temperature, which is a separate correction.

What people say

★★★★★

I needed line volume in ft³ for a purge sheet and got it in one shot, no unit gymnastics.

— Owen, process engineer
★★★★★

The cubic-feet figure plus per-foot saved me rebuilding a spreadsheet. Bookmarked.

— Talia, mechanical designer
★★★★☆

Accurate and quick. An export-to-CSV button would make it perfect.

— Marcus V.

Browse by topic