Volume Calculator
Calculate the volume of a box, cylinder, sphere or cone.
Additional calculations: Additional solid volumes
Your result
MATHExample values are prefilled. Results update automatically when JavaScript is available.
Additional solid volumes
Calculate cones, rectangular pyramids, ellipsoids, frustums, capsules, hemispheres and triangular prisms.
How this calculation works
Cone=πr²h/3; rectangular pyramid=abh/3; ellipsoid=4πabc/3; frustum=πh(R²+Rr+r²)/3; capsule=πr²h+4πr³/3; hemisphere=2πr³/3; triangular prism=abh/2.
Capsule length is the cylindrical portion, not total end-to-end length. Ellipsoid inputs are semi-axes, not full diameters. Results use cubic length units.
What this tool calculates
Calculate the volume of a box, cylinder, sphere or cone.
Inputs used: Solid, Length / radius A, Width / height B, Box height C.
Calculation modes and inputs
- Solid
- Rectangular box, Cylinder, Sphere, Cone
Choose the mode first. Only the fields relevant to that calculation are used; the result heading identifies the reported quantity.
On this page How it works & practical examples
How to use the Volume Calculator
Choose the solid so the inputs can be interpreted correctly. For a box, enter length, width and height. Cylinders and cones use radius and perpendicular height; spheres need only radius. Volume uses the cube of a length unit, such as cubic meters or cubic inches, so it is essential that every input uses the same unit.
The calculation
Worked example
A box with lengths 3, 4 and 5 has volume 60 cubic units. A cylinder with radius 2 and height 3 has volume 12π, approximately 37.6991 cubic units.
Assumptions and limits
These formulas describe ideal solid shapes and do not automatically subtract wall thickness, openings or internal voids. A tank’s usable capacity may differ from its external geometric volume. A cone’s slant height is not its perpendicular height. The answer is rounded for display and is not a materials or structural specification.
Common questions
Can I enter diameter instead of radius?
Divide the diameter by two before entering it as radius.
Does a box’s orientation matter?
No. Multiplying the same three perpendicular dimensions gives the same volume regardless of which is named length, width or height.