Cube Calculator: Volume, Surface Area & Diagonals
Find a cube's volume, surface area, face diagonal, and space diagonal from any one known measure — side, diagonal, area, or volume — with exact steps.
The four cube formulas
A cube is defined entirely by its side length — the edge shared by its 6 identical square faces, the 3D extension of a square. Given , every other measure follows directly:
The two diagonals come from applying the Pythagorean theorem twice: the face diagonal is the hypotenuse of a right triangle formed by two sides of one square face (), and the space diagonal is the hypotenuse of a right triangle formed by the face diagonal and the remaining edge ().
Solving in the other direction
This calculator also works backward: give it any one of the five measures and it solves for the side first, then derives the rest.
| Known | Solve for side | Then |
|---|---|---|
| Side | — (already known) | , , , |
| Face diagonal | , , | |
| Space diagonal | , , | |
| Surface area | , , | |
| Volume | , , |
Worked example: side a = 4
Because the side is a whole number, all four derived measures have an EXACT form — the volume and surface area are exact integers, and both diagonals have an exact simplified-radical form in addition to their decimal approximations.
Worked example (reverse): volume V = 64
Taking the cube root gives exactly. Since the side lands on a clean whole number, the surface area and both diagonals also have tidy exact forms: , , and .
Worked example (reverse): surface area S = 100
Inverting the surface-area formula gives — not a clean whole number, so no exact radical form applies to the diagonals here. The volume comes out as , the face diagonal as , and the space diagonal as , all plain decimal approximations.
Common mistakes
- Mixing up the face diagonal and the space diagonal. stays on one face; cuts through the interior — is always the larger of the two.
- Using instead of for the surface area. A cube has 6 faces, not 1 — forgetting the factor of 6 understates the total surface area sixfold.
- Confusing volume with surface area units. Volume uses cubic units, surface area uses square units — they're never the same number for the same cube unless or .
Where this shows up
- Boxes, dice, storage cubes, Rubik's cubes: the volume tells you how much they can hold; the surface area tells you how much material wraps them.
- Packaging and shipping: cube-shaped containers are common because they pack together with no wasted space, and their formulas make capacity planning simple.
- Building blocks for other solids: a cube is the special case of a rectangular prism (box) where every edge is equal, and the same diagonal formulas generalize (via ) to that more general shape.
A cube is the natural 3D counterpart of the square — knowing just one of its side, face diagonal, space diagonal, surface area, or volume is always enough to determine all the others, exactly the way one measure is enough for a flat square.
Frequently asked questions
- What are the formulas for a cube?
- With side : volume , total surface area , face diagonal , and space diagonal . Knowing just one of these five measures is enough to find the other four.
- What's the difference between the face diagonal and the space diagonal?
- The face diagonal runs across one flat square face of the cube (, from the Pythagorean theorem on that face's two sides). The space diagonal runs through the cube's interior, corner to opposite corner (), and is always longer than the face diagonal.
- How do I find the side if I only know the volume?
- Take the cube root: a = ∛V. For example, a volume of 64 gives a side of ∛64 = 4, since V = a³ rearranges to a = ∛V.
- How do I find the side if I only know the surface area?
- Divide by 6 and take the square root: a = √(S/6). A surface area of 96 gives a side of √(96/6) = √16 = 4, since S = 6a² rearranges to a² = S/6.
- How do I find the side from the space diagonal?
- Divide by √3: a = d/√3. A space diagonal of 6.9282 gives a side of about 4, since d = a√3 rearranges to a = d/√3.
- What is the most common mistake with cube formulas?
- Confusing the face diagonal with the space diagonal, or using a² instead of 6a² for the total surface area — a cube has 6 identical square faces, not just 1, so the total surface area is always 6 times a single face's area.
- Do volume and surface area have different units?
- Yes. The side and both diagonals share the same linear unit (e.g. cm), but surface area is that unit squared (e.g. cm²) and volume is that unit cubed (e.g. cm³) — a cube with side 4 cm has a surface area of 96 cm² and a volume of 64 cm³, not the same number with a different label.
- How is the cube related to the square and the rectangular prism?
- A cube is the 3D extension of a square — every face is a square, the same way a square is built from equal sides. It's also the special case of a rectangular prism (box) where all three edge lengths (length, width, height) are equal.