Geometry and Triangle Tools

Right Triangle Solver

Solve a right triangle using two known measurements. Calculate missing side lengths, the hypotenuse, acute angles, area and perimeter with clear formulas and step-by-step solutions.

Solve Your Right Triangle

Select the two measurements you know. The solver will calculate the remaining sides and angles.

Choose a combination of two measurements.
Use the same unit for all side lengths.

Enter your known values

Enter two positive leg lengths to calculate the hypotenuse and angles.

Reset

Right Triangle Diagram

A right triangle contains one 90° angle. Side c is the hypotenuse, opposite the right angle. Sides a and b are the two perpendicular legs.

C B A b a c 90°

Diagram is illustrative and not drawn to the calculated dimensions.

What Is a Right Triangle?

A right triangle is a triangle with one interior angle measuring exactly 90 degrees. The side opposite this right angle is called the hypotenuse. The other two sides are called legs.

Right triangles are used in geometry, construction, engineering, surveying, navigation and many practical measurement problems.

How to Solve a Right Triangle

A right triangle can be solved when enough independent measurements are available to determine both its shape and its size. This calculator accepts several combinations of two known measurements.

1. When two legs are known

If both perpendicular legs are known, calculate the hypotenuse with the Pythagorean theorem. The two acute angles can then be calculated using trigonometry.

c = √(a² + b²)

2. When one leg and the hypotenuse are known

Subtract the square of the known leg from the square of the hypotenuse and take the square root to find the missing leg.

b = √(c² − a²)

3. When one side and one acute angle are known

Use sine, cosine and tangent to determine the remaining side lengths. The two acute angles are complementary, meaning their sum is 90 degrees.

sin(A) = a / c
cos(A) = b / c
tan(A) = a / b

Right Triangle Formulas

Pythagorean Theorem

a² + b² = c²

Missing Hypotenuse

c = √(a² + b²)

Missing Leg

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

Angle Sum

A + B = 90°

Area

Area = (a × b) / 2

Perimeter

P = a + b + c

Worked Example: A 3-4-5 Right Triangle

Suppose a right triangle has two perpendicular legs: a = 3 and b = 4. Find the hypotenuse and the two acute angles.

c = √(3² + 4²)
c = √(9 + 16) = √25 = 5

The hypotenuse is 5. The angles are calculated using inverse tangent:

A = arctan(3 / 4) ≈ 36.87°
B = 90° − 36.87° ≈ 53.13°
Measurement Result
Side a 3
Side b 4
Hypotenuse c 5
Angle A 36.87°
Angle B 53.13°
Area 6 square units
Perimeter 12 units

Frequently Asked Questions

What is a right triangle?

A right triangle is a triangle with one angle equal to 90 degrees. The side opposite the right angle is called the hypotenuse, and the other two sides are called legs.

How do you solve a right triangle?

A right triangle can be solved when two suitable independent measurements are known. These may be two sides, one side and one acute angle, or other combinations that determine the triangle size and shape.

What is the Pythagorean theorem?

The Pythagorean theorem states that the square of the hypotenuse equals the sum of the squares of the two legs: a squared plus b squared equals c squared.

How do you find the missing hypotenuse?

Square both legs, add the squares, and take the square root. The formula is c = square root of (a squared plus b squared).

How do you find a missing leg?

Subtract the square of the known leg from the square of the hypotenuse, then take the square root. For example, b = square root of (c squared minus a squared).

Can you solve a right triangle using two angles?

Two acute angles determine the shape of a right triangle, but not its size. At least one side length is needed to calculate the actual side lengths, area and perimeter.

What is the area of a right triangle?

The area is half the product of the two perpendicular legs: Area = (a times b) divided by 2.

Related Geometry Calculators

Use these related tools for additional triangle, distance and geometry calculations.