Volume of a Cube Calculator

Enter a cube's side length to get its volume, surface area, space diagonal, and total edge length using the standard geometry formulas.

Quick Facts

Volume formula
V = s³
Cubing the side length gives volume in cubic units.
Surface area formula
A = 6s²
Six identical square faces, each with area s².
Space diagonal
d = s√3 ≈ 1.7321 × s
The corner-to-corner diagonal through the cube's interior.

Your Results

Calculated
Volume
-
V = s³
Surface Area
-
A = 6 × s²
Space Diagonal
-
d = s × √3, corner to corner
Total Edge Length
-
Sum of all 12 edges

Ready

Enter a side length and press Calculate.

Formula and method for Volume of a Cube

A cube is a solid with six identical square faces, twelve equal edges, and eight vertices, so every measurement — volume, surface area, and the diagonal through its interior — can be derived from a single number: the side length, s. This calculator takes that one measurement and applies the standard geometric formulas for a cube.

The formulas used

  • Volume: V = s³ (the side length multiplied by itself three times). Volume is reported in cubic units — cm³, m³, ft³, and so on.
  • Surface area: A = 6s² — six identical square faces, each with area s². Reported in square units.
  • Space diagonal: d = s√3 (≈ 1.7321 × s) — the straight line connecting two opposite corners through the cube's interior, found with the 3D Pythagorean theorem.
  • Total edge length: 12s — the sum of all twelve equal edges.

Common mistakes

  • Confusing volume and surface area units: volume is cubic (cm³), surface area is square (cm²). A cube with 5 cm sides has a volume of 125 cm³ but a surface area of only 150 cm².
  • Using a face diagonal instead of the space diagonal: the diagonal across one square face is s√2, while the diagonal through the whole cube's interior is s√3 — a common mix-up.
  • Mismatched units: keep the side length in a single unit before calculating; converting after the fact means squaring or cubing the conversion factor, not just multiplying by it.

Real-world applications

  • Estimating the capacity of a cube-shaped box, tank, or storage cube from its side length
  • Calculating how much material (cardboard, sheet metal, paint) is needed to cover a cube-shaped surface
  • Packaging and shipping, where cubic volume determines dimensional weight
  • Geometry coursework involving 3D shapes, the Pythagorean theorem in three dimensions, and unit conversion

Frequently Asked Questions

What is the formula for the volume of a cube?
The volume of a cube is V = s³, where s is the length of one edge. For example, a cube with 5 cm sides has a volume of 5³ = 125 cubic centimeters.
How do I calculate the surface area of a cube?
Surface area is A = 6s², because a cube has six identical square faces, each with area s². A cube with 5 cm sides has a surface area of 6 × 25 = 150 square centimeters.
What is the space diagonal of a cube?
The space diagonal is the straight line connecting two opposite corners through the cube's interior. It equals d = s√3, or about 1.7321 times the side length. For a 5 cm cube, the space diagonal is about 8.66 cm.
How does volume change if I double the side length?
Volume scales with the cube of the side length, so doubling s multiplies volume by 2³ = 8, and tripling it multiplies volume by 27. Surface area only scales with the square of the side length, so doubling s multiplies surface area by just 4.