Math Calculators

Volume Calculator

Updated

Calculate volume

Choose a shape, enter the dimensions, and calculate volume with instant unit conversions.

Choose a shape

Shortcut cards update the fields, diagram, and formula.

Advanced shapes

All dimensions use this measurement unit.

Unit for the final answer and conversions.

Shape preview

Rectangular prism / box

Rectangular prism / box volume diagramlengthwidthheight

Formula

V = length x width x height

Required inputs

Length, width, height

Enter dimensions in feet. The main answer appears in cubic feet, with conversions below after calculation.

Choose a shape and enter positive dimensions to calculate volume.

The result will show the formula, step-by-step substitution, primary cubic result, and unit conversions.

What is volume?

Volume measures the three-dimensional space inside or occupied by an object. It is useful for boxes, tanks, packages, concrete forms, containers, and classroom geometry problems.

Volume vs area

Area measures a flat surface in square units, such as square feet. Volume measures three-dimensional space in cubic units, such as cubic feet or cubic meters. For example, floor area uses square feet, while a box or tank capacity uses cubic feet. Use the Area Calculator when you only need a flat surface measurement.

Volume formulas and shape cards

Cube volume diagramside

Cube

Inputs: side

Formula: V = s³

Best for: equal-sided boxes and blocks

Rectangular prism / box volume diagramlengthwidthheight

Rectangular prism / box

Inputs: length, width, height

Formula: V = l × w × h

Best for: boxes, rooms, storage, tanks

Cylinder volume diagramradiusheight

Cylinder

Inputs: radius, height

Formula: V = π × r² × h

Best for: round tanks, pipes, cans

Sphere volume diagramradius

Sphere

Inputs: radius

Formula: V = 4/3 × π × r³

Best for: balls and round objects

Cone volume diagramradiusheight

Cone

Inputs: radius, height

Formula: V = 1/3 × π × r² × h

Best for: cones, funnels, tapered forms

Square pyramid volume diagramheightbase side

Square pyramid

Inputs: base side, height

Formula: V = 1/3 × s² × h

Best for: square-base pyramids

Rectangular pyramid volume diagramheightbase lengthbase width

Rectangular pyramid

Inputs: base length, base width, height

Formula: V = 1/3 × l × w × h

Best for: rectangular-base pyramids

Triangular prism volume diagrambaseheightprism length

Triangular prism

Inputs: triangle base, triangle height, prism length

Formula: V = 1/2 × b × h × length

Best for: wedges and prism shapes

Hemisphere volume diagramradius

Hemisphere

Inputs: radius

Formula: V = 2/3 × π × r³

Best for: half-spheres and domes

Capsule volume diagramradiusstraight length

Capsule

Inputs: radius, straight length

Formula: V = pi x r^2 x h + 4/3 x pi x r^3

Best for: capsules and rounded tanks

Tube / hollow cylinder volume diagramouter radiusinnerlength

Tube / hollow cylinder

Inputs: outer radius, inner radius, length

Formula: V = pi x h x (R^2 - r^2)

Best for: pipes, tubes, hollow forms

Conical frustum volume diagramtop radiusbottom radiusheight

Conical frustum

Inputs: top radius, bottom radius, height

Formula: V = 1/3 x pi x h x (R^2 + Rr + r^2)

Best for: buckets, tapered containers

Ellipsoid volume diagramabc

Ellipsoid

Inputs: semi-axes a, b, c

Formula: V = 4/3 x pi x a x b x c

Best for: oval solids and rounded forms

ShapeInputs neededFormula
CubeSideV = s³
Rectangular prism / boxLength, width, heightV = l × w × h
CylinderRadius or diameter, heightV = π × r² × h
SphereRadius or diameterV = 4/3 × π × r³
HemisphereRadius or diameterV = 2/3 × π × r³
ConeRadius or diameter, heightV = 1/3 × π × r² × h
Square pyramidBase side, heightV = 1/3 × s² × h
Rectangular pyramidBase length, base width, heightV = 1/3 × l × w × h
Triangular prismTriangle base, triangle height, prism lengthV = 1/2 × b × h × length
CapsuleRadius or diameter, straight lengthV = pi x r^2 x h + 4/3 x pi x r^3
Tube / hollow cylinderOuter radius, inner radius, lengthV = pi x h x (R^2 - r^2)
Conical frustumTop radius, bottom radius, heightV = 1/3 x pi x h x (R^2 + Rr + r^2)
EllipsoidSemi-axes a, b, cV = 4/3 x pi x a x b x c

