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.
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
| Shape | Formula |
|---|---|
| Rectangular prism | Length x Width x Height |
| Cube | Side^3 |
| Cylinder | pi x r^2 x Height |
How to Calculate Volume
- Identify the 3D shape.
- Measure the dimensions required by the formula.
- Multiply or square/cube where needed.
- 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
| Situation | Shape | Why Volume Matters |
|---|---|---|
| Aquarium sizing | Rectangular prism | Water capacity in gallons |
| Swimming pool | Irregular or rectangular | Water volume for chemicals/cost |
| Concrete slab pour | Rectangular prism | Ordering in cubic yards |
| Shipping container | Box | Whether goods will fit |
| Storage tank | Cylinder or sphere | Capacity planning |
| Earth to excavate | Irregular | Material removal cost |
| Ice cream scoop | Sphere (approx.) | Recipe and serving planning |
Volume Unit Conversions
| From | To | Multiply By |
|---|---|---|
| Cubic feet | Cubic yards | 0.037 (รท 27) |
| Cubic inches | Gallons (US) | 0.00433 |
| Cubic feet | Gallons (US) | 7.48 |
| Liters | Cubic feet | 0.0353 |
| Cubic meters | Cubic feet | 35.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
Choose the shape
Use the formula that matches the 3D object you are measuring.
Measure dimensions
Use length, width, height, or radius as needed.
Apply the formula
Calculate the result and write it in cubic units.