Part of the Math & Statistics suite · 235 calculators

Pythagorean Theorem Calculator

Find the missing side of a right triangle from the other two, plus its area, perimeter and the two acute angles.

In a right triangle the square on the hypotenuse equals the sum of the squares on the other two sides: a² + b² = c².

The hypotenuse when solving for a leg
Results update as you type
Results
Missing side
5
Area
Perimeter
Angle opposite the first side
Angle opposite the second side
Reviewed September 2026. Pure mathematics: the result does not depend on where you are. Terminology follows US usage (math, parentheses, decimal point).
No account required · Google Analytics off unless allowedCalculator arithmetic runs in your browserResults update as you type
All calculations run 100% in your browser. The calculator code does not submit your figures to GlobalCalc to obtain a result.
About pythagorean theorem

How the pythagorean theorem calculator works

In a right triangle the square on the hypotenuse equals the sum of the squares on the other two sides: a² + b² = c². Given two legs, c = √(a² + b²); given the hypotenuse and one leg, the other leg is √(c² − a²). The angles come from the tangent of the legs.

Formula: a² + b² = c²

Worked examples

InputsMissing sideNote
legs 3 and 45hypotenuse 5
leg 5, hypotenuse 1312other leg 12
legs 1 and 11.414214hypotenuse √2

Frequently asked questions

What is the hypotenuse?

The longest side of a right triangle, opposite the right angle.

Does the theorem work for all triangles?

Only right triangles. For others use the law of cosines: c² = a² + b² − 2ab cos C.

What are Pythagorean triples?

Whole-number solutions: 3-4-5, 5-12-13, 8-15-17, 7-24-25 and their multiples.

How is this used in building?

The 3-4-5 rule checks a corner is square: measure 3 along one edge, 4 along the other; the diagonal should be exactly 5.

How do I find the angles?

tan A = opposite ÷ adjacent, so A = arctan(a/b); the other acute angle is 90° − A.

Where these figures come from

Last checked: September 2026. Formulas are fixed by mathematics and do not change with tax years or regulations.