Volume Calculator
Volume of cube, sphere, cylinder, cone. Units in liters or cubic meters. Free online.
Free · No sign-up · Runs in your browser · Last reviewed November 2026
Advertisement
How volume is calculated
Volume measures how much space a three-dimensional object takes up, or how much it can hold. This volume calculator works out the volume of a cube, a box (rectangular prism), a cylinder, a sphere, a cone and a pyramid, and gives the result in cubic units and in liters or gallons. Enter the dimensions in the same unit and read the result.
Volume formulas
| Shape | Formula | Example | Volume |
|---|---|---|---|
| Cube | side³ | side 5 | 125 |
| Box (rectangular prism) | length × width × height | 2 × 3 × 4 | 24 |
| Cylinder | π × r² × h | r = 2, h = 5 | 62.83 |
| Sphere | 4/3 × π × r³ | r = 3 | 113.10 |
| Cone | 1/3 × π × r² × h | r = 3, h = 4 | 37.70 |
| Pyramid | 1/3 × base area × h | 6 × 6 base, h = 5 | 60 |
| Hemisphere | 2/3 × π × r³ | r = 3 | 56.55 |
Radius is half the diameter. A cylinder with a 4 cm diameter has r = 2 cm. Always use the same unit for every dimension, and remember the result is in cubic units: cm × cm × cm = cm³.
Volume unit conversions
| From | To | Multiply by |
|---|---|---|
| 1 cubic meter (m³) | liters | 1,000 |
| 1 liter | cubic centimeters (cm³) | 1,000 |
| 1 cubic foot | liters | 28.317 |
| 1 US gallon | liters | 3.785 |
| 1 cubic yard | cubic meters | 0.7646 |
| 1 cubic yard | cubic feet | 27 |
Practical uses
- Aquariums, tanks and pools: volume tells you how much water they hold; 1 liter of water weighs 1 kg.
- Concrete, gravel and soil: volume in cubic yards decides how much material to order; see the concrete calculator and gravel calculator.
- Shipping and storage: volume of a box helps estimate volumetric weight and packing space.
- Cooking and science: cylinders and spheres model cans, glasses and drops.
For areas of the same shapes use the area calculator, or convert between units with the volume converter.
How to use Volume Calculator
- Open Volume Calculator in RoviDev (you don't need to install anything or register).
- Enter the required data in the tool form.
- Press the button and see the result instantly on the screen.
Volume calculator FAQ
How do I calculate the volume of a rectangular box?
Multiply length × width × height. A box 5 cm long, 4 cm wide and 3 cm high has a volume of 60 cm³, which is 0.06 liters.
How do I calculate the volume of a cone?
Use π × radius² × height ÷ 3. A cone with radius 3 and height 6 has a volume of about 56.55 cubic units, exactly one third of the cylinder with the same base and height.
How do I calculate the volume of a pyramid?
For a square pyramid, multiply base side × base side × height and divide by 3. A pyramid with a 6 ft base and 9 ft height holds 108 cubic feet.
How many gallons is a cubic foot?
One cubic foot is about 7.48 US gallons, or 28.32 liters.
How do I calculate the volume of a cylinder?
Multiply π by the radius squared and by the height. A cylinder with radius 2 and height 5 has a volume of π × 4 × 5 = 62.83 cubic units.
How do I calculate the volume of a sphere?
Use 4/3 × π × r³. A sphere with a radius of 3 has a volume of 113.10 cubic units.
How do I convert cubic centimeters to liters?
Divide by 1,000: 1,000 cm³ is 1 liter.
What is the difference between volume and capacity?
Volume is the space an object occupies; capacity is how much a container can hold. They are measured with the same units, such as liters or gallons.
Why is the volume of a cone one third of a cylinder?
A cone with the same base and height as a cylinder fills exactly one third of it, which is why the cone formula has a factor of 1/3.
How many liters are in a cubic meter?
1,000 liters.