Math glossary

Volume of a Cube: Formula, Diagonals, and Examples

Find cube volume from its edge, surface area, or diagonal. Work through six examples and check the difference between outer volume and capacity.

TL;DR

The volume of a cube is V=a3V=a^3, where aa is its edge length. Multiply the edge length by itself three times and report the result in cubic units.

Key Points

  • A cube has the same length, width, and height.
  • Think of its volume as a2a^2 units of base area multiplied by aa units of height.
  • Take the cube root of a known volume to recover the edge length.
  • A face diagonal is a2a\sqrt2. The corner-to-corner diagonal through the solid is a3a\sqrt3.
  • To find how much a cubic box holds, use the interior edge length.

What is the volume of a cube?

Volume is the space the cube occupies. A cube with edges of length aa has a square base of area a2a^2 and perpendicular height aa. Multiplying base area by height gives

V=a2·a=a3.V=a^2\cdot a=a^3.

For a 3-centimetre cube, each 1-centimetre layer contains 3×3=93\times3=9 unit cubes. There are three layers, so the total is 9×3=27 cm39\times3=27\text{ cm}^3. OpenStax develops the base-area method for rectangular solids. It works the same way for a fractional edge, even when whole unit cubes alone cannot fill the solid.

Three layers of nine unit cubes form one cube with twenty-seven units of volume
A 3-by-3 layer contains nine units of volume. Three layers contain 27.

How do you find volume from an edge, area, or diagonal?

If you know… Find the edge aa with… Then calculate…
An edge aa Use it directly V=a3V=a^3
Area BB of one face a=Ba=\sqrt B V=BBV=B\sqrt B
Total surface area SS a=S/6a=\sqrt{S/6} V=(S/6)S/6V=(S/6)\sqrt{S/6}
Face diagonal dfd_f a=df/2a=d_f/\sqrt2 V=(df/2)3V=(d_f/\sqrt2)^3
Space diagonal dsd_s a=ds/3a=d_s/\sqrt3 V=(ds/3)3V=(d_s/\sqrt3)^3

One face is a square, so its diagonal has squared length a2+a2=2a2a^2+a^2=2a^2. The space diagonal, which joins opposite vertices through the inside, forms a right triangle with a face diagonal and a perpendicular edge. Its square is 2a2+a2=3a22a^2+a^2=3a^2. The Pythagorean theorem applies to both triangles.

If the volume is given, reverse the operation with a=V3a=\sqrt[3]V. A positive volume gives a positive edge. The perfect cubes guide helps with exact cube roots of small whole numbers.

How do you use cubic units and scaling?

Match the volume unit to the edge unit. Edges measured in millimetres give volume in cubic millimetres. If you convert the edge from metres to centimetres, you multiply the length by 100 but multiply the volume by 1003=1,000,000100^3=1{,}000{,}000. For example, 1 m3=1,000,000 cm31\text{ m}^3=1{,}000{,}000\text{ cm}^3.

If an edge is multiplied by a positive factor kk, the new volume is (ka)3=k3a3(ka)^3=k^3a^3. A cube with twice the edge length has eight times the volume. Its surface area increases by a factor of four.

For capacity, keep the inside dimensions separate from the outside dimensions. The volume of the walls of a closed hollow cube is outer volume minus inner volume. The inner volume is its maximum capacity when full. A cubic centimetre is one millilitre, as the litre conversion guide explains.

Worked Volume of a Cube Examples

Example 1

Find the volume of a cube with an edge of 7 cm7\text{ cm}.

  1. Multiply the base edges to find 7×7=49 cm27\times7=49\text{ cm}^2.
  2. Multiply by the 7-centimetre height.
  3. The volume is 343 cm3343\text{ cm}^3.

Example 2

