Cylinder volume formula
V = π × r² × h — or with the diameter, V = π × d² × h ÷ 4.
- Measure the diameter across the circular end and halve it to get the radius.
- Square the radius and multiply by π (3.1416) — that's the area of the end.
- Multiply by the height (or length) of the cylinder.
- 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 diameter | Gallons per foot | Gallons per 100 ft | Liters per meter |
|---|---|---|---|
| 0.5 in | 0.010 | 1.0 | 0.13 |
| 0.75 in | 0.023 | 2.3 | 0.29 |
| 1 in | 0.041 | 4.1 | 0.51 |
| 1.25 in | 0.064 | 6.4 | 0.79 |
| 1.5 in | 0.092 | 9.2 | 1.14 |
| 2 in | 0.163 | 16.3 | 2.03 |
| 3 in | 0.367 | 36.7 | 4.56 |
| 4 in | 0.653 | 65.3 | 8.11 |
| 6 in | 1.469 | 146.9 | 18.24 |
| 8 in | 2.611 | 261.1 | 32.43 |
| 10 in | 4.080 | 408.0 | 50.67 |
| 12 in | 5.875 | 587.5 | 72.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 diameter | Gallons per foot of water |
|---|---|
| 4 in | 0.65 |
| 5 in | 1.02 |
| 6 in | 1.47 |
| 8 in | 2.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.