Volume Calculator

Calculate the volume of cubes, spheres, cylinders, and cones from their dimensions.

3D Shape Volume Calculator
Choose a geometric shape, enter its dimensions, and calculate the enclosed space.

About the volume calculator

Volume measures the amount of three-dimensional space enclosed by a solid. Unlike area, which describes a flat surface in square units, volume is reported in cubic units such as cubic centimetres, cubic metres, or cubic inches. This calculator covers four shapes that appear frequently in classrooms, workshops, packaging, architecture, and engineering: the cube, sphere, cylinder, and cone. Select the shape first because each solid uses a different relationship between its dimensions and enclosed space. A cube has six equal square faces, so one side length determines every dimension. Its volume is the side multiplied by itself three times. A sphere is determined by its radius, the straight-line distance from its centre to its surface. Its volume is four-thirds times pi times the radius cubed. Because the radius is cubed, even a modest increase in radius produces a much larger sphere. Doubling a sphere's radius increases its volume by a factor of eight. A cylinder combines a circular base with a constant perpendicular height. Its volume equals the area of the circular base, pi times radius squared, multiplied by height. A cone starts with the same circular-base calculation but narrows to one point. A cone therefore occupies exactly one-third of the volume of a cylinder having the same radius and height. These comparisons are useful when estimating tanks, pipes, cups, funnels, piles, and containers. Use one consistent linear unit for every input. If radius is entered in metres and height in centimetres, the numerical result has no meaningful cubic unit until one measurement is converted. When all lengths are centimetres, the result is cubic centimetres; when all are feet, the result is cubic feet. The calculator keeps several decimal places so that pi-based results remain useful, but practical projects may require rounding based on measurement precision. The formulas describe ideal geometric solids. Real objects can have wall thickness, rounded edges, irregular surfaces, seams, or material displacement. For capacity planning, use interior dimensions rather than exterior dimensions. For manufacturing or construction estimates, allow for tolerances and waste separately. This tool provides the mathematical volume quickly and consistently, while the quality of a real-world estimate still depends on accurate measurements and an appropriate model of the object.

Volume examples

Shape and dimensionsVolumeCalculation
Cube with side 464 cubic units4 times 4 times 4
Sphere with radius 2.565.4498 cubic unitsFour-thirds times pi times 2.5 cubed
Cylinder with radius 3 and height 7197.9203 cubic unitsPi times 3 squared times 7
Cone with radius 5 and height 10261.7994 cubic unitsOne-third times pi times 5 squared times 10

How to calculate volume

  1. Choose the cube, sphere, cylinder, or cone button.
  2. Enter the positive side length or radius requested for the selected shape.
  3. For a cylinder or cone, also enter its perpendicular height in the same unit.
  4. Select Calculate Volume and read the result in cubic units.

Volume calculator FAQ

What units does the calculator use?

You can use any linear unit as long as every dimension uses the same one. The answer is expressed in the corresponding cubic unit.

Why is a cone one-third of a cylinder?

A cone narrows continuously from its circular base to a point. Calculus and geometric dissection show that three matching cones fill a cylinder with the same base and height.

Can I enter decimal dimensions?

Yes, positive decimal measurements are supported. The result retains enough decimal precision for most everyday calculations.

Should I use radius or diameter?

Enter the radius for spherical and circular shapes. If you know the diameter, divide it by two before entering it.

Why are sphere results not whole numbers?

The sphere formula contains pi, an irrational number. Most sphere, cylinder, and cone volumes are therefore decimal approximations.