Volume Calculator
Calculate the volume of common three-dimensional shapes in a few steps. Choose a shape, enter its dimensions, and get the result with the formula and unit conversion.
Enter your measurements
All dimensions must use the same unit. The calculator assumes ideal geometric shapes and does not account for wall thickness, irregular surfaces, or material loss.
Your volume result
What is volume?
Volume is the amount of three-dimensional space occupied by an object. It is expressed in cubic units, such as cubic centimeters (cm³), cubic meters (m³), or cubic inches (in³). The formula depends on the shape and the measurements available.
Volume formulas
Rectangular prism: V = length × width × height
Cube: V = side³
Cylinder: V = π × radius² × height
Sphere: V = (4/3) × π × radius³
Cone: V = (1/3) × π × radius² × height
Square pyramid: V = (1/3) × base side² × vertical height
Triangular prism with a right-triangle base: V = (1/2) × base × triangle height × prism length
How to use this calculator
- Choose the shape from the dropdown menu.
- Enter each required dimension using the same measurement unit.
- Select the preferred decimal precision.
- Click Calculate volume to view the result, formula, and calculation steps.
- Copy the result if you need it for another calculation.
Understanding cubic units
Volume scales cubically with length. For example, doubling every dimension of a rectangular prism makes its volume eight times larger. The calculator also converts the result to liters and cubic meters for convenient reference. One liter equals 1,000 cubic centimeters, and one cubic meter equals 1,000 liters.
Frequently asked questions
How do I calculate the volume of a rectangular prism?
Multiply its length by its width and then by its height. If all measurements are in centimeters, the answer is in cubic centimeters.
What is the difference between area and volume?
Area measures a two-dimensional surface and uses square units. Volume measures three-dimensional space and uses cubic units.
Can I mix centimeters and meters?
No. Convert all dimensions to the same unit before calculating. Mixing units without conversion produces an incorrect result.
How do I convert cubic centimeters to liters?
Divide cubic centimeters by 1,000. For example, 2,500 cm³ equals 2.5 liters.
Does this calculator work for irregular objects?
The formulas here apply to regular geometric shapes. For an irregular object, volume may need to be estimated by water displacement or calculated from a suitable 3D model.
Disclaimer: Results are mathematical estimates based on the entered dimensions and ideal shape assumptions. Check measurements and units before using the result for construction, manufacturing, or other precision work.