Calculator tool
How this calculator works
Use the explanation to understand the formula, assumptions, and practical limits behind the calculator result.
What Volume Measures
Volume is the amount of three-dimensional space inside a solid shape. If the dimensions are in centimeters, the result is in cubic centimeters; if they are in meters, the result is in cubic meters. Every length input must use the same unit before calculation.
Formulas Used by This Calculator
| Shape | Inputs | Volume formula |
|---|---|---|
| Sphere | radius | |
| Cube | side | |
| Cylinder | radius , height | |
| Cone | radius , height | |
| Rectangular prism | length , width , height |
Radius is half the diameter. If a container label gives a diameter of 10 cm, enter a radius of 5 cm.
Worked Example — Cylinder
For a cylinder with radius 5 cm and height 10 cm:
Because 1 liter = 1,000 cm³, the same volume is:
How to Use the Result
Use the volume result for storage estimates, container sizing, concrete or fill calculations, aquarium planning, packaging checks, geometry problems, and comparing shape efficiency. For materials, add a margin for spillage, compaction, wall thickness, uneven surfaces, or unusable internal space.
Limits to Check
This calculator assumes ideal geometric shapes. Real containers often have rounded corners, tapered sides, lids, wall thickness, fill lines, and safety headroom. Measure internal dimensions when you need usable capacity rather than outer package size.
Frequently asked questions
What units is volume measured in?
Volume uses cubic units such as , , , and . For liquid capacity, common conversions are 1 L = 1,000 cm³ and 1 US gallon ≈ 231 in³ ≈ 3.785 L. The calculator does not guess the unit; it returns cubic units matching the dimensions you entered.
Should I enter radius or diameter?
For spheres, cylinders, and cones, this calculator uses radius. If you measured diameter, divide by 2 first:
A cylinder with a 10 cm diameter has radius 5 cm, so the cylinder formula uses , not .
Why is a cone one-third of a cylinder with the same base and height?
A cone with the same radius and height as a cylinder has one-third of the cylinder volume:
For and , the cylinder is 785.40 cm³ and the matching cone is 261.80 cm³.
Why can real container capacity differ from the calculated volume?
The formula assumes a perfect shape and full usable space. Real capacity can be lower because of wall thickness, rounded corners, handles, lids, fill lines, sloping sides, trapped air, or a safety gap at the top. For buying materials or sizing a tank, measure the internal dimensions and add a practical margin.