Right Triangle Side and Angle Calculator
Free right triangle calculator — solve all sides and angles from any two known values, with area, perimeter, and formulas shown.
Free right triangle calculator — solve all sides and angles from any two known values, with area, perimeter, and formulas shown.
Enter any two values for a right triangle (right angle is always at C) — the other sides and angles solve automatically.
Conventions used
Right angle is always at vertex C. Side a is opposite angle A, side b is opposite angle B, and c is the hypotenuse. A + B always equals 90°.
Rise and run give rafter length and roof angle — essential framing calculations.
Compute ramp length and angle from height to meet accessibility slope limits.
Measure a tree or building indirectly using distance and angle — solve the triangle.
Solve any right triangle from two knowns, with all sides and angles shown.
Measure three units along one edge and four along the other. If the diagonal is exactly five, the corner is truly square — no instrument required, and it works at any scale.
Walk three kilometres north then four east and you are five from the start. Dead reckoning and simple surveying both run on this.
You need any two known values among the three sides (legs a, b, and hypotenuse c) and the non-right angles (A and B), since the right angle (C = 90°) is always fixed. Two known values — whether two sides, a side and an angle, or (less commonly used here) two angles — fully determine the triangle, since trigonometric relationships and the Pythagorean theorem can derive everything else.
Use inverse trigonometric functions. If you know the two legs (a, b): angle A = arctan(a/b). If you know a leg and the hypotenuse: angle A = arcsin(a/c) (using the leg opposite A) or angle A = arccos(b/c) (using the leg adjacent to A). Once you know one non-right angle, the other is simply 90° minus that angle, since all three angles of any triangle sum to 180°.
Use the trigonometric ratios directly. If you know angle A and the hypotenuse c: a = c × sin(A) and b = c × cos(A). If you know angle A and leg a: b = a / tan(A) and c = a / sin(A). If you know angle A and leg b: a = b × tan(A) and c = b / cos(A). These come directly from the standard SOH-CAH-TOA relationships.
The right angle is always at vertex C. Side a is opposite angle A, side b is opposite angle B, and c is the hypotenuse (opposite the right angle, and always the longest side). This is the standard convention used in most trigonometry textbooks, and angles A and B always sum to exactly 90° since C is fixed at 90° and all three angles total 180°.