Everyday utility

Right Triangle Calculator

Enter the two perpendicular legs to calculate the hypotenuse, both acute angles, area, and total perimeter.

Last reviewed May 18, 2026 by ToolSpilo Editorial Team.

Review method: Reviewed against the implemented right-triangle formulas and two-leg examples, displayed formulas, and worked examples.

Calculator tool

How this calculator works

Use the explanation to understand the formula, assumptions, and practical limits behind the calculator result.

What Two Legs Tell You

A right triangle has one 90-degree angle. If you know the two perpendicular legs, you can find the whole triangle.

c=a2+b2c = \sqrt{a^2 + b^2}

where cc is the hypotenuse, the longest side.

A Simple Example

If the two legs are 3 and 4, the hypotenuse is 5. The area is:

A=ab2=3×42=6A = \frac{ab}{2} = \frac{3 \times 4}{2} = 6

How to Read the Result

The angle opposite the longer leg is larger. The two smaller angles always add to 90 degrees because the third angle already uses the other 90 degrees.

When to Use Another Tool

Use this calculator when you know both legs. If you know a different combination of sides or angles, use a broader triangle calculator instead.

Frequently asked questions

Why are two legs enough to solve the whole triangle?

Because the right angle is fixed, the hypotenuse follows from the Pythagorean theorem and the remaining angles follow from trigonometry.

Why do the acute angles add to 90 degrees?

Every triangle totals 180 degrees, and a right triangle already uses 90 degrees for the right angle.

What is the area formula here?

Because the legs are perpendicular, they act as base and height, so area is ab/2ab/2.

When should I use the Pythagorean calculator instead?

Use the broader tool when you do not know both legs or when the given information includes a different mix of sides and angles.