Volume calculator for common solids
Volume measures the amount of 3D space inside a shape. Use this calculator for the most common geometry formulas: sphere, cylinder, cone, cube, rectangular prism, hemisphere, and pyramid.
Need a dedicated sphere workflow? Use the volume of a sphere calculator. If your input is liquid volume rather than dimensions, try mL to oz or oz to mL.
Common volume formulas
- Sphere:
V = (4/3) * pi * r^3 - Cylinder:
V = pi * r^2 * h - Cone:
V = (pi * r^2 * h) / 3 - Cube:
V = a^3 - Rectangular prism:
V = length * width * height - Hemisphere:
V = (2/3) * pi * r^3 - Rectangular pyramid:
V = (length * width * height) / 3
How to use the dimensions
The first input is used as radius for round shapes, length for prisms and pyramids, or edge length for cubes. The second and third inputs are used only for shapes that need them. Unused dimensions can stay unchanged.