Volume Calculator
Choose the solid that matches the object and enter its dimensions in one length unit. The result describes geometric volume and shows conversions to cubic units and capacity.
Volume formulas
- Box: length × width × height. Cylinder: π × r² × h. Sphere: 4/3 × π × r³.
- A cone or pyramid holds one third of the matching cylinder or prism.
- Use one unit for every dimension; the answer comes out in cubic units.
- 1 cubic foot ≈ 7.48 US gallons; 1 litre = 1,000 cm³.
How to use the Volume Calculator
- Choose the three-dimensional shape you want to calculate.
- Enter the dimensions requested for that shape.
- Keep all dimensions in the same measurement unit.
- The calculator applies the standard formula for the selected shape.
- Lengths are combined according to the geometry of the shape.
- The result is expressed in cubic units.
- Changing any dimension immediately changes the calculated volume.
Geometric volume versus usable capacity
Use internal dimensions for container capacity. Radius is half the diameter; cone and pyramid heights are perpendicular heights. All active dimensions must be positive and finite. A unit selection relabels the entered dimensions, so re-enter values in that unit.
Examples
Rectangular prism
A rectangular prism 4 units long, 3 units wide and 2 units high has volume 4 × 3 × 2 = 24 cubic units.
Cylinder
For a cylinder, volume is πr²h. A radius of 2 and height of 5 gives 20π cubic units, about 62.83.
Check the result in context
Matching solids: radius 2 and height 5 give cylinder volume 20π ≈ 62.831853 cubic units and cone volume 20π/3 ≈ 20.943951 cubic units.
Example volumes (cubic units)
| Shape | Formula | Volume |
|---|---|---|
| Cube (side 3) | s³ | 27.00 |
| Box 4 × 3 × 2 | l × w × h | 24.00 |
| Cylinder r = 3, h = 10 | π r² h | 282.74 |
| Sphere r = 3 | 4/3 π r³ | 113.10 |
| Cone r = 3, h = 10 | 1/3 π r² h | 94.25 |
| Pyramid base 4 × 4, h = 6 | 1/3 × base × h | 32.00 |
Frequently asked questions
Why is volume measured in cubic units?
Volume measures three-dimensional space, so a length unit is multiplied across three dimensions and becomes units cubed.
Do all dimensions need the same unit?
Yes. Convert dimensions to one common unit before calculating if you want a meaningful cubic-unit result.
Why does radius have such a large effect on cylinder or sphere volume?
Radius is squared in a cylinder formula and cubed in a sphere formula, so changes in radius have a nonlinear effect.
Is a cone one-third of a cylinder?
Yes, when the cone and cylinder have the same base radius and height.
Can I use the result for liquid capacity?
Yes after converting the geometric cubic-unit result into the desired capacity unit when the container's internal dimensions match the modeled shape.
Why is a cone smaller than a cylinder with the same dimensions?
With equal base radius and perpendicular height, a cone has one third of the cylinder volume. A cylinder of radius 2 and height 5 has 20π cubic units; the matching cone has 20π/3.
More math tools
Area Calculator
Calculate area for rectangles, squares, triangles, circles, trapezoids, parallelograms, ellipses and sectors.
Open tool →Square Footage Calculator
Calculate combined square footage or square metres for multiple rectangles.
Open tool →Unit Converter
Convert length, weight, temperature, area, volume, speed and common metric and imperial units.
Open tool →Concrete Calculator
Estimate concrete volume for slabs, walls, footings and round columns.
Open tool →LCM Calculator
Find the least common multiple of two or more positive integers.
Open tool →GCF Calculator
Find the greatest common factor of two or more positive integers.
Open tool →