AIForeverThing

Right Triangle Solver

Enter two sides to calculate the hypotenuse and all angles

Enter Triangle Sides

Enter the lengths of any two sides of a right triangle. The right angle (90°) is between sides a and b.

Results
Hypotenuse (c) —
Side a —
Side b —
Angle A —
Angle B —
Angle C (right angle) 90°
Area —
Perimeter —

A right triangle has one 90° angle and two acute angles that sum to 90°. To solve the triangle, we use the Pythagorean theorem (a² + b² = c²) to find the hypotenuse, and inverse trigonometric functions to determine the unknown angles. Angle A is calculated as arctan(a/b), and Angle B equals 90° − A. The area is simply ½ × a × b. Enter any two sides and this tool computes the remaining side, both acute angles, area, and perimeter instantly.

How do I find the hypotenuse of a right triangle?
Use the Pythagorean theorem: c = √(a² + b²). Square both sides, add them together, then take the square root of the result. For example, if a = 3 and b = 4, then c = √(9 + 16) = √25 = 5.
How do you calculate the angles of a right triangle from its sides?
Use inverse trigonometric functions. Angle A = arctan(a ÷ b) and Angle B = arctan(b ÷ a), or simply B = 90° − A. These give you the two acute angles in degrees or radians depending on your calculator's mode.
What is the relationship between sides and angles in a right triangle?
In a right triangle, the sine of an angle equals the opposite side divided by the hypotenuse, the cosine equals the adjacent side divided by the hypotenuse, and the tangent equals the opposite side divided by the adjacent side. These trigonometric ratios fully describe the relationship between sides and angles.