Geometry

Volume of a Cube

The volume of a cube with edge length ss is V=s3V = s^3: multiply the edge by itself three times. A cube with 55 cm edges has volume 53=125 cm35^3 = 125\text{ cm}^3.

V=s3V = s^3

Try it with your numbers

Show every step

Every other cube question (finding the edge, starting from surface area, or starting from a diagonal) is this one formula run forwards or backwards. The sections below show where it comes from, how to reverse it, and the traps that cost the most points.

Why is the volume of a cube the edge cubed?

Volume counts how many unit cubes (cubes with edge 11) fit inside a solid. The bottom layer of a cube with edge ss is an ss by ss grid, which holds s2s^2 unit cubes. That count is just the area of a square. Stack ss identical layers and the total is

V=(base area)×(height)=s2⋅s=s3.V = (\text{base area}) \times (\text{height}) = s^2 \cdot s = s^3.

This “base area times height” idea is the master pattern for every solid with straight sides and a constant cross-section, including the volume of a cylinder. The cube is the simplest case because the base area and the height both come from the same number.

The word “cubed” comes from this shape, just as “squared” comes from the square. The formula also explains the units: three lengths multiplied together give length times length times length, so a cube measured in centimeters has a volume in cubic centimeters, written cm3\text{cm}^3. The formula still works when ss is not a whole number, even though a 2.52.5 cm cube cannot be filled with whole unit cubes.

How do you find the volume of a cube from its edge?

Write the edge with its unit, cube both the number and the unit, and keep the answer in cubic units. Fractions and decimals follow the same rule.

Example 1. Find the volume of a cube with edge 34\tfrac34 inch.

V=(34)3=3343=2764 in3≈0.42 in3V = \left(\tfrac34\right)^3 = \frac{3^3}{4^3} = \frac{27}{64}\text{ in}^3 \approx 0.42\text{ in}^3

The exponent has to hit the numerator and the denominator. A common slip is to compute 3⋅343 \cdot \tfrac34 or to cube only the top. Notice also that the volume is smaller than the edge. That is normal: cubing a number below 11 makes it smaller, while cubing a number above 11 makes it larger.

The second trap is order of operations. In 2s32s^3 only the ss is cubed, so with s=3s = 3 the result is 2⋅27=542 \cdot 27 = 54. In (2s)3(2s)^3 everything inside the parentheses is cubed, giving 63=2166^3 = 216. So a cube with edge 2x2x has volume (2x)3=8x3(2x)^3 = 8x^3, not 2x32x^3. If exponent precedence feels shaky, the order of operations practice problems drill exactly this.

Quick check

A cube has edge 0.4 m0.4\text{ m}. What is its volume?

How do you find the edge of a cube from its volume?

Undo the cubing with a cube root: s=V3s = \sqrt[3]{V}. Unlike square roots, a cube root has only one real answer, so there is no ±\pm to worry about. The cube root of a negative number is negative, for example −83=−2\sqrt[3]{-8} = -2, which matters when the equation x3=−8x^3 = -8 appears in algebra. For a real cube, though, an edge is a length, so only positive values make sense.

Example 2. A cube has volume 50 cm350\text{ cm}^3. Find its edge.

Bracket first. Since 33=273^3 = 27 and 43=644^3 = 64, the edge is between 33 and 44. Try 3.73.7: 3.73=50.6533.7^3 = 50.653, slightly too big. Try 3.683.68: 3.683≈49.843.68^3 \approx 49.84, slightly too small. So

s=503≈3.68 cm.s = \sqrt[3]{50} \approx 3.68\text{ cm}.

Bracketing between perfect cubes takes ten seconds and catches calculator typos. The ten perfect cubes worth knowing are 1,8,27,64,125,216,343,512,729,10001, 8, 27, 64, 125, 216, 343, 512, 729, 1000.

Last-digit shortcut

A cube ends in the same digit as its edge, except that 2 and 8 swap, and 3 and 7 swap. So 17283\sqrt[3]{1728} ends in 2, and since 103=100010^3 = 1000 and 203=800020^3 = 8000, the edge is 1212.

Volume of a cube from surface area or space diagonal

When the problem gives something other than the edge, find the edge first, then cube it. Here is the conversion for each possible given:

  • Volume VV: s=V3s = \sqrt[3]{V}
  • Surface area AA: s=A/6s = \sqrt{A/6}
  • Face diagonal ff: s=f/2s = f/\sqrt{2}
  • Space diagonal dd: s=d/3s = d/\sqrt{3}

The surface area rule comes from six identical square faces, as covered in surface area of a cube.

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

