Skip to content

Pipe Volume Calculator

Enter the pipe's inside diameter and its length to see how much liquid it holds when full, in litres, US gallons, imperial gallons and cubic feet.

Calculator Details

Tank capacity:247.1 LSee results ↓

Horizontal tanks lie on their side

Unit for every dimension

Inside diameter of a round tank

Rectangle, or the straight (cylindrical) length of a horizontal tank

Depth of the liquid from the lowest point (dipstick reading)

Your Results

Tank capacity: 247.1 L

Tank capacity

247.1 L

65.3 US gal · 54.4 imp gal · 0.2471 m³

Liquid in the tank

247.1 L

65.3 US gal · 54.4 imp gal

Percent full

100%

liquid height 4 of 4 in

Room left

0 L

Cubic feet

8.73 ft³

Level

End view, not to scale; the dashed line is the liquid level.

Dip chart

Volume at each tenth of the tank height
Liquid heightLitresUS galFull
0.4 in12.93.45.2%
0.8 in35.29.314.2%
1.2 in62.416.525.2%
1.6 in92.324.437.4%
2 in123.632.650%
2.4 in154.840.962.6%
2.8 in184.848.874.8%
3.2 in211.95685.8%
3.6 in234.361.994.8%
4 in247.165.3100%

The tank holds 247.1 litres (65.3 US gallons, 54.4 imperial gallons). At a liquid height of 4 in it contains 247.1 litres, 100% full.

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

How This Calculator Works

How Tank Volume Is Calculated

Vertical cylinder: π r² h · Rectangle: L × W × h
Horizontal cylinder: L × [r² acos((r − h)/r) − (r − h)√(2rh − h²)]
Capsule ends: π h² (3r − h) / 3 · Cone: π r² H / 3
Litres = m³ × 1,000 · US gal = L ÷ 3.785411784

Your tank: 0.2471 m³ = 247.1 L when full. With 4 in of liquid it holds 0.2471 m³ = 247.1 L, which is 247.1 ÷ 247.1 = 100% of capacity.

Frequently Asked Questions

Should I use the inside or outside diameter?

The inside diameter for how much a pipe holds. A pipe's nominal size is only a name: the actual inside diameter depends on the material and wall thickness (schedule), so two 4-inch pipes of different schedules have different bores. Measure it or check the manufacturer's dimension table.

How many gallons per foot are in a pipe?

Gallons per foot = π × (inside diameter in inches ÷ 2)² × 12 ÷ 231. For a 4-inch bore that is about 0.653 US gallons per foot; for 2 inches, 0.163; for 6 inches, 1.469. Multiply by the length in feet.

Why do I need the pipe volume?

To size a flush or disinfection, to know how long a run takes to fill, how much antifreeze a heating loop needs, or how much water sits in a supply line before hot water arrives. Long runs of large pipe hold more than people expect.

What about a pipe that is only partly full?

Enter the liquid depth as the fill height and the calculator works out the partly filled circular cross-section, the same as a horizontal tank. Drains and sewers are often designed to run part full.

Calculates the geometric volume from inside dimensions, using standard formulas for cylinders, circular segments, spherical caps, ellipses and cones. Not included: wall thickness, internal fittings, dished or torispherical heads (treated as hemispheres on capsules), flat-sided obround oil tanks (use the maker’s chart), tilt, and the unusable volume below an outlet. Unit factors are exact (NIST SP 811 and Handbook 44: 1 in = 2.54 cm, US gallon = 231 in³ = 3.785411784 L, imperial gallon = 4.54609 L).

Pipe Volume Calculator: Gallons and Litres in a Pipe

By FindMySum · Last reviewed

A pipe volume calculator works out how much liquid a length of pipe holds. A pipe is a long, horizontal cylinder, so its volume is the area of the inside circle times the length: V = π × (d ÷ 2)² × L. The hard part is units: diameters are usually in inches or millimetres and lengths in feet or metres, so the calculator converts everything and reports litres, US gallons, imperial gallons and cubic feet together.

Worked example

A pipe with an inside diameter of 4 inches runs 100 feet, entered as 1200 inches with the fill height at 4 inches (full).

  1. Radius: 4 ÷ 2 = 2 inches; cross-section area: π × 2² ≈ 12.566 in².
  2. Volume: 12.566 × 1,200 ≈ 15,080 cubic inches.
  3. In US gallons (231 cubic inches each): 15,080 ÷ 231 ≈ 65.3 gallons.
  4. In litres: about 247.1 L; in imperial gallons, about 54.4; in cubic feet, about 8.73.

That is about 0.653 US gallons for every foot of 4-inch pipe, a handy figure for any length.

Practical notes

Diameter matters far more than length: doubling the bore quadruples the volume. Fittings, valves and bends add a little, so round up for anything you are ordering. For metric pipe sizes, choose millimetres or centimetres as the unit: a 100 mm bore, 30 m long, holds about 236 litres.

For tanks of other shapes, including capsules and cone-bottom tanks, use the tank volume calculator; for a solid cylinder such as a concrete column, the cylinder volume calculator.

Sources

This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy