Skip to content

Volume Calculator

Last updated

Shape and size

I have the

Results update as you type

— volume
  • Working shown
  • Instant results
  • Runs in your browser

Pick a shape, enter its measurements in any unit, and this volume calculator gives the volume with the formula and working – plus the same answer in cubic feet, cubic metres, litres and US gallons.

Use the calculator above for your own numbers. Below, we explain how the Volume Calculator works, with worked examples and sources.

Volume formulas for each shape

ShapeFormulaExampleVolume
Cubes³side 4 cm64 cm³
Box (rectangular prism)l × w × h5 × 3 × 2 ft30 ft³
Cylinderπ r² hr 3 in, h 10 in282.7 in³
Sphere(4/3) π r³r 5 cm523.6 cm³
Cone(1/3) π r² hr 4 cm, h 9 cm150.8 cm³
Square pyramid(1/3) b² hbase 6 m, h 8 m96 m³
Volume formulas for each shape – Cube s³ side 4 cm 64 cm³; Box (rectangular prism) l × w × h 5 × 3 × 2 ft 30 ft³; Cylinder π r² h r 3 in, h 10 in 282.7 in³
Volume – reference table.

How to calculate volume step by step

  1. Choose the shape that best matches the object.
  2. Measure every dimension in the same unit. Convert inches to feet (÷ 12) or cm to m (÷ 100) first.
  3. Use the radius, not the diameter, for round shapes. Radius = diameter ÷ 2.
  4. Put the numbers into the formula and multiply.
  5. Convert the cubic answer to litres or gallons if you need a capacity.

Example: a cylinder 3 in across the radius and 10 in tall. V = π × 3² × 10 = π × 90 ≈ 282.74 in³. One US gallon is 231 in³, so the can holds 282.74 ÷ 231 ≈ 1.22 gallons.

Converting volume units

FromToMultiply by
ft³US gallons7.48052
ft³litres28.3168
m³litres1,000
yd³ft³27
in³US gallons÷ 231
litresUS gallons0.264172

Cubic units scale with the cube of the length conversion. There are 12 inches in a foot, so there are 12³ = 1,728 cubic inches in a cubic foot – not 12.

Real-world examples

  • Water tank: a round tank 3 ft across (r = 1.5 ft) and 4 ft tall holds π × 1.5² × 4 ≈ 28.27 ft³, or about 212 US gallons.
  • Garden bed: 8 ft × 4 ft × 1 ft of soil = 32 ft³, which is 32 ÷ 27 ≈ 1.19 cubic yards.
  • Ball: a ball with a 5 cm radius has a volume of about 524 cm³, or 0.52 litres.
  • Concrete: use the Concrete Calculator for slabs, footings and bags – it adds waste and bag counts.

Common mistakes

  • Using the diameter where the formula needs the radius – this makes a cylinder 4 times too big and a sphere 8 times too big.
  • Mixing units, such as feet for length and inches for depth.
  • Converting cubic units with the linear factor (1 ft³ is 1,728 in³, not 12 in³).
  • Forgetting the 1/3 in cone and pyramid formulas.

Volume vs capacity vs surface area

Volume is the space a solid takes up, measured in cubic units. Capacity is how much a container holds, usually given in litres or gallons – it is the same number expressed differently. Surface area is the total area of the outside faces, in square units, and is what you need for paint or wrapping.

Sources

  1. Khan Academy – Geometry — khanacademy.org/math/geometry
  2. OpenStax – Algebra and Trigonometry 2e (Rice University) — openstax.org/details/books/algebra-and-trigonometry-2e
  3. NIST – Guide for the Use of the International System of Units (SP 811) — nist.gov/pml/special-publication-811

Questions or feedback about this calculator? Contact us – we read every message. Results are estimates for information only. Last reviewed: .

Zeeshan Nawaz

Written & built by

Zeeshan Nawaz

Calculator Developer · Tuff Search

Builds and tests Tuff Search calculators, turning published formulas and official sources into tools anyone can check.

FAQ

Frequently asked questions

Quick answers about the Volume Calculator.

Multiply π by the radius squared and by the height: V = π r² h.

One cubic foot is about 7.48 US gallons, or 28.3 litres.

V = (4/3) π r³, where r is the radius.

A cone with the same base and height as a cylinder holds exactly one third of its volume, which is why the formula has 1/3.

Yes. The calculator converts every input to one unit before multiplying.

Still have a question? Email support@tuffsearch.com

Keep exploring

Related calculators

More calculators people use alongside this one.