Volume of Cube Calculator

Enter a cube's edge length, space diagonal or surface area to find its volume and diagonals.

Updated

I know the
Enter to calculate Esc to clear

Volume of Cube Calculator

Our Volume of Cube Calculator finds how much space a cube holds from whichever measurement you already have: the edge length, the space diagonal or the surface area. It shows the working, the exact answer, the surface area, both diagonals, the volume in other units and a drawing.

Quick answer

The volume of a cube is edge × edge × edge, or a³: V = 5³ = 125 cm³.

  • From the space diagonal: V = d³ ÷ 3√3, so 10 cm gives ≈ 192.45 cm³
  • From the surface area: V = √(A ÷ 6)³, so 150 cm² gives 125 cm³
  • Doubling the edge: the volume grows 8 times, because 2³ = 8
  • Units: the volume is in cubic units, so an edge in cm gives cm³ (1,000 cm³ = 1 litre)

What Is the Volume of a Cube?

A cube is a 3D shape with 6 square faces, 12 equal edges and 8 corners. Every edge has the same length a. The volume V is the space inside it, measured in cubic units such as cm³ or m³.

A cube with edge a, a face diagonal a√2 across the front face from top left to bottom right and a dashed space diagonal d = a√3 from a bottom front corner to the opposite top back corner a a a√2 d = a√3
Edge a, face diagonal a√2 and space diagonal d = a√3.

Cube Volume Formulas

Use the formula that matches what you know.

You knowFormula
The edgeV = a³
The space diagonalV = d³ ÷ 3√3
The surface areaV = √(A ÷ 6)³

The same cube has surface area A = 6a², a face diagonal of a√2 and a space diagonal of a√3.

Why the Volume Is a³

Volume counts how many unit cubes fit inside. A cube with 3 cm edges holds 3 rows of 3 small cubes on its bottom layer (3 × 3 = 9), and there are 3 layers, so 3 × 3 × 3 = 27 cubes of 1 cm³ each. That is 3³ = 27 cm³.

A cube with 3 cm edges split into a 3 by 3 by 3 grid of 27 small one-centimetre cubes 3 cm 3 cm 3 × 3 × 3 = 27 cm³
Three layers of 3 × 3 unit cubes: 27 cubes of 1 cm³.

Volume From the Diagonal

The space diagonal d runs from one corner through the middle of the cube to the opposite corner. By Pythagoras, d² = a² + a² + a² = 3a², so d = a√3. Divide by √3 to get the edge, then cube it. The two steps fold into V = d³ ÷ 3√3.

Inside a cube, a right triangle with the face diagonal a√2 along the bottom, the edge a going up, and the space diagonal d as the long side a√2 a d d² = a² + a² + a² = 3a²
The space diagonal is the long side of a right triangle: d = a√3.
d = 10 cm
a = 10 ÷ √3 ≈ 5.7735 cm
V = 10³ ÷ 3√3 ≈ 192.45 cm³

Cube Volume Examples

KnownVolume
a = 1 m1 m³ = 1,000 L
a = 5 cm125 cm³
a = 12 in1,728 in³
d = 10 cm(1,000/9)√3
≈ 192.45 cm³
A = 96 cm²a = 4, so 64 cm³

From the edge the answer is always exact. From the diagonal it contains √3, so the calculator shows the exact form and a rounded decimal.

Cube Volume in Real Life

  • Shipping box: a 30 cm cube holds 27,000 cm³, which is 27 litres.
  • Ice cube: a 2.5 cm cube is 15.625 cm³ of ice.
  • Puzzle cube: a standard 5.7 cm puzzle cube is about 185.19 cm³.
  • Storage cube: a 1 ft cube holds 1,728 in³, about 7.48 US gallons.
  • Cubic yard: a 3 ft cube is 27 ft³, the unit used to order concrete and soil.

Common Mistakes

  • Multiplying by 3: 5 × 3 = 15, but the volume is 5 × 5 × 5 = 125.
  • Squaring, not cubing: a² is the area of one face. Volume needs a³.
  • Doubling the edge: it does not double the volume, it makes it 8 times bigger.
  • Mixing units: convert every length to the same unit before cubing.
  • Square units: volume is in cubic units (cm³, m³), not cm².

Key Terms

Volume
The space inside the cube, V = a³.
Edge
Any of the 12 equal sides, a.
Face diagonal
Corner to corner across one face, a√2.
Space diagonal
Corner to corner through the middle, a√3.
Surface area
The 6 faces together, A = 6a².

How to Use the Volume of Cube Calculator

  1. Choose what you know. Pick Edge, Diagonal (the space diagonal) or Surface area.
  2. Enter the value. Type the number, such as 5, and pick a unit if you want one (mm, cm, m, km, in, ft, yd or mi). Decimals and fractions such as 3/4 work.
  3. Read and copy the result. The volume appears as you type, with the working, the exact answer, the edge, the surface area, both diagonals and the volume in other units. Press Copy to copy it, or Clear or Esc to start again.

Example: a shipping box is a 30 cm cube. Choose Edge, enter 30 and pick cm. The volume is 27,000 cm³, or 27 litres.

Who Can Use This Calculator?

Students and TeachersSolid geometry and homework checks
Builders and DIYConcrete, soil, sand and fill by the cubic yard or m³
Shipping and StorageBox capacity and packing space
Everyday UsersTanks, planters, ice cubes and containers

Frequently Asked Questions (FAQs)

What is the formula for the volume of a cube?

V = a³, where a is the length of one edge. An edge of 5 cm gives 5 × 5 × 5 = 125 cm³.

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

Use V = d³ ÷ 3√3, where d is the space diagonal. The edge is d ÷ √3, so a 10 cm diagonal gives an edge of about 5.77 cm and a volume of about 192.45 cm³.

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

Divide the surface area by 6 to get one face, take the square root to get the edge, then cube it. A surface area of 150 cm² gives a 5 cm edge and 125 cm³.

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

Take the cube root of the volume. A volume of 64 cm³ has an edge of ∛64 = 4 cm.

What unit is the volume of a cube in?

Cubic units of the length you used: an edge in cm gives cm³, in metres gives m³. 1,000 cm³ is 1 litre and 1 m³ is 1,000 litres.

What happens to the volume if the edge doubles?

It becomes 8 times bigger, because the edge is cubed: 2³ = 8.

Is the Volume of Cube Calculator free?

Yes. It is completely free, needs no sign-up, and can be used as many times as you like.

Try our Volume of Cube Calculator to get a cube's volume from its edge, space diagonal or surface area.