How to Use the Volume Calculator
- Choose the 3D shape that matches the object.
- Select the measurement unit used for every dimension.
- Enter the required dimensions, such as length, width, height, side or radius.
- Select Calculate.
- Read the cubic-unit result, formula, calculation steps and equivalent volumes.
Use the same measurement unit for every dimension. If one measurement is in centimeters and another is in meters, convert them to a common unit before calculating.
What Is Volume?
Volume measures the amount of three-dimensional space occupied by a solid or contained inside an object. It is measured in cubic units such as cm³, m³, in³ or ft³.
Length measures one dimension, area measures two dimensions, and volume measures three. If you need the size of a flat surface rather than the space inside a solid, use the Area Calculator.
Volume Formulas by Shape
| Shape | Formula | Measurements |
|---|---|---|
| Cube | V = a³ | side |
| Rectangular prism | V = l × w × h | length, width, height |
| Cylinder | V = πr²h | radius, height |
| Sphere | V = (4/3)πr³ | radius |
| Cone | V = (1/3)πr²h | radius, height |
| Rectangular pyramid | V = (1/3)lwh | length, width, height |
V is volume, a is side length, l is length, w is width, h is height, r is radius and π is pi. The calculator uses the full value provided by Math.PI internally.
Volume Calculation Examples
Rectangular box
A box measuring 5 × 4 × 3 cm has volume V = 5 × 4 × 3 = 60 cm³.
Cylinder
For radius 2 cm and height 5 cm, V = π × 2² × 5 ≈ 62.831853 cm³. For a dedicated radius-and-height workflow, use the Cylinder Volume Calculator.
Sphere
For radius 3 cm, V = (4/3) × π × 3³ ≈ 113.097336 cm³.
Volume vs. Surface Area
Volume measures the space inside a three-dimensional object and uses cubic units. Surface area measures the object's exterior and uses square units.
| Measurement | Describes | Units |
|---|---|---|
| Volume | space inside | cubic, for example cm³ |
| Surface area | exterior area | square, for example cm² |
Need the outside area instead? Use the Surface Area Calculator.
Volume Units and Conversions
When dimensions use a length unit, the result uses the corresponding cubic unit. A centimeter measurement produces cubic centimeters; a foot measurement produces cubic feet.
- 1 cm³ = 1 mL
- 1,000 cm³ = 1 L
- 1 L = 1,000 mL
- 1 m³ = 1,000 L
- 1 ft³ = 1,728 in³
- 1 ft³ ≈ 7.480519 US gallons
Generic shape volume remains in cubic units. For container-specific estimates, use the Pool Volume Calculator or Tank Volume Calculator.
Frequently Asked Questions
What units are used for volume?
Volume uses cubic units such as cm³, m³, in³ and ft³. Liquid capacity commonly uses milliliters, liters and gallons.
Why cubic units?
Volume measures three dimensions, so multiplying dimensions multiplies the length unit three times.
What is the difference between radius and diameter?
Diameter is twice the radius. To obtain the radius from a diameter, divide the diameter by two.
Can I use different units for each dimension?
No. This calculator uses one shared input unit. Convert all dimensions to the same unit first.
Is volume the same as capacity?
They are closely related, but capacity usually describes how much a container can hold, while volume describes three-dimensional space.
How do I calculate cylinder volume?
Use V = πr²h: square the radius, multiply by pi, then multiply by height. The Cylinder Volume Calculator provides the dedicated workflow.
