How do you find a rectangle diagonal?
√(length² + width²).
Find plane diagonals or a cube’s face and space diagonals.
Choose rectangle, square, or cube and enter side lengths.
How to use Diagonal Calculator, plus the formulas and logic behind the results.
Diagonals connect opposite corners. In a cube, a face diagonal stays on one face; a space diagonal goes through the interior.
Rectangle: √(L² + W²)Square: s√2Cube face: a√2; space: a√3Diagonal facts
Applies Pythagorean relations in 2D or 3D for the selected figure.
All side lengths must be positive.
Common questions about this calculator and how to use the results.
√(length² + width²).
s√2.
a√2 on any square face.
a√3 connecting opposite vertices through the cube.
Yes—space diagonal is longer.
Yes.