Article

Volume of a Cube: Formula V = a³ and How to Find It (From the Edge, Area or Diagonal)

You find the volume of a cube with V = a³, where a is the length of an edge. This article gives the formula, the surface area 6a², the face diagonal and the space diagonal, how to find the volume from the surface area or the diagonal, conversion to liters and four worked examples. You can check your own edge in the cube volume calculator. For a = 5 the result is 125.

Last updated:

Work out the volume of a cube in the cube volume calculator. The volume of a cylinder is in the cylinder volume calculator.

The volume of a cube formula

A cube has six identical square faces and twelve edges of the same length a. Its volume is the base area a² multiplied by the height a.

V = a³
example: 5³ = 5 · 5 · 5 = 125
S = 6a² (surface area)
d = a√3 (space diagonal)

aFace area a²Surface area 6a²Volume a³
1161
24248
395427
4169664
525150125
636216216
101006001000

The unit of volume is the cube of the unit of length. For edges in centimeters the result is in cubic centimeters, and the surface area is in square centimeters.

A cube with edge a = 5A cube with the edge a = 5 marked. The area of one face is a² = 25, the volume is V = a³ = 125, and the total surface area is 6a² = 150.a = 5a² = 25V = a³ = 1256a² = 150
A cube with an edge of 5 has six faces of 25 each, so the surface area is 150 and the volume is V = 5³ = 125.

Try it with an example

Example: a cube with an edge of 5. The value is already stored in the link to the calculator.

Edge a
5
Result
V = 125, surface area 150, space diagonal 8.66

Open the calculator with these numbers

The calculator reads the values from the page address and shows the result right away. You can change them freely.

How the calculator works

The calculator works out the volume with V = a · a · a and rounds the results to two decimal places. It also shows the area of one face a², the total surface area 6a², the face diagonal a√2 and the space diagonal a√3. It needs a > 0, so zero and negative numbers are rejected. The unit (cm or inches) follows the unit setting in the page header, but the calculator does not convert the number you enter. It does not find an edge from a volume, which is a cube root.

Volume of a cube from the surface area and from the diagonal

When you know the total surface area S, the edge is a = √(S ÷ 6). For S = 54 that is a = √9 = 3, and the volume is V = 3³ = 27. When you know the area of one face F, the edge is a = √F, for example for F = 25 the edge is 5.

When you know the space diagonal d, the edge is a = d ÷ √3. For d = 8.66 you get a = 5, so V = 125. The face diagonal a√2 and the space diagonal a√3 come from the Pythagorean theorem, which is described in The Pythagorean Theorem. You can compute the roots in the square root calculator.

Volume of a cube in liters and cubic meters

A cube with an edge of 10 cm has a volume of 1000 cm³, exactly 1 liter, because 1 dm³ is 1 liter. A cube with an edge of 0.5 m has a volume of 0.125 m³, which is 125 liters. One cubic meter is 1000 liters.

Enter every dimension in the same unit of length. When you double the edge, the volume grows eightfold: for a = 4 we have 64, and for a = 8 we have 512. The volume of a cylinder is described in Cylinder Volume.

The cube, the rectangular prism and other solids

A cube is a special rectangular prism in which all three dimensions are equal. For a prism with dimensions a, b and c the volume is a · b · c. You can find the area of one face of a cube in the rectangle area calculator, and the formula is described in Rectangle Area.

For other solids use the sphere volume calculator, the cone volume calculator or the cylinder volume calculator. Articles about these solids are Sphere Volume and Volume of a Cone.

Four worked examples

You can repeat each example in the cube volume calculator.

1. A cube with an edge of 5

The basic calculation.

  1. Enter a = 5.
  2. Compute the face area 5² = 25.
  3. Multiply by the edge: 125.
  4. The surface area is 6 · 25 = 150.

2. A cube with an edge of 3

A small cube.

  1. Enter a = 3.
  2. Compute 3 · 3 · 3.
  3. The result is 27.
  4. The surface area is 6 · 9 = 54.

3. A 10 cm cube in liters

Conversion to liters.

  1. Enter a = 10.
  2. Compute 10³ = 1000 cm³.
  3. Turn 1000 cm³ into 1 dm³.
  4. The result is 1 liter.

4. A cube with a surface area of 54

The edge from the surface area.

  1. Divide 54 ÷ 6 = 9.
  2. Compute a = √9 = 3.
  3. Enter a = 3.
  4. The result is 27.

Common mistakes when finding the volume of a cube

  • Multiplying the edge by 3 — a³ is a · a · a, so for a = 5 the result is 125, not 15.
  • Using the area formula instead of the volume — a² is a face area, and the volume needs the third power.
  • Confusing surface area with volume — surface area 6a² has a square unit and volume has a cubic unit.
  • Mixing units — all dimensions must use the same unit of length.
  • Leaving out the factor 6 in the surface area — a cube has six faces.
  • Assuming that doubling the edge doubles the volume — the volume grows eightfold.
  • Entering zero or a negative number — the calculator needs an edge greater than zero.

Frequently asked questions

What is the formula for the volume of a cube?

The volume of a cube is V = a³. For an edge of 5 the result is 125.

What is the volume of a cube with an edge of 3 cm?

It is 3³ = 27 cm³, which is 27 ml.

What is the volume of a 4 × 4 × 4 cube?

It is 4 · 4 · 4 = 64 cubic units.

How do you find the volume of a cube from the surface area?

Find the edge with a = √(S ÷ 6), then use V = a³. For S = 54 the edge is 3 and the volume 27.

How do you find the volume of a cube from the diagonal?

Find the edge with a = d ÷ √3, then use V = a³. For d = 8.66 the edge is 5 and the volume 125.

How many liters does a cube with a 10 cm edge hold?

Its volume is 1000 cm³, exactly 1 liter.

How does the volume change when you double the edge?

The volume grows eightfold. For a = 4 it is 64, and for a = 8 it is 512.

Does the calculator convert units?

No. The calculator works on the numbers only, and the units in the header change just the labels. The edge must be greater than zero.

Find the volume of your own cube

Enter the edge in the cube volume calculator and read the volume, the surface area and both diagonals.

For other solids use the cylinder volume calculator or the sphere volume calculator.