Cylinder Volume Calculator

Last updated · Reviewed by the CalcKoala team

Calculate the volume of a cylinder from its diameter or radius and height — in cubic inches, cubic feet, cubic meters, gallons and liters. Switch to “Pipe / tube” to find how much a pipe holds, with the diameter in inches and the length in feet.

Volume
1.57 ft³
2,714 in³ · 0.0445 m³
Cubic yards
0.058 yd³
1.57 ft³ ÷ 27
Liquid capacity
11.8 gal
44.5 L · 9.8 UK gal
1.57 ft³

Cylinder volume formula

V = π × r² × h — or with the diameter, V = π × d² × h ÷ 4.

  1. Measure the diameter across the circular end and halve it to get the radius.
  2. Square the radius and multiply by π (3.1416) — that's the area of the end.
  3. Multiply by the height (or length) of the cylinder.
  4. Convert: cubic inches ÷ 231 = US gallons; cubic feet × 7.48 = US gallons.

Worked example: a round tank 3 ft across and 4 ft tall

r = 1.5 ft, so V = 3.1416 × 1.5² × 4 = 28.27 cubic feet = 211.5 US gallons = 800.6 liters.

Pipe volume: gallons per foot

Inside diameterGallons per footGallons per 100 ftLiters per meter
0.5 in0.0101.00.13
0.75 in0.0232.30.29
1 in0.0414.10.51
1.25 in0.0646.40.79
1.5 in0.0929.21.14
2 in0.16316.32.03
3 in0.36736.74.56
4 in0.65365.38.11
6 in1.469146.918.24
8 in2.611261.132.43
10 in4.080408.050.67
12 in5.875587.572.97

Based on the actual inside diameter. Nominal pipe sizes (e.g. “1-inch PVC”) have a different inside diameter depending on the schedule — measure or check the spec.

Well water volume per foot

Casing diameterGallons per foot of water
4 in0.65
5 in1.02
6 in1.47
8 in2.61

Need gallons at a partial fill level, or a horizontal tank? Use the tank volume calculator. For other shapes, see the volume calculator.

Frequently asked questions

What is the formula for the volume of a cylinder?

V = π × r² × h, where r is the radius of the circular end and h is the height (or length). If you know the diameter d, use V = π × d² × h ÷ 4. π is about 3.1416.

How do you calculate the volume of a cylinder in gallons?

Work out the volume in cubic inches (π × r² × h with inches) and divide by 231, or in cubic feet and multiply by 7.48. A cylinder 12 inches across and 24 inches tall is 3.1416 × 6² × 24 = 2,714 in³ ÷ 231 ≈ 11.75 US gallons.

How do I calculate the volume of a pipe?

A pipe's capacity is a long cylinder: π × (inside diameter ÷ 2)² × length. Use the inside diameter, not the nominal size or outside diameter. A 4-inch ID pipe holds about 0.65 gallons per foot, so 100 ft holds about 65 gallons.

How much water is in a well per foot?

Gallons per foot = 0.0408 × casing inside diameter² (inches). A 6-inch well holds about 1.47 gallons per foot of water column, so 100 ft of standing water is about 147 gallons.

Do I use the radius or diameter?

The formula uses the radius, which is half the diameter. Diameter is easier to measure, so the calculator takes diameter by default — tick “Enter radius instead of diameter” if you already have the radius.

How do I find the volume of a hollow cylinder (tube wall)?

Subtract the inner cylinder from the outer one: V = π × h × (R² − r²), where R is the outer radius and r the inner radius. That gives the volume of material in the wall, not what the tube holds.

Add this calculator to your website

Teachers, counselors and bloggers can embed the cylinder volume calculator for free. Copy this code into your page: