About Right Triangle Calculator
This right triangle calculator solves a triangle with a 90 degree angle from any two values: two legs, a leg and the hypotenuse, or a side and an acute angle. It shows the Pythagorean theorem and trigonometry steps. It is free, needs no sign-up and runs in your browser, so nothing you enter is uploaded.
The right angle is at C, so the hypotenuse is c. Leg a is opposite angle A and leg b is opposite angle B. Fill exactly two boxes; the rest are solved.
Two angles alone are not enough, since many similar triangles share the same angles. Give at least one side.
How to use Right Triangle Calculator
- Pick the mode that matches what you know: SSS, SAS, ASA, AAS, SSA or Right triangle.
- Type the three values in the boxes. Sides a, b, c sit opposite angles A, B, C. In right mode fill exactly two boxes.
- Choose a length unit and whether angles are in degrees or radians. Changing the angle unit converts the numbers you already typed.
- Read the sides, angles, area and other measures, and compare them with the scaled diagram.
- Open the step-by-step working to see each law of cosines or law of sines line, then Heron’s formula for the area.
- In SSA mode, check whether one solution, two solutions or none appear, and read the note that explains why.
Features
- Six modes: SSS, SAS, ASA, AAS, SSA and right triangle.
- Both solutions shown in the ambiguous SSA case, each with a diagram and its own working.
- Area by Heron’s formula and by one half a b sin C, which agree.
- Perimeter, three heights, three medians, inradius and circumradius.
- Triangle type by angles (acute, right, obtuse) and by sides (scalene, isosceles, equilateral).
- A scaled, labelled SVG diagram that follows light and dark mode.
- Degrees or radians, and eight length units from millimetres to miles.
- Clear messages when the values cannot form a triangle, instead of a wrong answer.
- Worked examples and KaTeX formulas for every step.
Right triangle relations
The Pythagorean theorem links the sides, and sine, cosine and tangent link sides to the acute angle A.
a² + b² = c²
sin A = a / c cos A = b / c tan A = a / b
A + B = 90°Worked examples
a = 5, c = 13 gives b = 12
Angle A = 22.62°.
Privacy: how it works
- Everything is calculated by code running in your browser tab. The values you enter are not sent to Ulkaa or to any other server, and there is nothing to sign in to.
Tips
- Check the labelling: side a is opposite angle A. Swapping a side with its neighbour gives a different triangle.
- In SAS the angle must be the one between the two sides. If it is not, use the SSA mode.
- If two angles already add to 180° or more, no triangle exists. The calculator says so.
- For a right triangle you can also use SSS with the sides 3, 4 and 5 and read C = 90°.
Frequently asked questions
Is it really free?
Yes. There is no price, no trial and no credit card. Ulkaa Tool does the work with your own device, so there is no server bill to pass on to you.
Do I need an account?
No. There is no sign-up and no login. Open the page and use it. An Ulkaa account is not needed for anything on this tool.
Does it run in my browser?
Yes. Your values are processed by code running in your browser tab, on your own device.
Is my data uploaded?
No. Your values are never sent to Ulkaa or to anyone else. You can check this yourself by watching the Network tab in your browser developer tools while you use the tool.
How do I solve a right triangle?
With two sides, use the Pythagorean theorem for the third and arctangent for an angle. With a side and an angle, use sine, cosine or tangent.
Which angle is the right angle?
Angle C, so side c is the hypotenuse.
More Triangle Calculator pages
- Triangle CalculatorEnter any three valid values and get every side, every angle, the area and a drawing of the triangle.
- SSS Triangle CalculatorEnter three sides and get all three angles, the area and a scaled drawing.
- SAS Triangle CalculatorEnter two sides and the angle between them to find the third side and the other angles.
- ASA Triangle CalculatorEnter two angles and the side between them to get the other two sides and the third angle.
- AAS Triangle CalculatorEnter two angles and a non-included side to get every other side and angle.
- SSA Triangle CalculatorEnter two sides and a non-included angle. The calculator shows every triangle that fits.
- Area of a Triangle CalculatorEnter three sides to get the area by Heron’s formula, with the heights and the steps.
- Heron’s Formula CalculatorEnter the three sides and see the semi-perimeter, the product and the area worked out.
- Law of Sines CalculatorEnter two angles and a side to find the others with the law of sines.
- Law of Cosines CalculatorEnter two sides and the angle between them to find the third side and the other angles.
- Isosceles Triangle CalculatorEnter the two equal sides and the base to get the angles, the height and the area.
- Equilateral Triangle CalculatorEnter the side length to get the height, the area and both circle radii.