a²+b²=c²
(a and b are the shorter side lengths and c is the hypotenuse or diagonal).
Explanation:
This is also known as the Pythagorean Theorem. It is very useful when solving for the length of any side of a right triangle if two other side lengths are given.