Volume units explained

Cubic inches

small objects, packages, product dimensions

Useful when dimensions are measured in inches.

Cubic feet

boxes, rooms, tanks, construction forms

Common for U.S. storage and building estimates.

Cubic yards

concrete, mulch, gravel, sand

Common for bulk construction and landscaping materials.

Cubic centimeters

small metric objects

Often aligns with milliliters for small capacities.

Cubic meters

large metric volumes

Common for tanks, rooms, and larger metric estimates.

Liters

liquids and containers

1 cubic meter equals 1,000 liters.

Milliliters

small liquid volumes

1 milliliter equals 1 cubic centimeter.

Gallons

U.S. liquid capacity

Useful for pools, tanks, and containers.

  • 1 cubic foot = 1,728 cubic inches.
  • 1 cubic yard = 27 cubic feet.
  • 1 cubic meter = 1,000 liters.
  • 1 liter = 1,000 cubic centimeters.
  • 1 milliliter = 1 cubic centimeter.
  • 1 cubic inch is about 16.387 cubic centimeters.

Liters and gallons are useful for liquids and containers. Cubic units are useful when you start from shape dimensions. The same volume can be expressed either way after conversion.

Worked examples

Box: A 5 m × 2 m × 3 m box has volume = 5 × 2 × 3 = 30 cubic meters.

Cylinder: Radius 2 ft and height 10 ft gives volume = 3.1416 × 2² × 10 = 125.66 cubic feet.

Sphere: Radius 3 in gives volume = 4/3 × 3.1416 × 3³ = 113.10 cubic inches.

Cone: Radius 3 ft and height 9 ft gives volume = 1/3 × 3.1416 × 3² × 9 = 84.82 cubic feet.

Square pyramid: Base side 6 ft and height 10 ft gives volume = 1/3 × 6² × 10 = 120 cubic feet.

Shape-specific volume guides

Box Volume

Formula: V = length × width × height

Inputs needed: length, width, height

Example: A 5 ft × 3 ft × 2 ft storage box has volume 5 × 3 × 2 = 30 ft³.

Use the Volume Calculator above to switch shapes, units, and converted results quickly.

Cylinder Volume

Formula: V = π × radius² × height

Inputs needed: radius or diameter, height

Example: A cylinder with radius 2 ft and height 10 ft has volume about 125.66 ft³.

Use the Volume Calculator above to switch shapes, units, and converted results quickly.

Sphere Volume

Formula: V = 4/3 × π × radius³

Inputs needed: radius or diameter

Example: A sphere with radius 3 in has volume about 113.1 in³.

Use the Volume Calculator above to switch shapes, units, and converted results quickly.

Cone Volume

Formula: V = 1/3 × π × radius² × height

Inputs needed: radius or diameter, height

Example: A cone with radius 3 ft and height 9 ft has volume about 84.82 ft³.

Use the Volume Calculator above to switch shapes, units, and converted results quickly.

Pyramid Volume

Formula: V = 1/3 × base area × height

Inputs needed: base dimensions, height

Example: A square pyramid with 6 ft base side and 10 ft height has volume 120 ft³.

Use the Volume Calculator above to switch shapes, units, and converted results quickly.

Triangular Prism Volume

Formula: V = 1/2 × triangle base × triangle height × prism length

Inputs needed: triangle base, triangle height, prism length

Example: A 6 ft × 4 ft triangle extended 10 ft has volume 120 ft³.

Use the Volume Calculator above to switch shapes, units, and converted results quickly.

Advanced Shape Volume

Formula: Capsules, tubes, frustums, and ellipsoids use radius, length, height, or semi-axis inputs.

Inputs needed: advanced dimensions by shape

Example: Use these for rounded tanks, pipes, tapered containers, and oval solids.

Use the Volume Calculator above to switch shapes, units, and converted results quickly.

Inside dimensions determine usable container capacity

An outer box measuring 80 × 50 × 40 cm encloses an external geometric volume of 160,000 cm³, or 160 L. If its measured clear inside dimensions are 76 × 46 × 36 cm, choose Rectangular prism / box, set the input unit to Centimeters and enter those inside dimensions. Internal volume is 125,856 cm³ = 125.856 L, not 160 L.

