Volume Calculator

Calculate volume for cube, sphere, cylinder, cone, rectangular prism, triangular prism, pyramid, ellipsoid, and torus with step-by-step solutions.

For learning and homework help — verify critical calculations independently.

Reviewed by CalculatorDrive Math Editorial Board · Last updated

Calculator

Select a shape type and enter the required dimensions to calculate volume.

Quick answer

Volume is the amount of three-dimensional space a shape occupies, measured in cubic units. Pick the shape that matches your object, enter its dimensions, and the calculator applies the matching formula — a³ for a cube, (4/3)πr³ for a sphere, πr²h for a cylinder, and so on — showing the base area and every calculation step along the way.

Key takeaways

  • Volume is always expressed in cubic units — cm³, m³, in³, ft³ — never square or linear units.
  • Cones and pyramids hold exactly 1/3 the volume of a cylinder or prism sharing the same base and height.
  • Doubling every dimension of a shape multiplies its volume by 8 (2³), not 2.
  • 1 liter equals exactly 1000 cubic centimeters, which makes metric volume-to-capacity conversion straightforward.
  • Converting a linear unit conversion factor into a volume conversion factor requires cubing it, not applying it directly.

Volume formulas for every shape

Shape Formula Needs
Cube V = a³ Side length a
Sphere V = (4/3)πr³ Radius r
Cylinder V = πr²h Radius r, height h
Cone V = (1/3)πr²h Radius r, height h
Rectangular prism V = lwh Length, width, height
Triangular prism V = ½ × base × height × length Triangle base, height, prism length
Square pyramid V = (1/3)a²h Base side a, height h
Ellipsoid V = (4/3)πabc Three semi-axes a, b, c
Torus V = 2π²Rr² Major radius R, minor radius r

Worked examples

Cylinder: radius = 2, height = 5

  1. Base area = πr² = π × 2² = 4π ≈ 12.566
  2. Volume = base area × height = 4π × 5 = 20π ≈ 62.832

Cone: radius = 3, height = 4

  1. Base area = πr² = π × 3² = 9π ≈ 28.274
  2. Volume = (1/3) × base area × height = (1/3) × 9π × 4 = 12π ≈ 37.699

Notice the cone holds exactly one-third the volume of a cylinder sharing the same radius and height (12π vs. 36π) — this 1/3 relationship holds for any cone-and-cylinder or pyramid-and-prism pair with matching bases.

Cubic units and liquid capacity

Volume in metric units converts directly to liquid capacity: 1 cubic centimeter (cm³) equals 1 milliliter, and 1000 cm³ equals 1 liter. A rectangular fish tank measuring 50 cm × 30 cm × 40 cm holds:

V = 50 × 30 × 40 = 60,000 cm³ = 60 liters

In US customary units, 1 cubic foot ≈ 7.48 gallons, and 1 US gallon ≈ 231 cubic inches — handy conversions when sizing tanks, containers, or shipping volume.

Common mistakes

  • Forgetting the 1/3 factor for cones and pyramids — a very easy formula to drop under time pressure.
  • Entering the diameter where the formula expects the radius (radius is always half the diameter).
  • Converting length units directly instead of cubing the conversion factor — 1 m = 100 cm, but 1 m³ = 1,000,000 cm³ (100³), not 100 cm³.
  • Reporting volume in square units (like cm²) instead of cubic units (cm³) — a leftover habit from area calculations.

Frequently Asked Questions

What is volume?

Volume measures three-dimensional space occupied by an object, in cubic units such as cubic centimeters, cubic feet, or liters.

How do you find volume of a rectangular prism?

Multiply length × width × height. A 2 m × 3 m × 4 m box holds 24 cubic meters.

What is the volume of a cylinder?

V = πr²h — area of the circular base times height. A radius-2, height-5 cylinder has volume 20π cubic units.

How do liters relate to cubic centimeters?

One liter equals 1000 cubic centimeters (1 mL = 1 cm³). Useful when converting between metric capacity and spatial measure.

How do I use this volume calculator?

Choose a 3D shape, enter dimensions, and click Calculate to see volume in cubic units and common capacity equivalents.

If you double every dimension of a shape, how much does its volume increase?

Volume scales with the cube of the linear scale factor. Doubling every dimension multiplies volume by 2³ = 8, not 2. Example: a cylinder with radius 2 and height 5 has volume 20π ≈ 62.83. Doubling both to radius 4 and height 10 gives volume 160π ≈ 502.65 — exactly 8 times larger.

More math calculators