Cube Calculator

Volume, surface area and both diagonals of a cube from any single measurement.

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
Cube diagramAn isometric cube with edge a and its space diagonal drawn dashed.ad
Diagram not to scale.

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.

Formula version1.0.0
FormulaV = a³ S = 6a² d_face = a√2 d_space = a√3 a = ∛V = √(S ÷ 6) = d_space ÷ √3
Precision4 decimals

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

Related calculators

Last updated: 2026-07-31 · v1.0.0 · Report an error