Volume Calculator

Choose a shape, enter its dimensions and select your units. See the volume, a labelled diagram and the full calculation.

Radius is the distance from the centre to the surface.

All dimensions use the selected length unit. Changing it reinterprets the entered numbers in that unit. Results update as you type.

YOUR RESULT

Volume

523.598775598 cm³

Sphere · 523.598775598 cm³

Sphere dimensionsSchematic diagram; not to scale. Radius is the distance from the centre to the surface.r
Radius is the distance from the centre to the surface. Diagram is schematic, not to scale.

Calculation steps

Intermediate numbers are displayed to 12 significant digits; calculations use unrounded values. Areas use square units and volumes use cubic units.

  1. Identify the dimensions

    Radius r = 5 cm.

  2. Select the formula

    V = (4/3)πr³; π ≈ 3.14159265359.

  3. Calculate 1

    r³ = 5³ = 125

  4. Calculate 2

    V = (4/3) × π × 125

  5. Volume in the input cubic unit

    V = 523.598775598 cm³.

  6. Convert to cubic metres

    1 cm = 0.01 m, so 1 cm³ = (0.01)³ m³ = 0.000001 m³. V = 523.598775598 × 0.000001 = 0.000523598775598 m³.

  7. Convert to the selected output unit

    1 cm³ = 0.000001 m³. V = 0.000523598775598 / 0.000001 = 523.598775598 cm³.

Volume in other units

Cubic metres (m³)
0.000523598775598 m³
Cubic centimetres (cm³)
523.598775598 cm³
Litres (L)
0.523598775598 L
Millilitres (mL)
523.598775598 mL
Cubic feet (ft³)
0.018490716256 ft³
US liquid gallons
0.138320163162 US gal

What does a volume calculator measure?

Volume is the three-dimensional space occupied by a solid or enclosed by a container. It is measured in cubic units, such as cm³ or m³; capacity can also be expressed in litres or gallons. This tool applies geometric formulas to ideal shapes. It is useful for geometry exercises, estimating container capacity and calculating material quantities from dimensions.

Select the shape that matches the object. Measure perpendicular heights rather than sloping edges, and distinguish a radius from a diameter: radius = diameter / 2. For container capacity, use internal dimensions. These calculations do not add allowances for wall thickness, waste or irregular surfaces.

Volume formulas by shape

ShapeFormulaDimensions
SphereV = 4πr³/3r: sphere radius.
ConeV = πr²h/3r: circular base radius; h: perpendicular height.
CubeV = a³a: edge length.
CylinderV = πr²hr: base radius; h: perpendicular height.
Rectangular TankV = lwhl, w, h: internal length, width and height for full capacity.
CapsuleV = πr²h + 4πr³/3r: radius; h: straight cylinder length, excluding the rounded ends.
Spherical CapV = πh²(3R − h)/3R: original sphere radius; h: cap height, from 0 to 2R.
Conical FrustumV = πh(R² + Rr + r²)/3R and r: larger and smaller base radii; h: perpendicular separation.
EllipsoidV = 4πabc/3a, b, c: perpendicular semi-axes, each half a full axis length.
Square PyramidV = a²h/3a: side of the square base; h: perpendicular height.
TubeV = πh(R² − r²)R: outer radius; r: inner radius; h: length. Result is material volume.

How the formulas work

A prism or cylinder has volume equal to base area multiplied by height. A cone or pyramid occupies one third of the corresponding base-area-times-height volume. A capsule combines a cylinder with two hemispheres, whose combined volume equals one sphere. A tube subtracts the inner cylinder from the outer cylinder. The spherical cap and conical frustum formulas account for the changing cross-section along their height.

For example, a cylinder with r = 4 cm and h = 10 cm has V = π × 4² × 10 = 160π ≈ 502.654824574 cm³. This is approximately 0.502654824574 L. The calculator follows the same sequence and shows the values used for your selected shape.

Converting volume units

Cube the length conversion factor when converting volume: 1 m = 100 cm, so 1 m³ = 100³ cm³ = 1,000,000 cm³. Also, 1 L = 1,000 cm³, 1 mL = 1 cm³ and 1 m³ = 1,000 L. A US liquid gallon is 3.785411784 L; an Imperial gallon is 4.54609 L. Choose the gallon type explicitly.

Capacity and material volume

Rectangular Tank gives the full interior volume, not the amount of liquid at a partial fill level. Tube gives the solid material between its inner and outer surfaces, without end caps. To find the open bore’s capacity instead, choose Cylinder and enter the inner radius and length.