Measure the clear space you actually need; do not subtract an assumed wall thickness or treat external volume as fill capacity. Fittings, headspace and a permitted fill line can reduce the usable amount further. Subtracting these two volumes is only a shell-volume estimate when their geometry truly matches; it is not a weight estimate or a safe-fill recommendation.

Keep shape selection and units separate: the formula reference explains solids, the manual-volume Guide explains substitution, and the calculator applies your entered dimensions. For bulk-project cubic-unit checks, keep the cubic-yard conversion reference sheet beside the measurements; volume, area and weight are different quantities.

How to estimate volume for irregular objects

For small waterproof objects, water displacement can estimate volume when no simple shape formula fits.

  1. Fill a container with enough water.
  2. Record the starting water level.
  3. Submerge the object fully if it is safe and waterproof.
  4. Record the new water level.
  5. The difference is the object volume.

Avoid this method for objects that dissolve, absorb water, float, or should not get wet.

Real-life uses

Boxes and storage

Estimate how much space a box, bin, shelf, or storage container can hold.

Tanks and containers

Use cylinder or rectangular prism volume, then convert to liters or gallons.

Concrete forms

Estimate slabs, post holes, footings, and forms before using construction-specific tools.

Mulch, gravel, and sand

Use volume with depth to plan bulk landscaping material estimates.

Classroom geometry

Check formulas, units, and worked examples for common 3D shapes.

Using volume for concrete, mulch, gravel, and sand

Volume is often the first step for material planning, but project calculators can add depth, waste, bags, tons, and cubic yard context. Try the Concrete Calculator, Concrete Bags Calculator, Mulch Calculator, Sand Calculator, or Gravel Calculator. For bulk unit planning, use the Cubic Yard Calculator or Square Feet to Cubic Yards Calculator.

A practical measure-to-order workflow

Measure the flat footprint with the Square Footage Calculator when needed, add the planned depth with the Square Feet to Cubic Yards Calculator, then choose the material-specific calculator before ordering.

Treat the result as a planning estimate. Material density, compaction, waste, supplier specifications, delivery limits, and local site conditions can change the quantity you need.

Common mistakes

  • Mixing inches and feet in the same calculation.
  • Using diameter as radius for cylinders, spheres, hemispheres, or cones.
  • Confusing area with volume.
  • Forgetting cubic units in the final answer.
  • Using outside dimensions when inside capacity is needed.
  • Rounding too early before converting units.
  • Treating geometric volume as the final order quantity without checking depth, compaction, waste, and supplier specifications.

Related calculators

Use the Area Calculator for flat shapes, the Unit Converter for basic conversions, or the Cubic Yard Calculator and Concrete Calculator for construction-style material estimates. You can also estimate area-and-depth projects with the Square Feet to Cubic Yards Calculator, Mulch Calculator, or Sand Calculator.

For a room, wall, bed, or other flat footprint, start with the Square Footage Calculator. For bulk stone, use the Gravel Calculator; for small pours, use the Concrete Bags Calculator.

Volume calculator guides

Calculate volume for cubes, boxes, cylinders, spheres, cones, pyramids, and prisms with cubic unit conversions.

Quick answers

What this calculator answers

  • Result: Calculate volume for common 3D shapes and convert between cubic units and liters.
  • Formulas: Supports cubes, boxes, cylinders, spheres, hemispheres, cones, pyramids, and triangular prisms.
  • Best use: Use it for geometry homework, boxes, tanks, containers, concrete forms, and material estimates. cubic yard calculator

Transparency note

Accuracy and limitations

Calzivo tools are built for practical estimates, conversions, and checks. Some tools use standard formulas or simplified assumptions, and results can be affected by input accuracy, rounding, units, local rules, or changing official requirements.

Results depend on the values you enter and any simplified assumptions used by the tool. Verify important results before making decisions or submitting official information.

Reference check

Sources and references

These references provide background context for the topic. They do not replace official advice or documents for personal decisions.

How to Use This Tool

Use these steps to enter the right inputs and interpret the result correctly.

1

Choose the shape you want to calculate.

2

Select the input unit and enter the required dimensions.

3

Choose radius or diameter for round shapes.

4

Review the formula, substitution, primary result, and unit conversions.