Download Article Download Article

The volume of a shape is the measure of how much three-dimensional space that shape takes up.[1] You can also think of the volume of a shape as how much water (or air, or sand, etc.) the shape could hold if it was filled completely. Common units of volume include cubic centimeters (cm3), cubic meters (m3), cubic inches (in3), and cubic feet (ft3).[2] This article will teach you how to calculate the volume of six different three-dimensional shapes that are commonly found on math tests, including cubes, spheres, and cones. You might notice that a lot of the volume formulas share similarities that can make them easier to remember. See if you can spot them along the way!

Method 1
Method 1 of 6:

Calculating the Volume of a Cube

Download Article
  1. A cube is a three-dimensional shape that has six identical square faces.[3] In other words, it is a box shape with equal sides all around.
    • A 6-sided die is a good example of a cube you might find in your house. Sugar cubes, and children's letter blocks are also usually cubes.
  2. Since all of the side lengths of a cube are the same, the formula for the volume of a cube is really easy. It is V = s3 where V stands for volume, and s is the length of the sides of the cube.[4]
    • To find s3, simply multiply s by itself 3 times: s3 = s * s * s
    Advertisement
  3. Depending on your assignment, the cube will either be labeled with this information, or you may have to measure the side length with a ruler. Remember that since it is a cube, all of the side lengths should be equal so it doesn't matter which one you measure.
  4. For example, if you find that the length of the sides of your cube is 5 inches, then you should write the formula out as follows: V = (5 in)3. 5 in * 5 in * 5 in = 125 in3, the volume of our cube!
  5. [6] In the above example, the side length of our cube was measured in inches, so the volume was given in cubic inches. If the side length of the cube had been 3 centimeters, for example, the volume would be V = (3 cm)3, or V = 27cm3.
  6. Advertisement
Method 2
Method 2 of 6:

Calculating the Volume of a Rectangular Prism

Download Article
  1. A rectangular solid, also known as a rectangular prism, is a three-dimensional shape with six sides that are all rectangles.[7] In other words, a rectangular solid is simply a three-dimensional rectangle, or box shape.
    • A cube is really just a special rectangular solid in which the sides of all of the rectangles are equal.
  2. The formula for the volume of a rectangular solid is Volume = length * width * height, or V = lwh.
  3. The length is the longest side of the rectangular solid that is parallel to the ground or surface it is resting on. The length may be given in a diagram, or you may need to measure it with a ruler or tape measure.
    • Example: The length of this rectangular solid is 4 inches, so l = 4 in.
    • Don't worry too much about which side is the length, which is the width, etc. As long as you end up with three different measurements, the math will come out the same regardless of how your arrange the terms.
  4. The width of the rectangular solid is the measurement of the shorter side of the solid, parallel to the ground or surface the shape is resting on. Again, look for a label on the diagram indicating the width, or measure your shape with a ruler or tape measure.
    • Example: The width of this rectangular solid is 3 inches, so w = 3 in.
    • If you are measuring the rectangular solid with a ruler or tape measure, remember to take and record all measurements in the same units. Don't measure one side in inches another in centimeters; all measurements must use the same unit!
  5. Find the height of the rectangular solid. This height is the distance from the ground or surface the rectangular solid is resting on to the top of the rectangular solid. Locate the information in your diagram, or measure the height using a ruler or tape measure.
    • Example: The height of this rectangular solid is 6 inches, so h = 6 in.
  6. Remember that V = lwh.
    • In our example, l = 4, w = 3, and h = 6. Therefore, V = 4 * 3 * 6, or 72.
  7. Since our example rectangle was measured in inches, the volume should be written as 72 cubic inches, or 72 in3.
    • If the measurements of our rectangular solid were: length = 2 cm, width = 4 cm, and height = 8 cm, the Volume would be 2 cm * 4 cm * 8 cm, or 64cm3.
  8. Advertisement
Method 3
Method 3 of 6:

Calculating the Volume of a Cylinder

