CalcTrace

Volume Calculator

Choose a solid, enter its measurements and get the volume, with the formula and every step of the working. Eleven solids are covered. If your lengths are in centimetres or metres, the result is also given in litres.

Last updated .

Solid and measurements

Diagram is a guide to the labels, not drawn to scale.

Lengths are in

All lengths must use the same unit. Choose centimetres or metres to see the volume in litres as well.

Result

Volume

–

Show the working

    Volume formulas for each solid

    Volume is the amount of space a solid takes up, or the amount a container holds, measured in cubic units. Two ideas cover almost every formula. A solid with the same cross-section all the way along (a prism or cylinder) has a volume of base area times height. A solid that tapers evenly to a point (a pyramid or cone) has exactly one-third of that.

    Cube: V = a³

    Rectangular prism: V = l × w × h

    Cylinder: V = π × r² × h

    Cone: V = ⅓ × π × r² × h

    Sphere: V = 4⁄3 × π × r³

    Hemisphere: V = 2⁄3 × π × r³

    Pyramid: V = ⅓ × l × w × h

    Triangular prism: V = ½ × b × h × L

    Conical frustum: V = ⅓ × π × h × (R² + R × r + r²)

    Ellipsoid: V = 4⁄3 × π × a × b × c

    Capsule: V = π × r² × h + 4⁄3 × π × r³

    In these, a is the edge of a cube; l, w and h are length, width and height, with h always the vertical height and never a sloping edge; r is a radius; for the triangular prism, b and h are the base and height of the triangular end and L is the prism’s length; R and r are the two end radii of a frustum; a, b and c are the three semi-axes of an ellipsoid (half its length, width and height); and for a capsule, h is the length of the straight section between the two domed ends.

    Worked example: a water tank

    A cylindrical tank has a radius of 0.9 m and stands 2.2 m high. How much does it hold?

    1. Square the radius. 0.9² = 0.81.
    2. Area of the base. π × 0.81 = 2.5447 m².
    3. Multiply by the height. 2.5447 × 2.2 = 5.5983 m³.
    4. Convert to litres. One cubic metre is 1,000 litres, so the tank holds about 5,598 litres.

    A bucket, which is a frustum

    A bucket is 30 cm deep, with a radius of 15 cm at the rim and 10 cm at the bottom.

    1. Work out the bracket: 15² + 15 × 10 + 10² = 225 + 150 + 100 = 475.
    2. Multiply by π × h ÷ 3: π × 30 ÷ 3 = 31.4159, and 31.4159 × 475 = 14,922.57 cm³.
    3. Divide by 1,000 for litres: 14.92 litres.

    Cubic units and litres

    A litre is defined as a cube 10 cm on each side, which makes the conversions exact:

    An aquarium 60 cm long, 30 cm wide and 35 cm high has a volume of 60 × 30 × 35 = 63,000 cm³, which is 63 litres. For the capacity of a container, measure the inside. Wall thickness matters more than it looks, because it comes off every dimension.

    How the solids relate

    A cone holds exactly one-third of the cylinder it fits inside: with a radius of 3 and a height of 4, the cone is 37.6991 and the cylinder 113.0973. A sphere fills exactly two-thirds of the cylinder that just encloses it, a result Archimedes was proud enough of to want on his tomb: a sphere of radius 10 cm is 4,188.79 cm³, and its enclosing cylinder, 20 cm tall, is 6,283.19 cm³. A hemisphere is half a sphere, a capsule is a cylinder plus a sphere, and a frustum with equal radii turns back into a cylinder, which makes a handy check on the formula.

    Common mistakes

    Diameter instead of radius. The radius is squared in a cylinder or cone and cubed in a sphere, so entering the diameter makes a cylinder four times too big and a sphere eight times too big. Measure across, then halve.

    Mixed units. A concrete slab 5 m by 3 m and 100 mm thick is not 1,500 of anything useful. Convert the thickness to 0.1 m first, giving 1.5 m³. For slabs, footings and post holes, the concrete calculator does the unit handling and adds a wastage allowance.

    Forgetting how fast volume grows. Doubling every dimension multiplies the volume by 8, not 2. A pot twice as wide and twice as tall needs eight times the potting mix.