Calxora logoCalxora

Right Triangle Calculator

Hypotenuse, area, perimeter and angles from the two legs.

About Right Triangles and the Pythagorean Theorem

The shape and its parts

A right triangle has one angle of exactly 90°. The side opposite that angle is the hypotenuse — always the longest side. The other two sides are the legs. Right triangles appear everywhere: ladders against walls, roof pitches, screen sizes measured diagonally, and navigation.

How it is calculated

a2 + b2 = c2  →  c = √(a2 + b2)
Area = a × b ÷ 2  ·  Perimeter = a + b + c
Angles from arctangent: angle opposite A = arctan(a ÷ b)

The famous 3-4-5 triangle (the defaults here) is the smallest whole-number example, used since ancient times to lay out right angles.

How to interpret the result

Practical notes

The theorem only holds for right triangles and flat (Euclidean) geometry. For a general triangle you would need the law of cosines, which reduces to Pythagoras when the angle is 90°.