Download Article
  1. A cylinder is a three-dimensional shape that has two identical flat ends that are circular in shape, and a single curved side that connects them.[8]
    • A can is a good example of a cylinder, so is a AA or AAA battery.
  2. To calculate the volume of a cylinder, you must know its height and the radius of the circular base (the distance from the center of the circle to its edge) at the top and bottom. The formula is V = πr2h, where V is the Volume, r is the radius of the circular base, h is the height, and π is the constant pi.
    • In some geometry problems the answer will be given in terms of pi, but in most cases it is sufficient to round pi to 3.14. Check with your instructor to find out what she would prefer.
    • The formula for finding the volume of a cylinder is actually very similar to that for a rectangular solid: you are simply multiplying the height of the shape by the surface area of its base. In a rectangular solid, that surface area is l * w, for the cylinder it is πr2, the area of a circle with radius r.
  3. [9] If it is given in the diagram, simply use that number. If the diameter is given instead of the radius, you simply need to divide the value by 2 to get the radius (d = 2r).
  4. Be aware that getting precise measurement of a circular solid can be a bit tricky. One option is to measure the base of the cylinder across the top with a ruler or tape measure. Do your best to measure the width of the cylinder at its widest part, and divide that measurement by 2 to find the radius.
    • Another option is to measure the circumference of the cylinder (the distance around it) using a tape measure or a length of string that you can mark and then measure with a ruler. Then plug the measurement into the formula: C (circumference) = 2πr. Divide the circumference by 2π (6.28) and that will give you the radius.
    • For example, if the circumference you measured was 8 inches, the radius would be 1.27in.
    • If you need a really precise measurement, you might use both methods to make sure that your measurements are similar. If they are not, double check them. The circumference method will usually yield more accurate results.
  5. [10] Plug the radius of the base into the formula πr2. Then multiply the radius by itself one time, and then multiply the product by π. For example:
    • If the radius of the circle is equal to 4 inches, the area of the base will be A = π42.
    • 42 = 4 * 4, or 16. 16 * π (3.14) = 50.24 in2
    • If the diameter of the base is given instead of the radius, remember that d = 2r. You simply need to divide the diameter in half to find the radius.
  6. [11] This is simply the distance between the two circular bases, or the distance from the surface the cylinder is resting on to its top. Find the label in your diagram that indicates the height of the cylinder, or measure the height with a ruler or tape measure.
  7. [12] Or you can save a step and simply plug the values for the cylinder's dimensions into the formula V = πr2h. For our example cylinder with radius 4 inches and height 10 inches:
    • V = π4210
    • π42 = 50.24
    • 50.24 * 10 = 502.4
    • V = 502.4
  8. Our example cylinder was measured in inches, so the volume must be expressed in cubic inches: V = 502.4in3. If our cylinder had been measured in centimeters, the volume would be expressed in cubic centimeters (cm3).
  9. Advertisement
Method 4
Method 4 of 6:

Calculating the Volume of a Regular Square Pyramid

