Volume Calculator
Calculate the volume of a cube, box, cylinder, sphere, cone, pyramid, prism, capsule, tube and more in any unit, with results in litres, gallons, cubic feet and cubic metres
All lengths use the same unit. Radius is half the diameter. For a capsule, h is the length of the straight middle part.
Volume
In other units
Litres (L)
m³
cm³
mL
ft³
in³
yd³
gal (US)
gal (UK)
1 litre = 1,000 cm³ = 0.001 m³. A US gallon is 3.785 L and a UK (imperial) gallon is 4.546 L. Results are rounded to 6 significant digits.