Pipe Volume Calculator

Work out exactly how much water, fuel or gas a pipe holds. Enter the internal diameter and length, and this pipe volume calculator returns the internal capacity in gallons, litres, cubic feet and cubic metres at once — along with the capacity per foot, the weight of the fluid inside, and how long the line takes to fill at a given flow rate.

A pipe is simply a cylinder, so its contents are the cross-sectional area of the bore multiplied by the length. The part that trips people up is the bore itself: a pipe's nominal size is a label, not a measurement, and using it in place of the true inside diameter overstates the volume — often by a third or more. This calculator solves that by loading the published inside diameter for whatever standard you pick (Schedule 40 or 80 steel and PVC, Type K/L/M copper, PEX, HDPE by dimension ratio, and more), then applying V = π × (ID/2)² × L and showing you which bore it used.

Because different trades count in different units, one calculation is converted into all of them — US and Imperial gallons, litres, millilitres, cubic feet, cubic inches, cubic metres, oil barrels and cubic yards — plus the per-foot and per-metre capacity, the cross-sectional area, and the fluid weight. Enter a flow rate and it also estimates fill and drain time. Whether you are a plumber charging a system, an HVAC technician sizing a loop, an irrigation or pool operator planning a top-up, or an engineer logging line fill, the pipe volume calculator gives a reliable figure in the unit your job actually uses. Everything below the tool explains the method, tabulates the numbers and answers the questions that usually come next.

Pipe volume calculator 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
%
×
%

Tip: choose a pipe standard to auto-load the real bore, or switch to Custom and type any internal diameter.

How to use the pipe volume calculator

The calculator sits at the top of the page so you can get an answer before you read anything else. Three inputs are all it needs:

  1. Pick the pipe type (or leave it on Custom). Choosing Schedule 40, Type L copper, PEX and so on loads the true inside diameter for the size you select, so you never have to look up a bore chart by hand.
  2. Enter the length of the straight run in feet, metres or any unit you like.
  3. Read the result. The headline shows the unit you asked for; the cards below show every other unit, the per-foot and per-metre capacity, the cross-sectional area and the weight of water inside.

Everything recalculates as you type. Switching between US, Imperial and metric keeps the same physical pipe — only the units on screen change.

The formula behind pipe volume

A pipe is a cylinder, so its internal volume is the cross-sectional area of the bore multiplied by the length:

V = π × (ID / 2)² × L

ID is the internal diameter and L is the length. Both diameter terms must be in the same unit before you multiply by length.

The single most common mistake is using the nominal size or the outside diameter instead of the bore. A "2-inch" Schedule 40 pipe has a 2.375 in outside diameter and only a 2.067 in inside diameter — feeding "2" into the formula overstates the volume by more than a third. That is why this tool asks for the inside diameter and shows you which value it used.

Every unit, one calculation

Different trades want different units. A plumber sizing a water heater loop thinks in US gallons; a European heating engineer thinks in litres; an oil-and-gas planner thinks in barrels; a civil engineer pouring around a culvert thinks in cubic yards. Rather than run the numbers several times, the result panel converts a single calculation into all of them, so you can copy whichever one your paperwork needs.

Volume per foot of common Schedule 40 pipe

For quick estimates, here is how much water each foot of Schedule 40 pipe holds. Multiply by your run length, or just use the calculator above for exact figures at any length and fill level.

Schedule 40 pipe — US gallons of water per foot and per 100 ft. Bore values from ASME B36.10.
Nominal sizeInside diameterUS gal / ftUS gal / 100 ft
1/2"0.622"0.0161.58
3/4"0.824"0.0282.77
1"1.049"0.0454.49
1-1/4"1.380"0.0787.77
1-1/2"1.610"0.10610.58
2"2.067"0.17417.43
2-1/2"2.469"0.24924.87
3"3.068"0.38438.40
4"4.026"0.66166.13
5"5.047"1.039103.93
6"6.065"1.501150.08
8"7.981"2.599259.88
10"10.020"4.096409.63
12"11.938"5.815581.46
24"22.624"20.8832088.32

What people calculate after the volume

Knowing the raw volume is usually step one. The extra outputs are built in because you will almost certainly want them next:

  • Water weight — a full 100 ft run of 2-inch pipe holds roughly 17 US gallons, about 140 lb of water. That matters for hanging brackets and roof loads.
  • Fill and drain time — enter a flow rate and the tool estimates how long the line takes to charge or empty, useful for flushing, chlorination dwell time and commissioning.
  • Chemical dosing — accurate internal volume is the basis for shock-chlorination, glycol charge and pickling calculations.
  • System inventory and weight — total the volume across several runs to size an expansion tank or estimate the water a system will lose if it drains.

