Free Volume Calculator

Select a shape and enter dimensions to calculate volume

This online volume calculator offers a fast, accurate way to determine the capacity of the most common three‑dimensional solids. It handles cube volume, sphere volume, cylinder volume, cone volume, rectangular prism volume, pyramid volume, and hemisphere volume—all within a single interface. The tool also functions as a volume unit converter, allowing you to switch between metric units (cubic meters, liters, milliliters) and imperial units (cubic inches, cubic feet, gallons) instantly.

What Is Volume?

Volume measures the three‑dimensional space occupied by an object, substance, or container. It is fundamentally different from area, which is a two‑dimensional measure. The SI standard unit of volume is the cubic meter (m³), but in everyday use you will also encounter liters, milliliters, cubic feet, cubic inches, and gallons. In practical terms, the volume of a container is often called its capacity—the amount of fluid or gas it can hold.

Volume Units and Conversion Table

This calculator supports a broad range of volume units. Popular metric units include cubic centimeters (cm³), cubic meters (m³), liters (L), and milliliters (mL). In the US customary and imperial systems, common units are fluid ounces (fl oz), cubic inches (in³), cubic feet (ft³), cups, pints (pt), quarts (qt), and gallons (gal). The table below provides conversion factors for some of the most frequently used units, enabling quick comparison.

Unitm³Lft³gal (US)
1 cubic meter (m³)11,00035.3264.2
1 liter (L)0.00110.03530.2642
1 cubic foot (ft³)0.0283228.31717.481
1 US gallon (gal)0.0037853.7850.13371
1 cubic inch (in³)1.639×10⁻⁵0.016395.787×10⁻⁴4.329×10⁻³

For a complete unit‑to‑unit reference, you can use the tool’s built‑in volume converter, which handles dozens of combinations instantly.

Volume Formulas for Common 3D Shapes

Each shape has a specific geometric formula that the calculator applies automatically. The table below summarizes the key formulas.

ShapeVolume FormulaVariables
CubeV=s3V = s^{3}ss = side length
Rectangular prism (box)V=l×w×hV = l \times w \times hll = length, ww = width, hh = height
CylinderV=πr2hV = \pi r^{2} hrr = radius, hh = height
ConeV=13πr2hV = \dfrac{1}{3} \pi r^{2} hrr = radius, hh = height
SphereV=43πr3V = \dfrac{4}{3} \pi r^{3}rr = radius
HemisphereV=23πr3V = \dfrac{2}{3} \pi r^{3}rr = radius
Pyramid (general)V=13AhV = \dfrac{1}{3} A hAA = base area, hh = height
Pyramid (regular polygon)V=n12hs2cot⁡(πn)V = \dfrac{n}{12} h s^{2} \cot\left(\dfrac{\pi}{n}\right)nn = sides, ss = side length, hh = height
General prismV=AhV = A hAA = base area, hh = height

Quick Examples

  • A cube with side 5 cm has a volume of 53=125 cm35^{3} = 125\ \text{cm}^{3}.
  • A sphere with radius 10 cm has a volume of 43π(10)3≈4,188.8 cm3\dfrac{4}{3} \pi (10)^{3} \approx 4,188.8\ \text{cm}^{3}.
  • A rectangular box measuring 3 ft × 2 ft × 4 ft has a volume of 3×2×4=24 ft33 \times 2 \times 4 = 24\ \text{ft}^{3}.

These calculations are performed instantly by the tool once the dimensions are entered.

How to Use the Volume Calculator

  1. Select the shape from the dropdown menu. The available choices include cube, sphere, cylinder, cone, rectangular prism, pyramid, and hemisphere.
  2. Enter the required dimensions in the input fields. You can change the unit of each dimension by clicking the unit label next to the field.
  3. Read the result—the volume is displayed immediately in the default unit.
  4. Convert units if needed: click the volume unit to open a list and pick another unit (e.g., from cubic feet to liters). The numeric value updates automatically.

If you need a shape that is not listed here, a collection of specialized calculators is available for more complex geometries.

Measuring the Volume of Solids, Liquids, and Gases

Regular Solids

For objects with a regular shape (cube, sphere, cylinder, etc.), the simplest approach is to measure the relevant dimensions and apply the corresponding formula. The volume calculator automates this process, eliminating manual calculation errors.

Irregular Solids

The classic water displacement method, pioneered by Archimedes, works for any insoluble irregular object. Fill a graduated container with water, record the initial level, fully submerge the object, and record the new level. The difference between the two measurements equals the object’s volume.

Liquids

Measuring a liquid’s volume is straightforward: use a graduated cylinder, measuring cup, or volumetric flask. The choice depends on the required accuracy and the amount of liquid.

Gases

Gases expand to fill their container, so special techniques are needed:

  • Use a gas syringe to collect a known volume from a reaction.
  • Inflate a balloon with the gas and measure the displaced water volume (another application of Archimedes’ principle).
  • Calculate the volume from the gas’s mass and density with V=mρV = \dfrac{m}{\rho}, or apply the ideal gas law if pressure and temperature are known.

Common Misconception: Volume of a Rectangle

Two‑dimensional shapes like rectangles, squares, and circles do not have volume—they have area. When people refer to the “volume of a rectangle,” they usually mean the volume of a rectangular prism (a box), which is a 3D object. The box volume is simply V=l×w×hV = l \times w \times h. For example, a box that is 10 in long, 5 in wide, and 3 in tall has 10×5×3=150 in310 \times 5 \times 3 = 150\ \text{in}^{3}.

Real‑World Applications

Volume calculations are essential in many fields:

  • Construction: Determining concrete volume for slabs and footings.
  • Gardening: Estimating soil or mulch needed for planters and raised beds.
  • Cooking: Converting between milliliters, cups, and tablespoons when following international recipes.
  • Shipping: Computing cubic volume for freight pricing and container space planning.
  • Science & medicine: Preparing solutions, dosing medication, and conducting experiments with precise volume measurements.

Whether you are a student, engineer, builder, or hobbyist, this volume calculator simplifies both common and advanced volume‑related tasks.

FAQ

1. How do I calculate the volume of a cube?

Use the formula V = s³, where s is the side length. In the calculator, select "Cube" and enter the side length to get the result instantly.

2. How can I convert liters to gallons using this tool?

After calculating a volume, click on the volume unit and choose your desired unit from the list. For reference, 1 liter ≈ 0.2642 US gallons.

3. What is the best way to find the volume of an irregularly shaped object?

Use the water displacement method: submerge the object in a graduated container and measure the change in water level. The difference equals the object's volume, provided the object is insoluble.

4. Can I calculate the volume of a hemisphere with this calculator?

Yes, the calculator includes a hemisphere option. The formula used is V = (2/3)πr³, where r is the radius.

5. Is there a difference between the volume of a rectangle and the volume of a box?

A rectangle is 2D and has no volume. Its 3D counterpart is a rectangular prism (box), whose volume is length × width × height.

How to Use

  1. Select a 3D shape from the dropdown menu (cube, box, sphere, hemisphere, cylinder, cone, or square pyramid).
  2. Enter the required dimensions and choose the appropriate unit of measurement (mm, cm, m, in, ft, etc.).
  3. Select your preferred volume unit for the result. The volume updates in real time as you type.