Skip to content

Math

Volume Calculator

Choose a shape and enter its measurements to find the volume in cubic units. The calculator covers cubes, rectangular prisms, cylinders, spheres, and cones, and shows the formula behind each result. Volume is the space inside a three-dimensional object, so every answer is reported in units cubed.

Updated 2026-11-12 Editorial estimate Calccc Editorial Team Free · No sign-up

Loading calculator…

What this calculator does

Volume measures how much space a solid takes up, and the formula depends on the shape. A cube needs one side, a rectangular prism needs length, width, and height, and round shapes need a radius, plus a height for cylinders and cones. This calculator applies the standard formulas with pi and returns the result in cubic units. It is useful for estimating capacity, shipping space, concrete, or tank volume before you buy materials.

How to use it

  1. Choose the shape from the list.
  2. Enter each measurement in the same unit, such as inches or centimeters.
  3. Use the radius, not the diameter, for cylinders, spheres, and cones.
  4. Read the volume in cubic units and check the formula shown.
  5. Convert to gallons or liters after the calculation if you need capacity.

How it works

Cube: V = s^3, where s is the side. Rectangular prism: V = length x width x height. Cylinder: V = pi x r^2 x h. Sphere: V = 4/3 x pi x r^3. Cone: V = 1/3 x pi x r^2 x h. All measurements must use the same linear unit, so the result is in that unit cubed, such as cubic inches or cubic meters.

Example calculations

Example 1: cube and rectangular prism

A cube with a side of 3 has a volume of 27 cubic units, because 3 x 3 x 3 = 27. A rectangular prism measuring 2 by 3 by 4 has a volume of 24 cubic units, since 2 x 3 x 4 = 24.

Example 2: cylinder with radius 2 and height 5

The base area is pi x 2^2 = 4 pi, and multiplying by the height of 5 gives 20 pi, or about 62.83 cubic units.

Example 3: sphere and cone with radius 3

A sphere with radius 3 has a volume of 4/3 x pi x 27 = 36 pi, about 113.10 cubic units. A cone with radius 3 and height 6 has one-third of the cylinder volume, 18 pi, about 56.55 cubic units.

What the result means

Cubic units describe a cube that is one unit on every side. A result of 27 cubic inches means the shape would fill 27 cubes measuring one inch each. Because volume grows with the cube of length, doubling every dimension multiplies volume by eight, and tripling multiplies it by 27. Keep all inputs in one unit before calculating, since 1 cubic foot equals 1,728 cubic inches, and a cubic yard equals 27 cubic feet. The calculator rounds pi, so results may differ slightly from hand calculations that use more digits. Volume is not capacity in gallons or liters, but you can convert after the fact.

Common mistakes

  • Mixing inches and feet in the same calculation.
  • Entering a diameter where the formula needs a radius.
  • Forgetting to cube the side or the radius.
  • Confusing volume in cubic units with area in square units.
  • Rounding pi heavily and then expecting an exact match.

Assumptions and limits

  • All measurements use the same linear unit.
  • Cylinders and cones are right circular shapes.
  • The sphere is complete, not a hemisphere or a cap.
  • The prism has square corners and a rectangular base.
  • Wall thickness and material compaction are not considered.

Frequently asked questions

What does cubic units mean?

It is the volume of a cube one unit on each side. A box measuring 2 by 3 by 4 holds 24 of those unit cubes.

Why is a cone one-third of a cylinder?

A cone with the same base and height as a cylinder fills one-third of it, so its formula multiplies the cylinder volume by 1/3.

Can I enter a diameter instead of a radius?

The formulas use a radius. Divide the diameter by two first, or the result will be too large: four times for a cylinder or cone base and eight times for a sphere.

How do I convert cubic feet to gallons?

Multiply cubic feet by about 7.48. One cubic foot holds about 7.48 US gallons, so a 10 cubic foot tank is roughly 75 gallons.

Why does doubling the side multiply volume by eight?

Each of the three dimensions doubles, and 2 x 2 x 2 = 8. Volume scales with the cube of length, not with length itself.

Does the calculator handle metric units?

Yes. Enter centimeters or meters and the result is in cubic centimeters or cubic meters. Keep one unit throughout the calculation.

Sources

This is an educational geometry estimate. Results are rounded and assume exact measurements, right circular cylinders and cones, and a complete sphere. Confirm dimensions and convert units before ordering materials or calculating capacity.

2026 update

How to use the professional output

This page is not just a formula box. The result is designed to be checked, compared, and taken away.

  • Professional worksheet. The result includes the inputs used, the method and scope, and a one-variable sensitivity check for finance calculators.
  • A/B scenarios. Save two input sets in the browser and compare the primary, secondary, and breakdown figures side by side.
  • Print / PDF and CSV. Print a branded worksheet, or export the year-by-year table when the calculator produces one.

The formulas and assumptions above still govern the number. The worksheet makes the estimate auditable; it does not make it a lender quote, tax return, or personalized advice.

Go deeper

Guides that explain the math

Volume Calculator: Cubic Units and Real Containers
Math

Volume Calculator: Cubic Units and Real Containers

Cube, cylinder, sphere, and cone volume formulas, cubic-unit conversions, and how fill level and wall thickness change real capacity.

8 min read

Calccc Editorial Team · Updated 2026-11-12

Prepared by Calccc Editorial Team as an educational estimate. This page is not a licensed professional review and is not financial, medical, legal, or tax advice.

Editorial estimate prepared by the Calccc Editorial Team; not a licensed professional review.