6s2=150  ⇒  s2=25  ⇒  s=5  ⇒  V=53=125 cm36s^2 = 150 \;\Rightarrow\; s^2 = 25 \;\Rightarrow\; s = 5 \;\Rightarrow\; V = 5^3 = 125\text{ cm}^3

The diagonal formulas come from the Pythagorean theorem used twice. A face diagonal is the hypotenuse of a 45-45-90 triangle, so f=s2f = s\sqrt{2}. The space diagonal is the hypotenuse of a right triangle with legs ss and s2s\sqrt{2}, so d2=s2+2s2=3s2d^2 = s^2 + 2s^2 = 3s^2 and d=s3d = s\sqrt{3}. Substituting s=d/3s = d/\sqrt{3} into s3s^3 gives the formula often quoted as

V=39 d3.V = \frac{\sqrt{3}}{9}\,d^3.

Example 4. The space diagonal of a cube is 1212 cm. Find its volume.

s=123=43,V=(43)3=64⋅33=1923≈332.6 cm3s = \frac{12}{\sqrt{3}} = 4\sqrt{3}, \qquad V = \left(4\sqrt{3}\right)^3 = 64 \cdot 3\sqrt{3} = 192\sqrt{3} \approx 332.6\text{ cm}^3

The trap here is the word “diagonal”. A diagonal drawn across one face is shorter (1.414s1.414s) than the one through the inside (1.732s1.732s). Use 3\sqrt{3} only for the space diagonal.

What happens to the volume of a cube when the edge changes?

Cube with edge 1 beside a cube with edge 2 built from 8 unit cubes
A cube with edge 2 is built from 2 × 2 × 2 = 8 blocks, so doubling the edge multiplies the volume by 2³ = 8.

Multiply every edge by a factor kk and the volume is multiplied by k3k^3. Doubling the edge gives 23=82^3 = 8 times the volume, not twice. Halving the edge leaves 18\tfrac18 of the volume. This is the same scaling rule that governs every dilation: lengths scale by kk, areas by k2k^2, volumes by k3k^3. It holds for any solid, so the volume of a sphere also grows eightfold when the radius doubles.

Percent changes follow from the same rule. A 10%10\% longer edge means k=1.1k = 1.1, so the volume changes by 1.13=1.3311.1^3 = 1.331, which is 33.1%33.1\% more. The percent change in volume is about three times the percent change in edge for small changes, because the growth shows up in all three directions at once.

The same rule explains a famous puzzle. To double a cube’s volume, the edge must be multiplied by 23≈1.26\sqrt[3]{2} \approx 1.26. Ancient Greek geometers wanted to construct that length with only a compass and straightedge, and it was eventually proved impossible.

Quick check

A cube's edge is cut to one third of its length. What fraction of the original volume is left?

Cubic units, liters and volume of a cube conversions

Because volume multiplies three lengths, unit conversions get cubed too. One yard is 33 feet, but one cubic yard is 33=273^3 = 27 cubic feet. Using 33 instead of 2727 is one of the most common unit errors.

Quantity Equals
1 cubic foot 1,728 cubic inches
1 cubic yard 27 cubic feet
1 cubic meter 1,000,000 cubic centimeters
1 liter 1,000 cubic centimeters
1 milliliter 1 cubic centimeter
1 US gallon 231 cubic inches
Convert the edge, not the volume

A cube with edge 22 yards has edge 66 feet, so V=63=216 ft3V = 6^3 = 216\text{ ft}^3. Converting after the fact needs 2727: 8 yd3×27=216 ft38\text{ yd}^3 \times 27 = 216\text{ ft}^3.

Liters are handy because a cube with a 1010 cm edge holds exactly 1000 cm31000\text{ cm}^3, which is one liter. That is why capacity and volume are so closely linked in the metric system: a 11 m cube holds 10001000 L.

Volume of a cube vs a rectangular prism, cylinder and pyramid

Bar chart comparing volume of a 3 by 3 by 3 cube and a 2 by 3 by 4.2 box
Both solids have surface area 54, but the cube holds 27 cubic units and the box only 25.2.

A cube is a rectangular prism with length, width and height all equal. Start from V=lwhV = lwh in the volume of a rectangular prism, set l=w=h=sl = w = h = s, and the cube formula appears. If a problem says “box” and gives three different numbers, use lwhlwh. If it gives one, it is a cube.

Among all boxes with the same surface area, the cube has the largest volume. With surface area 5454, the cube 3×3×33 \times 3 \times 3 holds 2727 cubic units. A box 2×3×4.22 \times 3 \times 4.2 also has surface area 2(6+8.4+12.6)=542(6 + 8.4 + 12.6) = 54 but holds only 25.225.2.