Download Article
  1. A pyramid is a three-dimensional shape with a polygon for a base, and lateral faces that taper at an apex (the point of the pyramid).[13] A regular pyramid is a pyramid in which the base of the pyramid is a regular polygon, meaning that all of the sides of the polygon are equal in length, and all of the angles are equal in measure.[14]
    • We most commonly imagine a pyramid as having a square base, and sides that taper up to a single point, but the base of a pyramid can actually have 5, 6, or even 100 sides!
    • A pyramid with a circular base is called a cone, which will be discussed in the next method.
  2. Learn the formula for the volume of a regular pyramid. The formula for the volume of a regular pyramid is V = 1/3bh, where b is the area of the base of the pyramid (the polygon at the bottom) and h is the height of the pyramid, or the vertical distance from the base to the apex (point).
    • The volume formula is the same for right pyramids, in which the apex is directly above the center of the base, and for oblique pyramids, in which the apex is not centered.
  3. The formula for this will depend on the number of sides the base of the pyramid has. In the pyramid in our diagram, the base is a square with sides that are 6 inches in length. Remember that the formula for the area of a square is A = s2 where s is the length of the sides. So for this pyramid, the area of the base is (6 in) 2, or 36in2.
    • The formula for the area of a triangle is: A = 1/2bh, where b is the base of the triangle and h is the height.
    • It is possible to find the area of any regular polygon using the formula A = 1/2pa, where A is the area, p is the perimeter of the shape, and a is the apothem, or distance from the center of the shape to the midpoint of any of its sides. This is a pretty involved calculation that goes beyond the scope of this article, but check out Calculate the Area of a Polygon for some great instructions on how to use it. Or you can make your life easy and search for a Regular Polygon Calculator online.[15]
  4. In most cases, this will be indicated in the diagram. In our example, the height of the pyramid is 10 inches.
  5. Remember that the formula for the volume is V = 1/3bh. In our example pyramid, that had a base with area 36 and height 10, the volume is: 36 * 10 * 1/3, or 120.
    • If we had a different pyramid, with a pentagonal base with area 26, and height of 8, the volume would be: 1/3 * 26 * 8 = 69.33.
    EXPERT TIP
    Joseph Meyer

    Joseph Meyer

    Math Teacher
    Joseph Meyer is a High School Math Teacher based in Pittsburgh, Pennsylvania. He is an educator at City Charter High School, where he has been teaching for over 7 years. Joseph is also the founder of Sandbox Math, an online learning community dedicated to helping students succeed in Algebra. His site is set apart by its focus on fostering genuine comprehension through step-by-step understanding (instead of just getting the correct final answer), enabling learners to identify and overcome misunderstandings and confidently take on any test they face. He received his MA in Physics from Case Western Reserve University and his BA in Physics from Baldwin Wallace University.
    Joseph Meyer
    Joseph Meyer
    Math Teacher

    To find a pyramid's volume, use the formula (1/3) Base Area Height. Measure a pyramid's height from its tip to the base's center. Next, find the base area using the correct formula for the base shape, whether a triangle, square, or rectangle. Finally, input these values into the formula to calculate volume.

  6. The measurements of our example pyramid were given in inches, so its volume must be expressed in cubic inches, 120in. If our pyramid had been measured in meters, the volume would be expressed in cubic meters (m3) instead.3
  7. Advertisement
Method 5
Method 5 of 6:

Calculating the Volume of a Cone

Download Article
  1. A cone is a 3-dimesional solid that has a circular base and a single vertex (the point of the cone). Another way to think of this is that a cone is a special pyramid that has a circular base.[16]
    • If the vertex of the cone is directly above the center of the circular base, the cone is called a "right cone". If it is not directly over the center, the cone is called an "oblique cone." Fortunately, the formula for calculating the area of a cone is the same whether it is right or oblique.
  2. Know the formula for calculating the volume of a cone. The formula is V = 1/3πr2h, where r is the radius of the circular base of the cone, h is the height of the cone, and π is the constant pi, which can be rounded to 3.14.
    • The πr2 part of the formula refers to the area of the circular base of the cone. The formula for the volume of the cone is thus 1/3bh, just like the formula for the volume of a pyramid in the method above!
    EXPERT TIP
    Joseph Meyer

    Joseph Meyer

    Math Teacher
    Joseph Meyer is a High School Math Teacher based in Pittsburgh, Pennsylvania. He is an educator at City Charter High School, where he has been teaching for over 7 years. Joseph is also the founder of Sandbox Math, an online learning community dedicated to helping students succeed in Algebra. His site is set apart by its focus on fostering genuine comprehension through step-by-step understanding (instead of just getting the correct final answer), enabling learners to identify and overcome misunderstandings and confidently take on any test they face. He received his MA in Physics from Case Western Reserve University and his BA in Physics from Baldwin Wallace University.
    Joseph Meyer
    Joseph Meyer
    Math Teacher

    To calculate the volume of a cone, use its height and radius. The formula is Volume = (1/3)πr²h. (1/3) is a fixed value, π is approximately 3.14, r² represents the square of the radius, and h is the height from tip to base center. This information can be useful in engineering and baking.

  3. To do this, you need to know the radius of the base, which should be listed in your diagram. If you are instead given the diameter of the circular base, simply divide that number by 2, since the diameter is simply 2 times the radios (d = 2r). Then plug the radius into the formula A = πr2 to calculate the area.
    • In the example in the diagram, the radius of the circular base of the cone is 3 inches. When we plug that into the formula we get: A = π32.
    • 32 = 3 *3, or 0, so A = 9π.
    • A = 28.27in2
  4. This is the vertical distance between the base of the cone, and its apex. In our example, the height of the cone is 5 inches.
  5. In our example, the area of the base is 28.27in2 and the height is 5in, so bh = 28.27 * 5 = 141.35.
  6. In the above step, we actually calculated the volume of the cylinder that would be formed if the walls of the cone extended straight up to another circle, instead of slanting in to a single point. Dividing by 3 gives us the volume of just the cone itself.
    • In our example, 141.35 * 1/3 = 47.12, the volume of our cone.
    • To restate it, 1/3π325 = 47.12
  7. Our cone was measured in inches, so its volume must be expressed in cubic inches: 47.12in3.
  8. Advertisement
