Find all sides, angles, area and perimeter of any right triangle. Enter any 2 known values — or check if three sides form a right triangle. Step-by-step solutions included.
Two modes — solve a right triangle from any 2 values, or check if three sides form a right triangle. Both show complete working steps.
Solve Triangle — to find missing sides and angles. Check — to test if three lengths form a right triangle.
Type any 2 from: leg a, leg b, hypotenuse c, angle A, or angle B. Leave all others blank. Blue = sides, orange = angles, green = hypotenuse.
Hit Calculate Now — all missing sides, both angles, area, perimeter, and altitudes appear instantly with step-by-step working.
Every result includes the formula used — Pythagorean theorem, sin/cos/tan, or inverse trig — with your actual numbers plugged in.
Every right triangle calculation uses one of these three formula groups. Our calculator picks the right one automatically based on what you enter.
Used when 2 sides are known. c is always the hypotenuse. Works only for right triangles (90°).
Used when 1 side + 1 angle are known. The angle at C is always 90°. A + B = 90°.
Area uses the two legs (not the hypotenuse). The altitude to the hypotenuse = a·b / c.
A right triangle calculator is a free online tool that solves any right triangle completely — finding all unknown sides, angles, area, perimeter, and altitude — from just two known values. It uses the Pythagorean theorem for sides and trigonometric functions (sin, cos, tan) for angle-side relationships, showing every step of the calculation.
Our right triangle calculator with angles accepts any combination of two values: two sides, one side and one angle, or two angles (though a right triangle always has one 90° angle, so knowing one other angle determines the third). The live diagram updates with your triangle's proportions after solving.
Use the Pythagorean theorem to find the hypotenuse: c = √(a² + b²). Then use inverse trig to find the angles: A = arctan(a/b) and B = 90° − A.
c = √(3²+4²) = √(9+16) = √25 = 5
A = arctan(3/4) = arctan(0.75) = 36.87°
B = 90° − 36.87° = 53.13°
Area = ½ × 3 × 4 = 6
Find the other leg: b = √(c² − a²). Find the angle: A = arcsin(a/c).
Use trig ratios: b = a / tan(A) and c = a / sin(A). Then B = 90° − A.
Remember: In a right triangle, the two non-right angles always add up to 90° (they are complementary). So if you know angle A, you automatically know B = 90° − A. This is why knowing just one acute angle + one side is enough to solve the entire triangle.
A triangle is a right triangle if and only if the square of its longest side equals the sum of squares of the other two sides — the Pythagorean theorem: c² = a² + b². Use our Check mode to test any three side lengths instantly.
Follow these steps:
Sides 5, 12, 13: 5²+12² = 25+144 = 169 = 13² ✓ → RIGHT TRIANGLE
Sides 6, 8, 10: 6²+8² = 36+64 = 100 = 10² ✓ → RIGHT TRIANGLE
Sides 4, 5, 7: 4²+5² = 16+25 = 41 ≠ 49 = 7² ✗ → NOT a right triangle
Sides 7, 24, 25: 7²+24² = 49+576 = 625 = 25² ✓ → RIGHT TRIANGLE
Any three positive numbers satisfying a² + b² = c² form a right triangle. The most common Pythagorean triples (whole number right triangles) are:
Click any triple in our Check mode to instantly verify it forms a right triangle.
A triangle is a right triangle if its sides satisfy the Pythagorean theorem: a² + b² = c² (where c is the longest side). Example: sides 3, 4, 5 → 3²+4² = 9+16 = 25 = 5² ✓ Yes! Use our Check Right Triangle mode — enter all 3 sides and the result shows instantly whether they form a right triangle, with the full calculation shown.
If any one of the three angles is exactly 90°, it is a right triangle. Since all three angles must sum to 180°, a right triangle has angles of 90° + A + B = 180°, meaning the other two angles are complementary (A + B = 90°). You can also verify by the side lengths using c² = a² + b².
Any three positive numbers where the sum of squares of the two smaller numbers equals the square of the largest. Famous Pythagorean triples: 3-4-5, 5-12-13, 8-15-17, 7-24-25. Any multiple of these also works (e.g. 6-8-10, 10-24-26). Use our Check mode to test any set of three numbers — click the preset chips to try famous triples instantly.
The hypotenuse (longest side, opposite the 90° angle) is found using the Pythagorean theorem: c = √(a² + b²). Example: legs 5 and 12 → c = √(25+144) = √169 = 13. Enter the two legs in our Solve Triangle mode and the hypotenuse is calculated instantly with the full working shown.
If you know two sides, use inverse trigonometry: A = arcsin(a/c) or A = arctan(a/b). The third angle is always B = 90° − A (since C = 90° is fixed). Enter any two known sides in our right triangle calculator with angles and both acute angles are found automatically with the trig formula used shown step by step.