Skip to main content

Interactive Math Workbooks

Practice, learn and master mathematics with interactive exercises and instant feedback.

Volume Calculator

Mathematics - Volume of 3D geometric shapes

Volume Calculator — Compute Volume of 3D Shapes Instantly

Calculate the volume of cubes, rectangular prisms, spheres, cylinders, cones, and square pyramids. Enter the required dimensions to get the volume with step-by-step explanations. Learn the volume formulas, see worked examples, and understand real-world applications. For related geometry tools, see our geometry calculators hub.

Calculate Volume of a 3D Shape

Select a shape and enter the required dimensions. The calculator will compute the volume and show the steps.

Select a shape and enter dimensions to calculate volume.
Note: Volume is the amount of three-dimensional space occupied by an object. The result is given in cubic units (e.g., cubic meters, cubic feet, cubic centimeters).

Volume of 3D Shapes – Complete Explanation

Volume is the measure of the amount of three-dimensional space occupied by an object. It is expressed in cubic units, such as cubic meters (m³), cubic centimeters (cm³), cubic feet (ft³), or liters. Understanding how to calculate volume is essential in fields like engineering, construction, physics, and everyday problem-solving.

Key Concept

Volume = (Area of base) × (Height) for prisms and cylinders.
For pyramids and cones, Volume = (1/3) × (Area of base) × (Height).

1. What Is Volume?

Volume answers the question: "How much space does this object occupy?" Unlike area (which is two-dimensional), volume considers three dimensions: length, width, and height. Every 3D shape has a specific formula for computing its volume based on its dimensions.

Key characteristics:

  • Three dimensions required: You need at least three measurements (or a radius and height) to compute volume.
  • Cubic units: The result is always in cubic units (e.g., m³, cm³, in³).
  • Shape-specific formulas: Each 3D shape has its own formula based on its geometry.
  • Scalable: Doubling all dimensions of a shape multiplies its volume by 8 (2³).

2. Basic Volume Formulas

Cube: V = a³

Rectangular Prism: V = l × w × h

Sphere: V = (4/3) × π × r³

Cylinder: V = π × r² × h

Cone: V = (1/3) × π × r² × h

Square Pyramid: V = (1/3) × a² × h

Note: The volume of a cylinder is 3 times the volume of a cone with the same radius and height. Similarly, a rectangular prism has 3 times the volume of a square pyramid with the same base and height.

3. Volume of a Cube

A cube is a special rectangular prism where all sides are equal. If the side length is a, the volume is a³ (a cubed).

V = a³

Where a = side length of the cube.

Example: Cube with side 5

V = a³
V = 5³
V = 5 × 5 × 5
V = 125 cubic units

4. Volume of a Rectangular Prism

A rectangular prism (also called a box) has length (l), width (w), and height (h). The volume is the product of these three dimensions.

V = l × w × h

Where l = length, w = width, h = height.

Example: Rectangular prism 8 × 6 × 10

V = l × w × h
V = 8 × 6 × 10
V = 480 cubic units

5. Volume of a Sphere

A sphere is a perfectly round 3D shape. Its volume depends only on its radius (r).

V = (4/3) × π × r³

Where r = radius of the sphere.

Example: Sphere with radius 7

V = (4/3) × π × r³
V = (4/3) × π × 7³
V = (4/3) × π × 343
V ≈ 1436.755 cubic units

6. Volume of a Cylinder

A cylinder has a circular base and height. The volume is the area of the circular base (πr²) times the height (h).

V = π × r² × h

Where r = radius of the base, h = height of the cylinder.

Example: Cylinder with radius 4 and height 12

V = π × r² × h
V = π × 4² × 12
V = π × 16 × 12
V ≈ 603.186 cubic units

7. Volume of a Cone

A cone has a circular base and tapers to a point. Its volume is one-third the volume of a cylinder with the same base and height.

V = (1/3) × π × r² × h

Where r = radius of the base, h = height of the cone.

Example: Cone with radius 3 and height 9

V = (1/3) × π × r² × h
V = (1/3) × π × 3² × 9
V = (1/3) × π × 9 × 9
V ≈ 84.823 cubic units

8. Volume of a Square Pyramid

A square pyramid has a square base and four triangular faces meeting at an apex. Its volume is one-third the volume of a rectangular prism with the same base area and height.

V = (1/3) × a² × h

Where a = side length of the square base, h = height of the pyramid.

Example: Square pyramid with base side 6 and height 10

V = (1/3) × a² × h
V = (1/3) × 6² × 10
V = (1/3) × 36 × 10
V = 120 cubic units