Method 6
Method 6 of 6:

Calculating the Volume of a Sphere

Download Article
  1. A sphere is a perfectly round three-dimensional object, in which every point on the surface is an equal distance from the center. In other words, a sphere is a ball-shaped object.[17]
  2. The formula for the volume of a sphere is V = 4/3πr3 (stated: "four-thirds times pi r-cubed") where r is the radius of the sphere, and π is the constant pi (3.14).[18]
  3. Find the radius of the sphere. If the radius is given in the diagram, then finding r is simply a matter of locating it. If the diameter is given, you must divide this number by 2 to find the radius. For example, the radius of the sphere in the diagram is 3 inches.
  4. If you need to measure a spherical object (like a tennis ball) to find the radius, first find a piece of string large enough to wrap around the object. Then wrap the string around the object at its widest point and mark the points where the string overlaps itself. Then measure the string with a ruler to find the circumference. Divide that value by 2π, or 6.28, and that will give you the radius of the sphere.
    • For example, if you measure a ball and find its circumference is 18 inches, divide that number by 6.28 and you will find that the radius is 2.87in.
    • Measuring a spherical object can be a little tricky, so you might want to take 3 different measurements, and then average them together (add the three measurements together, then divide by 3) to make sure you have the most accurate value possible.
    • For example, if your three circumference measurements were 18 inches, 17.75 inches, and 18.2 inches, you would add those three values together (18 + 17.5 + 18.2 = 53.95) and divide that value by 3 (53.95/3 = 17.98). Use this average value in your volume calculations.
  5. Cubing a number simply means multiplying the number by itself 3 times, so r3 = r * r * r. In our example, r = 3, so r3 = 3 * 3 * 3, or 27.
  6. You can either use your calculator, or do the multiplication by hand and then simplify the fraction. In our example, multiplying 27 by 4/3 = 108/3, or 36.
  7. The last step in calculating the volume is simply to multiply the result so far by π. Rounding π to two digits is usually sufficient for most math problems (unless your teacher specified otherwise,) so multiply by 3.14 and you have your answer.
    • In our example, 36 * 3.14 = 113.09.
  8. In our example, the measurement of the radius of the sphere was in inches, so our answer is actually V = 113.09 cubic inches (113.09 in3).
  9. Advertisement

Expert Q&A

