Skip to main content

DigitalCalculators.net

Volume Calculator

Find the volume of a cube, box, cylinder, sphere, cone, pyramid or hemisphere, with liters, gallons and the steps.

Results

ItemValue

Steps

StepWorking
Enter all sizes in the same unit. For a diameter, divide it by 2 to get the radius. Answers are rounded to 4 decimal places.

Quick Answer

Volume is the space inside a 3D shape, in cubic units. A box is length × width × height, so 5 × 4 × 10 ft = 200 ft³. A cylinder is π × r² × h, so a radius of 3 ft and a height of 10 ft gives about 282.74 ft³, or 2,115 US gallons.

Last updated: 2 November 2026 · How we calculate this: standard volume formulas

Table of Contents

How This Volume Calculator Works

Pick a shape and a unit, then enter its sizes. The calculator shows the volume in cubic units, plus liters, US gallons, cubic feet and cubic meters, with the formula and working.

Quick explanation: volume = how much space a shape holds, in cubic units such as ft³.

  • Same unit: enter every size in the unit you choose.
  • Radius: half the diameter.
  • Converting: use our Volume Conversion Calculator for other units.

Core Formulas

  • Cube: V = s³
  • Rectangular box: V = l × w × h
  • Cylinder: V = π × r² × h
  • Sphere: V = 4/3 × π × r³
  • Cone: V = π × r² × h ÷ 3
  • Rectangular pyramid: V = l × w × h ÷ 3
  • Hemisphere: V = 2/3 × π × r³

Worked Example

A ball has a radius of 5 cm.

  • V = 4/3 × π × 5³
  • V = 4/3 × π × 125 = 523.5988 cm³
  • That is about 0.52 liters

Tips for Accurate Results

  • Measure inside: for tanks and containers, use inside sizes.
  • Mixed units: change inches to feet first (divide by 12).
  • Odd shapes: split them into simple shapes and add the volumes.

Frequently Asked Questions

Use the formula for the shape. For a box, multiply length, width and height.

Multiply π by the radius squared, then by the height.

One cubic foot holds about 7.48 US gallons.

Area measures a flat surface in square units. Volume measures space in cubic units.

Divide the diameter by 2 to get the radius, then use the formula.

References & Sources

SourceUsed ForLink
Wikipedia, Volume Volume formulas for common shapes. https://en.wikipedia.org/wiki/Volume
NIST, Unit conversion US customary and metric volume units. https://www.nist.gov/pml/owm/metric-si/unit-conversion