1. Home
  2. Math
  3. Volume Calculator

Volume Calculator

Volume is the space a 3D shape fills. A box is length × width × height; a cylinder is π × r² × h. Pick a shape, enter its sizes in any units, and see the volume in cubic units, litres and gallons.

Filling a tank, pot or pool? A 1 m × 1 m × 1 m box holds 1,000 litres. The answer below always includes litres and gallons so you know how much it holds.

Volume of a rectangular box

Answer —

How we got this

    Your next step

    Your answer carries over, so you don’t have to type it again.

    Volume formulas

    ShapeFormula
    Box (cuboid)l × w × h
    Cubea³
    Cylinderπ × r² × h
    Sphere4/3 × π × r³
    Cone1/3 × π × r² × h
    Pyramid1/3 × base area × h
    Capsuleπ × r² × (4/3 × r + h)
    Hemisphere2/3 × π × r³

    Worked example

    A cylindrical water tank with radius 0.6 m and height 1.5 m: V = π × 0.6² × 1.5 = π × 0.36 × 1.5 ≈ 1.696 m³. Since 1 m³ = 1,000 litres, it holds about 1,696 litres (about 448 US gallons).

    Cubic units and capacity

    VolumeEquals
    1 cm³1 millilitre
    1,000 cm³1 litre
    1 m³1,000 litres
    1 ft³28.32 litres = 7.48 US gallons
    1 US gallon3.785 litres
    1 UK gallon4.546 litres

    Measuring tips

    • Use the inside measurements for how much a container holds.
    • For a cylinder you may know the diameter; the radius is half of it.
    • Convert everything to one unit, or pick a unit for each side here and we convert for you.

    Frequently asked questions

    How do I calculate volume?

    For a box multiply length × width × height. Other shapes have their own formulas, shown in the table above.

    How many litres are in a cubic metre?

    1,000 litres.

    How do I find the volume of a cylinder?

    Multiply π by the radius squared and by the height: V = π r² h.

    How do I convert cubic feet to gallons?

    Multiply cubic feet by 7.48 for US gallons, or by 6.23 for UK gallons.

    Last updated · Written and checked by the AzCalculator team · Calculations run in your browser with full precision and are rounded only for display. How we build calculators