How to use the volume calculator
- Choose a shape, from boxes and tanks to spheres, cones, prisms, buckets and oval ponds.
- Pick a unit and enter the measurements. For tanks and ponds, use inside dimensions and the water depth.
- Read the volume in cubic units plus US and imperial gallons, liters, cubic feet, cubic meters and cubic yards.
Volume formulas
| Shape | Volume |
|---|---|
| Rectangular box / tank | l × w × h |
| Cube | a³ |
| Cylinder | π r² h |
| Sphere | (4/3) π r³ |
| Cone | (1/3) π r² h |
| Pyramid | (1/3) × base area × h |
| Triangular prism | ½ × b × a × l |
| Oval tank / pond | π a b h |
| Conical frustum | (1/3) π h (r² + rR + R²) |
Worked examples
- Garden pond 10 × 6 ft, 3 ft average depth: 180 ft³ × 7.4805 = 1,346 US gallons (5,097 L).
- Round stock tank 8 ft across (radius 4 ft), 3 ft deep: π × 16 × 3 = 150.8 ft³ ≈ 1,128 gallons.
- Ball with radius 4 in: (4/3) × π × 64 = 268.08 in³.
Volume conversions
| 1 unit | Liters | US gallons |
|---|---|---|
| Cubic inch | 0.016387 | 0.004329 |
| Cubic foot | 28.317 | 7.4805 |
| Cubic yard | 764.55 | 201.97 |
| Cubic meter | 1,000 | 264.17 |
Dedicated tools add more detail: the cylinder volume calculator and cone volume calculator handle partial fills and frustums, and the cubic yard calculator orders soil, mulch and gravel. For surfaces, use the area calculator. More math calculators.
Sources
Frequently asked questions
How do you calculate volume?
Use the formula for the shape and keep all measurements in the same unit. A box or rectangular tank is length × width × height; a cylinder is π × radius² × height; a sphere is (4/3) × π × radius³. The answer is in cubic units, such as cubic feet (ft³) or cubic meters (m³).
How many gallons are in a pond or tank?
Find the volume in cubic feet and multiply by about 7.48 (US gallons per cubic foot), or work in meters and multiply cubic meters by 1,000 for liters. A 10 × 6 ft pond with an average depth of 3 ft holds 180 ft³, about 1,346 US gallons.
What is the volume of a cube?
Edge length cubed: V = a³. A cube with 4 in edges holds 4 × 4 × 4 = 64 cubic inches.
How do I find the volume of an irregular pond?
Measure the average length, average width and average depth (take several depth readings and average them), then use the rectangular or oval formula. For a rough oval pond, the elliptical cylinder option with half the length and half the width works well.
How do I convert cubic feet to liters or gallons?
1 cubic foot = 28.317 liters = 7.4805 US gallons = 6.2288 imperial gallons. 1 cubic meter = 1,000 liters = 264.17 US gallons.
What's the difference between volume and capacity?
Volume is the space an object takes up; capacity is how much a container holds, usually given in liters or gallons. For a thin-walled tank they're nearly the same, but use the inside measurements for capacity.