Where this calculator is used

The same underlying calculation serves very different jobs. Homeowners use it to work out how much water sits in a garden or radiant-heat loop. Plumbers and HVAC technicians use it on site to confirm capacity before charging a system. Irrigation and pool operators use it to plan top-ups and back-flush cycles. Facility engineers log system inventory and weight for commissioning records. On the industrial side, the same tool handles fire-sprinkler flushing volumes and chemical-transfer line contents.

How accurate is it, and where are the limits

For a round, uniform, essentially full straight pipe, the result is exact to the precision of the inside diameter you enter. The realistic limits are worth knowing: bends, valves and fittings add a little volume the straight-length model does not see (use the fittings allowance to approximate it); corrugated, oval or partially full gravity lines need different geometry; and if you only have the outside diameter you must supply the wall thickness so the tool can derive the bore. Treat the figure as a solid engineering estimate for planning, and confirm against manufacturer data for anything safety-critical.

Where the pipe dimensions come from

The built-in bore values are the published standards the trades actually use: ASME B36.10 for steel and PVC schedules, ASTM B88 for copper tube types K/L/M, and ASTM F876 for PEX. HDPE is derived from its IPS outside diameter and the dimension ratio (DR) you choose. Nominal sizes are labels, not measurements — the tool always converts them to the real bore before calculating.

Reading and trusting your result

Here is how to read the number this pipe volume calculator gives you, and where it stops being exact.

What the figure represents

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.

Where the unit conversions come from

Conversions use exact factors: 231 cubic inches per US gallon, 3.785411784 litres per US gallon, 1,000 litres per cubic metre and 42 US gallons per oil barrel. Because they are exact, the only source of error is the inside diameter you supply — get the bore right and every unit is right.

Data sources and precision

Built-in bores follow ASME B36.10 (steel and PVC schedules), ASTM B88 (copper types K/L/M) and ASTM F876 (PEX); HDPE is derived from its IPS outside diameter and dimension ratio. These are nominal standard values — real pipe carries tolerances, and scale or lining reduces the effective bore in service, so treat the output as a sound engineering estimate and confirm safety-critical figures against manufacturer data.

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 US gal. The per-foot figure is constant, so any length is one multiplication away.

Length (ft)Volume (US gal)Per foot
10 ft1.740.1743
25 ft4.360.1743
50 ft8.720.1743
100 ft17.430.1743
250 ft43.580.1743
500 ft87.160.1743

Schedule 40 pipe: volume across sizes

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

Nominal sizeBore (in)Volume in 100 ft (US gal)
1/2"0.6221.58
3/4"0.8242.77
1"1.0494.49
1-1/2"1.61010.58
2"2.06717.43
3"3.06838.40
4"4.02666.13
6"6.065150.1

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: 13.07 US gal for a 75 ft run of Schedule 40 2" pipe.

Frequently asked questions

How do I calculate the volume of a pipe?

Measure the inside diameter (ID) and the length, then apply V = π × (ID/2)² × L. Keep the diameter and length in the same unit, or let the calculator above handle the conversion. Always use the bore, not the nominal size or outside diameter.

Should I use inside or outside diameter?

Always the inside diameter for the fluid a pipe holds. The outside diameter includes the wall, which does not carry water. If you only have the OD, enter it in OD mode with the wall thickness and the tool derives the bore.

Why is nominal pipe size different from the actual diameter?

Nominal Pipe Size (NPS) is a naming convention. For sizes up to 12 inch, neither the outside nor inside diameter equals the nominal number — a 1-inch Schedule 40 pipe has a 1.315 in OD and a 1.049 in bore. Choosing a standard in the calculator loads the correct bore automatically.

Can it give the result in gallons and litres at the same time?

Yes. One calculation produces US gallons, Imperial gallons, litres, millilitres, cubic feet, cubic inches, cubic metres, barrels and cubic yards together, plus the capacity per foot and per metre.

Does it work on my phone?

Yes. The layout is mobile-first, the inputs are large enough to tap, and results update live. Your recent calculations are saved on your own device so you can reopen them later.

What people say

★★★★★

I stopped second-guessing my line-fill numbers. Enter the bore, read every unit at once — done.

— Priya, water utility
★★★★★

The per-foot readout is the one I keep coming back to on site. Fast and it uses the real bore.

— Wesley, plumber
★★★★☆

Great for round pipe. Add oval duct one day and it'd cover everything I touch.

— León, mechanical estimator

Browse by topic