9. Step-by-Step Worked Examples

Example 1: A fish tank measures 30 cm long, 20 cm wide, and 25 cm high. Find its volume.

Solution: V = 30 × 20 × 25 = 15,000 cm³ (15 liters)

Example 2: A basketball has a radius of 12 cm. What is its volume?

Solution: V = (4/3) × π × 12³ ≈ 7,238.23 cm³

Example 3: A conical funnel has radius 5 cm and height 15 cm. Find its capacity.

Solution: V = (1/3) × π × 5² × 15 ≈ 392.70 cm³

10. Understanding Units

Volume is always expressed in cubic units. The unit of the dimensions determines the unit of the volume:

  • Centimeters (cm): Volume in cubic centimeters (cm³)
  • Meters (m): Volume in cubic meters (m³)
  • Feet (ft): Volume in cubic feet (ft³)
  • Inches (in): Volume in cubic inches (in³)
Common conversions:
1 m³ = 1,000 liters
1 cm³ = 1 milliliter
1 m³ = 1,000,000 cm³

11. Common Mistakes

  • Forgetting the units: Always include cubic units in your answer.
  • Using diameter instead of radius: For spheres, cylinders, and cones, the formula requires the radius, not the diameter. Divide the diameter by 2 to get the radius.
  • Confusing cone/cylinder formulas: A cone is one-third of a cylinder, not half. Don't forget the 1/3 factor.
  • Forgetting the 1/3 factor for pyramids: Same as cones — the 1/3 is essential.
  • Using inconsistent units: All dimensions must be in the same unit before multiplying (e.g., convert cm to m first if needed).
  • Missing the height: For pyramids and cones, the height is the perpendicular height from the apex to the base, not the slant height.

12. Real-World Applications

  • Engineering: Calculating tank capacities, pipe volumes, and material quantities.
  • Construction: Estimating concrete needed for foundations, columns, and slabs.
  • Packaging: Determining box volumes for shipping and storage.
  • Medicine: Calculating dosages based on volume of distribution.
  • Cooking: Measuring container capacities and recipe conversions.
  • Environmental science: Estimating water volume in lakes, reservoirs, and rainfall collection.
  • Manufacturing: Calculating material usage for molds, containers, and tanks.

13. Practice Problems

Problem 1: A cube has side length 7 cm. Find its volume.

Solution: V = 7³ = 343 cm³

Problem 2: A cylindrical water tank has radius 2 m and height 5 m. What is its capacity in liters?

Solution: V = π × 2² × 5 ≈ 62.83 m³ = 62,832 liters

Problem 3: A cone has radius 6 cm and height 10 cm. Find its volume.

Solution: V = (1/3) × π × 6² × 10 ≈ 376.99 cm³

Problem 4: A square pyramid has base side 8 m and height 12 m. Find its volume.

Solution: V = (1/3) × 8² × 12 = 256 m³

14. Tips for Mastery

  • Memorize the basic formulas for common shapes.
  • Practice converting between units (e.g., cm³ to m³, liters to m³).
  • Remember that cylinders and cones differ by the 1/3 factor.
  • Always check that you're using the radius, not the diameter.
  • Draw a diagram whenever possible to visualize the problem.
  • Verify your answer is reasonable — volume should be positive and in cubic units.

15. Final Thoughts

Understanding volume is essential for working with three-dimensional space. Whether you're calculating the capacity of a container, the amount of material needed for a project, or the size of an object, volume formulas provide the tools you need. The calculator above handles six common shapes, but the principles extend to many other geometric solids.

Master these fundamental volume formulas and practice applying them to real-world problems. With consistent practice, you'll develop the spatial reasoning skills needed for more advanced mathematics and practical applications.

16. Frequently Asked Questions

Volume is the amount of three-dimensional space occupied by an object, measured in cubic units.

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

1 cubic meter (m³) = 1,000 liters. Multiply the volume in m³ by 1,000 to get liters.

Radius is half the diameter. In volume formulas, always use the radius (r = d/2).

Slant height is the distance along the side of a cone or pyramid. For volume, use the perpendicular height from apex to base.

No. Volume is always a positive quantity. Negative dimensions have no physical meaning.

Geometrically, three pyramids (or cones) with the same base and height fit exactly into the corresponding prism (or cylinder).

Explore Math Topics

Continue your learning journey with our other math guides

Related Calculators

Explore these other geometry tools:

Conclusion

Volume calculation is a fundamental skill in geometry and everyday life. Master these formulas and you'll be able to solve a wide range of practical problems.

Readers who wish to continue practicing can explore the companion learning resource for guided exercises.