Calculate the volume of boxes, cylinders, spheres, cones, and other 3D shapes. Enter measurements in any unit and see volume, capacity, and the formula used.
Enter measurements to see volume and capacity.
Volume
How we got this
Solve for something else
Use the current shape measurements as the known values.
Enter a volume and the required known measurements.
How to calculate volume
Volume measures the three-dimensional space an object occupies, expressed in cubic units. Many shapes use base area × perpendicular height, while round shapes use formulas involving π.
Volume formulas
| Shape | Formula | Measurements |
|---|---|---|
| Cube | V = a³ | side a |
| Box | V = lwh | length, width, height |
| Cylinder | V = πr²h | radius, height |
| Sphere | V = 4/3πr³ | radius |
| Cone | V = 1/3πr²h | radius, height |
| Pyramid | V = 1/3lwh | base length, base width, height |
How to calculate the volume of a cylinder
A cylinder volume calculator uses V = πr²h. For a radius of 5 cm and height of 12 cm, the volume is about 942.48 cm³.
How to calculate the volume of a cube
For a cube, multiply the side by itself three times: V = a³. A 3 cm cube has a volume of 27 cm³.
Volume of a sphere
Use V = 4/3πr³. Measure from the center to the edge for the radius, or enter the diameter and let the calculator halve it.
Volume of a cone
A cone uses one-third of the matching cylinder formula: V = 1/3πr²h.
Volume vs. capacity
Volume is the space an object occupies; capacity is what a container can hold. They connect neatly: 1 cm³ = 1 mL and 1,000 cm³ = 1 L.
Common volume units
Cubic millimeters, centimeters, meters, inches, and feet describe geometric volume. Milliliters, liters, and US gallons are useful capacity equivalents.
How to use it
Choose a shape
Start with the object you are measuring, then use radius or diameter when that is more convenient.
Enter measurements
Each measurement can use its own unit. The calculator normalizes mixed units before calculating.
Read volume and capacity
See a clear volume, useful capacity equivalents, the formula, and optional calculation steps.
Questions
What is volume?
Volume is the amount of three-dimensional space an object occupies, measured in cubic units.
What is the formula for volume?
The formula depends on the shape. A box uses length × width × height, while round shapes commonly use π.
How do you calculate the volume of a box?
Multiply its length, width, and height in the same unit.
How do you calculate the volume of a cylinder?
Use π × radius² × height. Diameter can be divided by two to get the radius.
How do you find the volume of a cube?
Cube the side length: side × side × side.
What is the difference between volume and capacity?
Volume measures occupied space; capacity describes how much a container can hold.
How many cubic centimeters are in a liter?
One liter equals 1,000 cubic centimeters.
Can I use different units for each measurement?
Yes. Each input has its own length unit and the calculator converts them accurately.
What is the difference between radius and diameter?
Radius runs from the center to the edge. Diameter runs all the way across and equals two radii.
Related tools
Paint Calculator
Estimate how much paint you’ll need for a room, a wall, or a ceiling. Enter your measurements, choose coats, and we’ll do the math.
Height Calculator
Estimate a child’s adult height using parent heights, with results in feet, inches, and centimeters.
Texas Paycheck Calculator
Estimate Texas take-home pay after federal taxes, FICA, and deductions for salary or hourly pay.
401(k) Calculator
Estimate how your 401(k) could grow with your contributions, employer match, salary growth, returns, and fees.
Margin Calculator
Calculate profit margin, markup, profit, or the selling price you need to hit a target margin.
Factor Calculator
Find all factors of a number, factor pairs, and prime factorization, or use this factoring calculator for common algebraic expressions.