ยท ยท 5 min read ยท AYCalculator Team

Calculating Volume: Formulas, Cubic Units & Examples

Learn how to calculate volume for boxes, cubes, cylinders, and other 3D shapes with formulas, worked examples, and cubic-unit conversion tips.

Reviewed against our editorial policy and updated when formulas, thresholds, or guidance materially change. Learn more about AYCalculator.

calculating volumeVolume Formula3D GeometryCubic YardsScientific Calculator
Calculating Volume: Formulas, Cubic Units & Examples guide illustration
๐Ÿงฎ
Use our free Scientific Calculator Get instant, accurate results โ€” no sign-up needed.
Open Calculator โ†’

Searching calculating volume usually means you want to know how much three-dimensional space an object can hold or occupy. Volume shows up in geometry, storage, aquariums, shipping, tanks, and construction estimates, so the key is matching the right formula to the right shape.

Common Volume Formulas

ShapeFormula
Rectangular prismLength x Width x Height
CubeSide^3
Cylinderpi x r^2 x Height

How to Calculate Volume

  1. Identify the 3D shape.
  2. Measure the dimensions required by the formula.
  3. Multiply or square/cube where needed.
  4. Write the result in cubic units.

If you need help with exponents or pi-based calculations, use the Scientific Calculator. If you are solving real-world container questions, tools like the Tank Size Calculator or Pool Size Calculator can help with practical measurements.

Worked Examples

Rectangular Prism Example

A box that is 10 ft long, 4 ft wide, and 3 ft high has:

10 x 4 x 3 = 120 cubic feet

Cube Example

A cube with side length 5 has:

5^3 = 125 cubic units

Cylinder Example

A cylinder with radius 2 and height 7 has:

pi x 2^2 x 7 = 28pi = about 87.96 cubic units

Why Volume Uses Cubic Units

Volume is measured in cubic units because it covers length, width, and height together.

Examples:

  • cubic inches
  • cubic feet
  • cubic meters
  • cubic yards

If the measurements are mixed, convert them before using the formula.

Volume vs. Area

Area measures a flat surface. Volume measures space inside a 3D object. If a problem involves depth, height, capacity, or storage, you probably need volume rather than area.

If you are working through both ideas together, our guide on calculating area covers the most common 2D formulas.

Common Mistakes

Using area formulas on 3D shapes is a common mix-up.

Forgetting to cube the side of a cube gives the wrong result right away.

Using diameter instead of radius in a cylinder formula also creates errors, because the formula requires the radius.

Dropping the cubic unit makes the final answer incomplete.

Frequently Asked Questions

What is the formula for calculating volume?

The formula depends on the shape. A box uses length x width x height, a cube uses side^3, and a cylinder uses pi x r^2 x height.

Why is volume written in cubic units?

Because volume measures three dimensions together: length, width, and height. That is why the answer is cubic feet, cubic meters, and so on.

Is volume the same as capacity?

They are closely related. Volume is the amount of space inside an object, while capacity usually refers to how much that object can hold.

How do I find the volume of a box?

Multiply its length, width, and height using the same unit for all three measurements.

What if my dimensions use different units?

Convert them first. For example, do not mix inches and feet in the same volume formula unless you convert one to match the other.

More Volume Formulas

Cone

Volume = (1/3) ร— ฯ€ ร— rยฒ ร— h

A cone holds one-third the volume of a cylinder with the same base and height.

Example: Radius 3, height 9 โ†’ Volume = (1/3) ร— ฯ€ ร— 9 ร— 9 = 27ฯ€ โ‰ˆ 84.8 cubic units

Sphere

Volume = (4/3) ร— ฯ€ ร— rยณ

Example: Radius 4 โ†’ Volume = (4/3) ร— ฯ€ ร— 64 = 256ฯ€/3 โ‰ˆ 268.1 cubic units

Triangular Prism

Volume = (1/2) ร— Base ร— Height of triangle ร— Length

Example: Triangle base 6, triangle height 4, prism length 10: Volume = (1/2) ร— 6 ร— 4 ร— 10 = 120 cubic units

Pyramid

Volume = (1/3) ร— Base area ร— Height

Example: Square base 5ร—5, height 6 โ†’ Volume = (1/3) ร— 25 ร— 6 = 50 cubic units

Real-World Volume Applications

SituationShapeWhy Volume Matters
Aquarium sizingRectangular prismWater capacity in gallons
Swimming poolIrregular or rectangularWater volume for chemicals/cost
Concrete slab pourRectangular prismOrdering in cubic yards
Shipping containerBoxWhether goods will fit
Storage tankCylinder or sphereCapacity planning
Earth to excavateIrregularMaterial removal cost
Ice cream scoopSphere (approx.)Recipe and serving planning

Volume Unit Conversions

FromToMultiply By
Cubic feetCubic yards0.037 (รท 27)
Cubic inchesGallons (US)0.00433
Cubic feetGallons (US)7.48
LitersCubic feet0.0353
Cubic metersCubic feet35.31

Example: A pool with 2,500 cubic feet of water holds: 2,500 ร— 7.48 = 18,700 gallons

Volume vs Capacity: A Practical Note

Volume is the mathematical measure of space a 3D object occupies. Capacity refers to how much a container can hold โ€” which in practice equals the volume of the interior space.

For a hollow container (a tank, cup, bucket):

  • Volume of the container material = outside dimensions โˆ’ inside dimensions
  • Capacity = inside dimensions only

For most everyday purposes (filling a tank, ordering mulch, estimating concrete), you calculate the inside dimensions.

The Bottom Line

To calculate volume, identify the 3D shape, use the correct formula, and express the result in cubic units. Most mistakes happen when the wrong shape formula or unit is used. Once the dimensions are set up correctly, the calculation is straightforward and easy to verify.

How to Calculate: Step-by-Step Guide

1

Choose the shape

Use the formula that matches the 3D object you are measuring.

2

Measure dimensions

Use length, width, height, or radius as needed.

3

Apply the formula

Calculate the result and write it in cubic units.

๐Ÿงฎ
Ready to calculate? Try our Scientific Calculator Free, fast, and accurate โ€” right in your browser.
Use Scientific Calculator โ†’
Topics: calculating volumeVolume Formula3D GeometryCubic YardsScientific Calculator