Home · Everyday · Geometry & Coordinates · Cube Calculator
Cube Calculator
Volume, surface area and both diagonals of a cube from a single edge length — all twelve edges of a cube are equal.
What this calculator does
Volume, surface area and both diagonals of a cube from a single edge length — all twelve edges of a cube are equal. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.
The formula and method
A cube has six square faces of area a², giving surface area 6a², and volume a·a·a = a³. The face diagonal a√2 comes from Pythagoras on one face; applying Pythagoras again with that diagonal and the third edge gives the space diagonal a√3.
Keep units consistent: if a is in centimetres the volume is in cm³ and the area in cm². Doubling the edge multiplies the volume by eight, not two — a common estimating slip.
Worked example
With the example inputs this page opens with (edge length a 5), the result is 125.0000 — volume. Computed from the inputs on this page with the formula below — change any figure and every result updates.
Quick reference
| Edge length a | Volume | Surface area | Space diagonal | Face diagonal |
|---|---|---|---|---|
| 1 | 1 | 6 | 1.732051 | 1.414214 |
| 2 | 8 | 24 | 3.464102 | 2.828427 |
| 3 | 27 | 54 | 5.196152 | 4.242641 |
| 4 | 64 | 96 | 6.928203 | 5.656854 |
| 5 | 125 | 150 | 8.660254 | 7.071068 |
| 6 | 216 | 216 | 10.392305 | 8.485281 |
| 8 | 512 | 384 | 13.856406 | 11.313708 |
| 10 | 1000 | 600 | 17.320508 | 14.142136 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How does the Cube Calculator work?
Volume, surface area and both diagonals of a cube from a single edge length — all twelve edges of a cube are equal. Edge length a → Volume. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Cube Calculator need?
Edge length a → Volume. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Cube Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.