en
a²

Pythagorean Theorem

Use the Pythagorean theorem to find the missing side of a right triangle.

Result

Missing side–
Area of the triangle–
Perimeter of the triangle–

How it is calculated

In a right triangle, the squares of the two legs add up to the square of the hypotenuse:

a² + b² = c²

c = √(a² + b²)  ·  b = √(c² − a²)

Example

With legs 3 and 4, the hypotenuse is 5 long – the well-known 3-4-5 triangle.

Frequently asked questions

What are legs and hypotenuse?

The legs are the two sides that form the right angle. The hypotenuse is opposite the right angle and is always the longest side.

How do I calculate a screen diagonal?

Width and height are the legs, the diagonal is the hypotenuse. Just enter width and height as a and b.

How do I check whether a corner is square?

Measure 3 and 4 units along the two edges (e.g. 3 ft and 4 ft). If the distance between the marks is exactly 5 units, the angle is 90°.

Embed this calculator on your website

You may embed this calculator on your website, blog or forum for free. Just copy this code: