Math

Right Triangle Calculator

Solve a right triangle from two side lengths and find the hypotenuse, angles, area and perimeter.

Free online toolWorks in your browserNo sign-up required

Right Triangle Calculator

Explore this topic

Geometry & Triangles

Right triangles, areas, slopes, distances and common coordinate-geometry formulas.

Topic hub →

How to use this right triangle calculator

Enter the values requested above and select Calculate. Change any input to compare another scenario. The calculation runs locally in your browser and does not require an account.

Formula and method

c = √(a²+b²). Acute angles can be found with inverse tangent, such as A = arctan(a/b).

Example

For legs 3 and 4, the hypotenuse is 5 and the area is 6.

What this calculator is useful for

Solve a right triangle from two side lengths and find the hypotenuse, angles, area and perimeter. The result is intended for quick estimates, checking arithmetic and comparing scenarios. When a result affects a contract, tax filing, medical decision, building-code requirement or other high-stakes situation, verify the result with the appropriate professional or authoritative source.

Find the hypotenuse, angles, and area

A right triangle with legs 8 and 15 has hypotenuse √(8² + 15²) = 17, area (8 × 15) ÷ 2 = 60 square units, and perimeter 8 + 15 + 17 = 40 units.

Angle caution: acute angles depend on which leg is opposite the angle being named. The two acute angles must sum to 90 degrees. Enter positive leg lengths measured using the same unit.

Frequently asked questions

What does the Right Triangle Calculator calculate?

Solve a right triangle from two side lengths and find the hypotenuse, angles, area and perimeter.

How does the Right Triangle Calculator work?

c = √(a²+b²). Acute angles can be found with inverse tangent, such as A = arctan(a/b).

Is the Right Triangle Calculator free to use?

Yes. ERICH Calculators is free to use and does not require an account.

Transparency

Method, assumptions & corrections

See how formulas, sources and limitations are handled across ERICH Calculators.