What does this calculator do?
A cube has one degree of freedom, so any single measurement — the edge, the volume, the total surface area or the space diagonal — determines all the rest. The calculator recovers the edge first, then derives the volume, the surface area and both diagonals: across a face (a√2) and through the solid (a√3). Use any length unit — surface comes out in that unit squared, volume in that unit cubed.
Formula
Everything follows from the edge a; the inverses recover it:
V = a³ S = 6a² d_face = a√2 d_space = a√3 a = ∛V = √(S ÷ 6) = d_space ÷ √3
How to use it
Pick which value you know, enter it, and read the rest. Note the units: the edge and diagonals are lengths, the surface is in squared units and the volume in cubed units — so entering a volume of 27 m³ gives an edge of 3 m.
Worked example
Edge 3: volume = 27, surface area = 6 × 9 = 54, face diagonal = 3√2 = 4.2426, space diagonal = 3√3 = 5.1962. Entering volume 27 recovers a = 3.
Frequently asked questions
What is the difference between the two diagonals?
The face diagonal (a√2) lies flat across one square face. The space diagonal (a√3) goes through the interior from one corner to the opposite corner — it is the longest straight line inside the cube.
Why is the edge the cube root of the volume?
Because V = a³. A cube of 27 cm³ has 3 cm edges — not 9: taking a third of the volume is a different (wrong) operation from undoing the cube.
Can I convert the volume to litres?
Results are unit-neutral, so a volume computed from edges in decimetres is already in litres (1 dm³ = 1 L). For other conversions use the Volume Converter linked below.
Sources
- Standard solid geometry (volume, surface area, diagonals and slant heights of cubes, rectangular prisms, cylinders, cones, spheres and right square pyramids). Results are mathematically calculated from the supplied values, subject to input and display precision; π is used at full floating-point precision internally.
- OpenStax — Contemporary Mathematics (chapter on volume and surface area)
- Khan Academy — Volume and surface area (accessible explainer, not the primary source)
- Reviewed: 2026-07-31
Related calculators
Last updated: 2026-07-31 · v1.0.0 · Report an error