Skip to content
Mathico

Volume Calculator

Calculate the volume of any common 3D shape: a box or tank is length × width × height, a cylinder is πr²h and a sphere is (4/3)πr³. Get the answer in cubic units, liters and gallons, which is handy for ponds, aquariums and tanks.

ft
ft
ft
V = l × w × h

Volume of the rectangular box / tank

180 ft³

US gallons
1,346.494
Liters
5,097.032
Cubic feet
180
Cubic meters
5.097
Cubic yards
6.6667
UK (imperial) gallons
1,121.19

Water weighs about 5,097.032 kg (11,237.02 lb) at this volume.

For ponds and tanks, use the average depth (or fill height) and remember the real capacity is a little less once rocks, plants and freeboard are accounted for.

How to use the volume calculator

  1. Choose a shape, from boxes and tanks to spheres, cones, prisms, buckets and oval ponds.
  2. Pick a unit and enter the measurements. For tanks and ponds, use inside dimensions and the water depth.
  3. Read the volume in cubic units plus US and imperial gallons, liters, cubic feet, cubic meters and cubic yards.

Volume formulas

ShapeVolume
Rectangular box / tankl × w × h
Cubea³
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 unitLitersUS gallons
Cubic inch0.0163870.004329
Cubic foot28.3177.4805
Cubic yard764.55201.97
Cubic meter1,000264.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.