← Home

📦 Volume Calculator

Find the volume of cubes, cylinders, spheres, cones, and rectangular boxes.

What is this tool?

A volume calculator is a geometry tool that computes the three-dimensional space occupied by a solid object. Volume is measured in cubic units such as cubic centimeters, cubic meters, cubic inches, or cubic feet, and is essential for fields ranging from construction and manufacturing to cooking and science. Whether you need to determine how much water a tank can hold, how much concrete to pour for a cylindrical pillar, or how much soil fits in a planter box, knowing the exact volume prevents waste and ensures accuracy. Different three-dimensional shapes require different formulas: a rectangular prism uses length times width times height, a cylinder uses pi times radius squared times height, a sphere uses four-thirds times pi times radius cubed, and a cone uses one-third times pi times radius squared times height. Remembering all these formulas and applying them correctly can be error-prone, especially under time pressure. This calculator supports all common shapes and handles the unit conversions automatically so you can focus on your project rather than memorizing geometry formulas.

How it works

The calculator applies the standard geometric volume formula for whichever shape you select. For a rectangular box, it multiplies length times width times height. For a cylinder, it multiplies pi approximately 3.14159 times the radius squared times the height. For a sphere, it computes four-thirds times pi times the radius cubed. For a cone, it calculates one-third times pi times the radius squared times the height. For a cube, it simply cubes the side length. The tool reads the dimensions you enter, validates that all values are positive numbers, applies the appropriate formula, and displays the result in cubic units matching your input. All calculations are performed with full floating-point precision and rounded to two decimal places for display.
Ad

How to use

  1. Select the shape you want to calculate from the dropdown menu: box, cube, cylinder, sphere, or cone.
  2. Enter the required dimensions for your chosen shape. For a box, enter length, width, and height. For a cylinder or cone, enter radius and height. For a sphere, enter radius. For a cube, enter one side length.
  3. Make sure all measurements are in the same unit, since the result will be in cubic units of whatever you entered.
  4. Press the Calculate button to see the volume instantly.
  5. If you need the result in a different unit, convert your input dimensions first, since mixing units will produce incorrect results.

Frequently Asked Questions

Frequently Asked Questions

What unit is the result in?
The volume is in cubic units matching your input. If you enter dimensions in centimeters, the result is in cubic centimeters. If you enter feet, the result is in cubic feet. Always use the same unit for all dimensions to get a correct result.

How do I convert cubic feet to cubic yards?
Divide cubic feet by 27 to get cubic yards, since one cubic yard equals 27 cubic feet. For example, 54 cubic feet equals 2 cubic yards. This conversion is commonly needed for concrete and soil projects.

Can this calculate the volume of a pipe?
Yes. A pipe is a hollow cylinder. Calculate the outer cylinder volume, then subtract the inner cylinder volume. Enter the outer radius and height for one calculation, then the inner radius and height for another, and subtract the two results.

Why does my sphere volume seem too large?
Check that you entered the radius, not the diameter. The diameter is twice the radius. If you measured the full width across the sphere, divide it by 2 before entering it. A common mistake is entering diameter as radius, which makes the result 8 times too large.

Tips & Advice

When measuring containers or tanks, remember that the usable volume is often less than the calculated geometric volume because you typically do not fill to the very top. For liquid containers, leave about 10 percent headspace. For irregular shapes, break them down into simpler geometric components, calculate each volume separately, and add them together. This tool uses the mathematical constant pi as approximately 3.14159 for all round shapes. All calculations run in your browser with no data transmitted.

Related Math & Science Tools

Ad