Find the volume of a cube with an edge of 0.4 m0.4\text{ m}.

  1. Cube the decimal to get 0.43=0.0640.4^3=0.064.
  2. The unit is cubic metres, so the answer is 0.064 m30.064\text{ m}^3.
  3. As a check, 0.4 m=40 cm0.4\text{ m}=40\text{ cm}, and 403=64,000 cm340^3=64{,}000\text{ cm}^3.

Example 3

A cube has volume 216 in3216\text{ in}^3. Find its edge.

  1. Find a number whose cube is 216.
  2. Since 6×6×6=2166\times6\times6=216, the cube root is 6.
  3. The edge is 6 in6\text{ in}.

Example 4

A cube has total surface area 150 cm2150\text{ cm}^2. Find its volume.

  1. Divide by six faces to get 25 cm225\text{ cm}^2 per face.
  2. The edge is 25=5 cm\sqrt{25}=5\text{ cm}.
  3. The volume is 53=125 cm35^3=125\text{ cm}^3.

Example 5

A cube's space diagonal is 83 cm8\sqrt3\text{ cm}. Find its volume.

  1. Use the diagonal relation ds=a3d_s=a\sqrt3.
  2. Divide by 3\sqrt3 to get a=8 cma=8\text{ cm}.
  3. The volume is 83=512 cm38^3=512\text{ cm}^3.

Example 6

A closed hollow cube measures 12 cm12\text{ cm} per edge outside and 10 cm10\text{ cm} per edge inside. Find the wall volume and capacity.

  1. The exterior encloses 123=1,728 cm312^3=1{,}728\text{ cm}^3.
  2. The cavity encloses 103=1,000 cm310^3=1{,}000\text{ cm}^3, or 1 litre.
  3. The walls occupy 1,728−1,000=728 cm31{,}728-1{,}000=728\text{ cm}^3.

Mistakes That Change Cube Volume

Mistake 1: Squaring the edge instead of cubing it

Squaring finds one face's area. Multiply once more by the height to find the volume.

Mistake 2: Using any box as a cube

A box with sides 3, 4, and 5 centimetres measures 3×4×5=60 cm33\times4\times5=60\text{ cm}^3. All three edges must be equal to use a3a^3. See the rectangular prism volume lesson for unequal sides.

Mistake 3: Mixing up the diagonals

A face diagonal stays on one square face. A space diagonal runs through the inside, and is longer. Identify which measurement the problem gives before dividing.

Try It Yourself

  1. Find the volume of a cube with an edge of 4.5 cm4.5\text{ cm}.
  2. Find the edge of a cube with volume 1,000 mm31{,}000\text{ mm}^3.
  3. A cube has a face diagonal of 92 cm9\sqrt2\text{ cm}. Find its volume.

Answers and Reasoning

  1. 4.53=91.125 cm34.5^3=91.125\text{ cm}^3.
  2. Since 103=1,00010^3=1{,}000, the edge is 10 mm10\text{ mm}.
  3. Divide the face diagonal by 2\sqrt2 to get 9 cm9\text{ cm}. Then V=93=729 cm3V=9^3=729\text{ cm}^3.

Questions About Cube Volume

Can two cubes with the same volume have different edge lengths?

Two cubes with positive, equal volumes have the same edge length. Taking the positive cube root recovers a single length.

Does turning a cube change its volume?

No. An orientation change preserves the edge lengths and the amount of space the cube occupies.

Conclusion

  • Measure or calculate the edge length.
  • Cube that length and write a cubic unit.
  • Use interior dimensions for capacity and the cube root when the given quantity is volume.

Read More

Research Behind This Article

  1. OpenStax, Prealgebra 2e — Geometry Applications: Volume and Surface Area. OpenStax
  2. Directorate General of Training, Workshop Calculation and Science — Interior Design and Decoration. Bharat Skills
  3. Sri Lanka Ministry of Education, Grade 8 Mathematics, Chapter 22: Volume. e-Thaksalawa
  4. Geometry Formula, Cube Formulas — Volume, Surface Area & Diagonal. Geometry Formula