Education
Right Triangle Calculator
Last updated: June 19, 2026
A right triangle calculator is a trigonometric tool that solves for missing angles, side lengths, area, and perimeter of a right-angled triangle. By utilizing the Pythagorean theorem and basic trigonometric ratios (sine, cosine, tangent), the calculator determines all properties of the triangle when any two dimensions (with at least one side) are provided. It displays step-by-step derivations for each value, helping students learn trigonometry and assisting carpenters in measuring angular cuts.
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.
Quick Answer
Solve right triangles instantly. Enter any two known sides or one side and an angle to calculate all remaining dimensions, angles, and area.
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.
Related Calculators
More tools from Education
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
Triangle Area Calculator
Calculate the area of any triangle from base and height, three sides (Heron's formula), or two sides and the included angle (SAS).
Education
Area Calculator – Find the Area of a Shape
Find the area of a shape from one tool. Supports circle, triangle, rectangle, and other common 2D geometric shapes.
Education
Perimeter Calculator
Calculate the perimeter (or circumference) of common 2D shapes: rectangle, triangle, circle, trapezoid, parallelogram, and regular polygon.