Education
Right Triangle Calculator
Pick the mode that matches what you know about the right triangle. The calculator returns all three sides, both acute angles, the area, and the perimeter.
Solve from
e.g. 3
e.g. 4
Right triangle has one 90° angle. The two non-right (acute) angles always sum to 90°. Angle a is opposite leg a; angle b is opposite leg b.
Hypotenuse & angles
5
legs 3 and 4
a² + b² = c² · Area = a × b ÷ 2 · A + B = 90°. Angles use atan, asin, acos as appropriate for the chosen mode.
Examples
Legs 3 and 4
hyp 5 · angles 36.87° / 53.13° · area 6 · perim 12
Leg 5, hypotenuse 13
other leg 12 · angles ≈ 22.62° / 67.38° · area 30
Hypotenuse 10, angle 30°
legs 5 and ≈ 8.660 · area ≈ 21.651
How it works
Every right triangle satisfies a² + b² = c², where a and b are the legs and c is the hypotenuse. The acute angles satisfy A + B = 90°, and each is governed by a basic trig ratio (sin, cos, tan) against the sides.
Pythagorean · a² + b² = c²
Angles · sin A = a/c · cos A = b/c · tan A = a/b
Area & perimeter · A = a × b ÷ 2, P = a + b + c
Angle inputs and outputs are in degrees.
Related geometry calculators
- Pythagorean theorem calculator when you only need to find one missing side from the other two.
- Triangle area calculator for any triangle, including base-and-height, Heron, and SAS.
- Square root calculator for the radical step in the Pythagorean formula.
- Area calculator for area across multiple 2D shapes.
- Perimeter calculator for perimeter across common shapes.
- All education calculators.
Frequently asked questions
A right triangle has exactly one 90° angle. The side opposite the right angle is the hypotenuse (always the longest side); the other two sides are the legs. The two non-right angles are acute (less than 90°) and always sum to 90°.
Two legs: when both perpendicular sides are known. Leg + hypotenuse: when one leg and the slanted hypotenuse are known. Leg + acute angle: when one leg and one non-right angle are known. Hypotenuse + acute angle: when the slanted hypotenuse and one non-right angle are known. Pick the mode that matches what you know.
The Pythagorean theorem calculator solves for one missing side when two sides are known. The right triangle calculator goes further: it returns all three sides, both acute angles, area, and perimeter, and it accepts angle inputs as well as side inputs. Use Pythagorean when you only need a single side; use this when you want the full picture.
Area = (leg a × leg b) ÷ 2. The two legs are perpendicular, so they serve directly as base and height. For legs 3 and 4, area = 6 square units. This is the same formula as a generic triangle with base × height ÷ 2, with the legs filling in.
The hypotenuse is opposite the largest interior angle (90°), so by the law of sines it is the longest side. If you enter a leg equal to or larger than the hypotenuse, the configuration is impossible and the calculator flags it.
An acute angle in a right triangle has to be strictly positive (the triangle would degenerate at 0°) and strictly less than 90° (the right angle already takes 90°). Values at the boundary give degenerate shapes with no triangle at all.
Related calculators
Education
Final Grade Calculator
Calculate your final course grade from your current grade and your final exam score.
Education
Weighted Grade Calculator
Combine assignments, quizzes, and exams by weight to get a precise weighted course average.
Education
Final Exam Calculator
Find out exactly what you need to score on your final exam to hit your target course grade.