Search
Add New Question
  • Question
    How do you find the volume of a box?
    Grace Imson, MA
    Grace Imson, MA
    Math Instructor, City College of San Francisco
    Grace Imson is a math teacher with over 40 years of teaching experience. Grace is currently a math instructor at the City College of San Francisco and was previously in the Math Department at Saint Louis University. She has taught math at the elementary, middle, high school, and college levels. She has an MA in Education, specializing in Administration and Supervision from Saint Louis University.
    Grace Imson, MA
    Math Instructor, City College of San Francisco
    Expert Answer
    The volume of a box is equal to the product of the three dimensions of the box. You would multiply the length, the width, and the height of the box to find its volume. Make sure the dimensions have the same unit. Some tricky questions give different units for each dimension.
  • Question
    How would you find the volume of a water tank?
    Grace Imson, MA
    Grace Imson, MA
    Math Instructor, City College of San Francisco
    Grace Imson is a math teacher with over 40 years of teaching experience. Grace is currently a math instructor at the City College of San Francisco and was previously in the Math Department at Saint Louis University. She has taught math at the elementary, middle, high school, and college levels. She has an MA in Education, specializing in Administration and Supervision from Saint Louis University.
    Grace Imson, MA
    Math Instructor, City College of San Francisco
    Expert Answer
    Assuming the tank is a cylinder, you'll need the radius or diameter of one of the circular bases as well as the height of the tank. Calculate the area of the circle using πr² (if you have the diameter, divide it in half to get the radius). Then, just multiply the area of the circular base by the height of the tank to find its volume.
  • Question
    How do I calculate the volume of compound shapes?
    Community Answer
    Community Answer
    If the compound shapes are made up of basic geometric solids, then you can try dissecting them into their simpler parts. Their volumes will be additive.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Thanks for submitting a tip for review!

Things You'll Need

  • Writing utensil
  • Paper
  • Calculator (optional)
  • Ruler (optional)


References

  1. https://www.nist.gov/pml/owm/si-units-volume
  2. http://www.mathsisfun.com/measure/us-standard-volume.html
  3. https://www.mathsisfun.com/definitions/cube.html
  4. Grace Imson, MA. Math Instructor, City College of San Francisco. Expert Interview. 1 November 2019.
  5. Grace Imson, MA. Math Instructor, City College of San Francisco. Expert Interview. 1 November 2019.
  6. Grace Imson, MA. Math Instructor, City College of San Francisco. Expert Interview. 1 November 2019.
  7. http://www.algebralab.org/lessons/lesson.aspx?file=Geometry_3Dprisms.xml
  8. https://www.mathsisfun.com/definitions/cylinder.html
  9. Grace Imson, MA. Math Instructor, City College of San Francisco. Expert Interview. 1 November 2019.
  1. Grace Imson, MA. Math Instructor, City College of San Francisco. Expert Interview. 1 November 2019.
  2. Grace Imson, MA. Math Instructor, City College of San Francisco. Expert Interview. 1 November 2019.
  3. Grace Imson, MA. Math Instructor, City College of San Francisco. Expert Interview. 1 November 2019.
  4. http://www.mathwords.com/p/pyramid.htm
  5. http://www.mathwords.com/r/regular_pyramid.htm
  6. http://www.calculatorsoup.com/calculators/geometry-plane/polygon.php
  7. http://www.mathopenref.com/cone.html
  8. https://www.mathsisfun.com/definitions/sphere.html
  9. https://www.splashlearn.com/math-vocabulary/geometry/volume

About This Article

Grace Imson, MA
Co-authored by:
Math Instructor, City College of San Francisco
This article was co-authored by Grace Imson, MA. Grace Imson is a math teacher with over 40 years of teaching experience. Grace is currently a math instructor at the City College of San Francisco and was previously in the Math Department at Saint Louis University. She has taught math at the elementary, middle, high school, and college levels. She has an MA in Education, specializing in Administration and Supervision from Saint Louis University. This article has been viewed 1,502,184 times.
32 votes - 66%
Co-authors: 51
Updated: April 12, 2024
Views: 1,502,184
Categories: Featured Articles | Volume
Article SummaryX

To calculate volume with a cube, use the formula v = s^3, where s is the length of the sides of the cube. To calculate the volume of a cylinder, use the formula v = hπr^2, where r is the radius of the base, h is the height, and π is pi. If you're trying to find the volume of a rectangular prism, use the formula v = lwh, where l is the length, w is the width, and h is the height. If you need to learn how to calculate the volume of a sphere or pyramid, keep reading the article!

Did this summary help you?

Thanks to all authors for creating a page that has been read 1,502,184 times.

Reader Success Stories

  • Isabella

    Isabella

    Sep 19, 2016

    "Thanks. I was doing science homework, and it said to find the volume of an object. I chose one shaped like a cake..." more
Share your story

Did this article help you?

Advertisement