How to Use the Volume Calculator: Steps and a Worked Example
Find the volume of a cube, box, cylinder, sphere, cone or pyramid in cubic units, liters and US gallons, with the formula for each shape. This guide shows what to enter, a worked example with real numbers, and the limits to keep in mind. The Volume Calculator tool is free, needs no account and runs in your browser.
What you need
- Shape: choose Cube, Rectangular box (cuboid), Cylinder, Sphere, Cone, Rectangular pyramid
- Unit: choose cm, m, in, ft
- Side, length or radius, for example 10
- Width or height (if the shape needs it)
- Height (box and pyramid)
Step by step
- Open the Volume Calculator tool.
- Choose Shape.
- Choose Unit.
- Fill in Side, length or radius.
- Fill in Width or height (if the shape needs it).
- Fill in Height (box and pyramid).
- Read the result, which updates as soon as the inputs change.
Worked example
With these inputs:
- Shape: Cube
- Unit: cm
- Side, length or radius: 10
the tool returns:
Volume: 1,000 cm³
In liters: 1 L
In US gallons: 0.2642 gal
Formula: V = side³
Inputs: side 10 cm
A second example
Changing Side, length or radius 10 to 20 gives:
Volume: 8,000 cm³
In liters: 8 L
In US gallons: 2.1134 gal
Formula: V = side³
Inputs: side 20 cm
Comparing two runs like this is a quick way to see how much each input moves the result.
How it works
The calculation is: Cube: side³. Box: length × width × height. Cylinder: π × r² × h. Sphere: 4/3 × π × r³. Cone: 1/3 × π × r² × h. Pyramid: length × width × height ÷ 3. Choose the shape and the unit, enter the side, length or radius, and add the width or height if the shape needs it. Press Calculate to see the volume, liters and gallons.
Things to keep in mind
Assumes perfect shapes. For a cylinder or cone, enter the radius, which is half the diameter.
Related tools
If this is not quite what you need, try Cylinder Volume Calculator, Sphere Volume Calculator or Cone Volume Calculator.