Try this: Compare a 4×4×44 \times 4 \times 4 cube with a 2×4×82 \times 4 \times 8 box. Find both volumes and both surface areas. The volumes match, so which shape needs less material?

The pyramid connection is just as neat. Pick one corner of a cube and draw the face diagonals from it to cut the cube into three congruent square pyramids, each with base s2s^2 and height ss. Three equal pieces fill s3s^3, so each pyramid has volume 13s3\tfrac13 s^3. That is where the 13\tfrac13 comes from in the volume of a pyramid.

Where the volume of a cube shows up in real life

A cubic shipping carton with edge 3030 cm holds 303=27,000 cm330^3 = 27{,}000\text{ cm}^3, which is 2727 liters. An ice cube with edge 2.52.5 cm has volume 2.53=15.625 cm32.5^3 = 15.625\text{ cm}^3, about 15.615.6 mL of water. Landscapers and concrete suppliers sell by the cubic yard, and one cubic yard is a cube 33 feet on every side, which is 2727 cubic feet.

A standard 3×3×33 \times 3 \times 3 Rubik’s Cube contains 2727 small cubes. Only 2626 of them can be seen. The hidden one is the center, and the count of fully interior cubes in an n×n×nn \times n \times n cube is (n−2)3(n-2)^3. That works because peeling off one layer from each of the two opposite sides removes 22 from each dimension, and for n=3n = 3 it gives 13=11^3 = 1.

Dice, sugar cubes, storage crates and pixel blocks in voxel graphics all rely on the same s3s^3 count. Whenever a problem asks “how many small cubes fit inside a big cube?”, divide the edge lengths first, then cube the result.

Quick check

A 5×5×55 \times 5 \times 5 cube is painted on the outside, then cut into 1×1×11 \times 1 \times 1 unit cubes. How many unit cubes have no paint?

How can you check a cube volume answer quickly?

Three fast checks catch nearly every error:

  1. Compare the edge with 11. If s>1s > 1, then V>sV > s. If s<1s < 1, then V<sV < s.
  2. Bracket the answer between perfect cubes. For an edge of 6.36.3, the volume must land between 216216 and 343343. The calculator says 250.047250.047, so it passes.
  3. Reverse it. Take the cube root of your volume and see whether the original edge comes back.

Logarithms give another route. The power rule from logarithm rules says log⁡V=3log⁡s\log V = 3\log s, so for V=50V = 50 the edge satisfies log⁡s=1.6993≈0.566\log s = \tfrac{1.699}{3} \approx 0.566, which gives s≈3.68s \approx 3.68, matching Example 2.

Finally, glance at the unit. A volume answer in cm2\text{cm}^2 or plain “cm” signals that the formula was applied incorrectly or the step was left unfinished.

Practice problems

0 of 5 solved

  1. A cube has edges of 6 cm6\text{ cm}. Find its volume.

  2. A cube has volume 512 in3512\text{ in}^3. Find the length of one edge.

  3. A cube-shaped tank has edges of 40 cm40\text{ cm}. How many liters does it hold?

  4. A cube has a surface area of 294 cm2294\text{ cm}^2. Find its volume.

  5. The edge of a cube grows by 25%25\%. By what percent does its volume increase?

Common questions

What is the formula for the volume of a cube?

The volume is V=s3V = s^3, where ss is the length of one edge. All twelve edges of a cube are equal, so one measurement is enough.

How do you find the volume of a cube if you only know the surface area?

Use A=6s2A = 6s^2 to get the edge: s=A/6s = \sqrt{A/6}. Then cube that edge. For A=150A = 150, the edge is 55 and the volume is 125125.

What is the volume of a cube when the diagonal is given?

If dd is the space diagonal (corner to opposite corner through the inside), the edge is s=d/3s = d/\sqrt{3} and the volume is V=39d3V = \tfrac{\sqrt{3}}{9}d^3. A face diagonal needs a different step: s=f/2s = f/\sqrt{2}.

Why is the volume of a cube measured in cubic units?

The formula multiplies three lengths, so the units multiply too: cm×cm×cm=cm3\text{cm} \times \text{cm} \times \text{cm} = \text{cm}^3. Each cubic unit is a tiny cube with edges of one unit.

How many times bigger is a cube's volume if the edge is doubled?

Eight times bigger, because 23=82^3 = 8. In general, multiplying the edge by kk multiplies the volume by k3k^3.

How do you find the side of a cube from its volume?

Take the cube root: s=V3s = \sqrt[3]{V}. For V=343V = 343, the edge is 77 because 73=3437^3 = 343. For volumes that are not perfect cubes, bracket the answer between two perfect cubes and refine with a calculator.

Up next