Skip to content
YouNeed Tools
Free VPN

Volume Calculator

Pick a shape, enter the measurements shown on the diagram and get its volume, the working, and how many liters or gallons it holds.

a

V = a³

Volume

64 cm³

= 4³

Surface area

96 cm²

In other units
ml (cm³)64
liters0.064
m³0.000064
cu in3.90552
cu ft0.00226014
US gallons0.016907
UK gallons0.014078

Worked out on your device. Nothing you type is sent anywhere.

Worked example

A cylindrical water tank is 12 inches across and 24 inches tall. Radius = 6 in, so V = π × 6² × 24 = 2,714.3 cubic inches. A US gallon is 231 cubic inches, so the tank holds 2,714.3 ÷ 231 = 11.75 US gallons (44.48 liters). A concrete pad 3 m × 4 m and 10 cm thick needs 3 × 4 × 0.1 = 1.2 m³, so order about 1.3 m³ with a margin. A pool 20 × 10 ft with an average depth of 5 ft holds 1,000 cu ft, which is 7,481 US gallons.

Volume formulas

ShapeFormula
CubeV = a³
Box (rectangular prism)V = l × w × h
CylinderV = π × r² × h
SphereV = 4⁄3 × π × r³
HemisphereV = 2⁄3 × π × r³
ConeV = 1⁄3 × π × r² × h
Pyramid (rectangular base)V = 1⁄3 × l × w × h
Triangular prismV = ½ × b × h × l

Cubic units and liquid measures

UnitEquals
1 cubic centimeter1 milliliter
1 liter1,000 cm³ ≈ 61.02 cu in
1 cubic meter1,000 liters ≈ 35.31 cu ft
1 US gallon231 cu in = 3.785411784 liters
1 UK gallon4.54609 liters
1 cubic foot1,728 cu in ≈ 28.32 liters ≈ 7.48 US gallons
1 cubic yard27 cu ft ≈ 0.7646 m³

Tips for real containers

  • Measure inside, not outside, for capacity: walls of tanks and planters can be thick.
  • Sloping pools: use the average depth, (shallow end + deep end) ÷ 2.
  • Tanks on their side: a full horizontal cylinder holds the same as an upright one; partly full ones need a different formula.
  • Soil and mulch settle; order 10 to 15% extra.

From volume to weight

Volume tells you how much space something takes; to know how heavy it is, multiply by its density. Water is close to 1 kg per liter (8.34 lb per US gallon), so a 1,000-liter tank of water weighs about a tonne, which matters for lofts, balconies and trailers. Concrete is about 2,400 kg per cubic meter, dry sand about 1,600 and topsoil roughly 1,300, though moisture changes all of these. Fish tanks are a common case: a 4 × 1.5 × 1.5 ft aquarium holds 9 cubic feet, or about 67 US gallons, and weighs over 550 lb when filled with water, before gravel and rocks.

Related tools

Sources

Checked on November 26, 2026:

Frequently asked questions

How do I find the volume of a cylinder?
Multiply π by the radius squared and by the height: V = π × r² × h. A tank 12 inches across (radius 6) and 24 inches tall holds π × 36 × 24 ≈ 2,714 cubic inches, about 11.75 US gallons.
How many liters are in a cubic meter?
Exactly 1,000. One liter is a cube 10 cm on each side, and one milliliter is one cubic centimeter.
How many gallons are in a cubic foot?
About 7.48 US gallons or 6.23 UK gallons. A US gallon is defined as exactly 231 cubic inches, and a cubic foot is 1,728 cubic inches.
How do I work out concrete for a slab?
Multiply length × width × thickness in meters to get cubic meters (or in feet, then divide by 27 for cubic yards). Add about 10% for spillage and uneven ground.
Why is the volume of a cone a third of a cylinder?
A cone with the same base and height as a cylinder holds exactly one third as much, as Archimedes showed. The same is true of a pyramid and a box with the same base and height.
Is anything stored?
No. It is worked out on your device.

Last updated: 2026-11-26