Right Triangle Calculator
Find missing sides, angles and trig ratios in a right triangle, step by step
The Three Trig Ratios
In a right triangle, label the sides relative to the acute angle you care about: the hypotenuse is always opposite the right angle, the opposite side faces , and the adjacent side touches it.
That is SOH-CAH-TOA. Two more facts complete the toolkit:
for legs , hypotenuse and acute angles .
These ratios only apply to a triangle that actually contains a angle. For a non-right triangle you need the Law of Sines or the Law of Cosines instead — SOH-CAH-TOA will give a wrong answer there, not an error message.
How to Solve a Right Triangle
You need two pieces of information besides the right angle, and at least one of them must be a side. Match your case:
Case 1: two sides known
- Find the third side with .
- Find one acute angle with an inverse ratio, e.g. or .
- Get the other angle from .
Case 2: one side and one acute angle known
- The other acute angle is immediately.
- Pick the ratio that connects the side you have to the side you want — that is what "which trig function do I use?" really means. Known hypotenuse and want the opposite side: . Known opposite and want the hypotenuse: .
Choosing the function
Write down which two sides the problem involves. Opposite and hypotenuse sine. Adjacent and hypotenuse cosine. Opposite and adjacent tangent. Use , , when the unknown is the angle.
Common Mistakes to Avoid
- Calculator in the wrong mode: degree answers from radian mode are the single most common source of wrong results. Check that before you start.
- Fixed labelling: "opposite" and "adjacent" swap when you switch which acute angle you are working from. Only the hypotenuse never moves.
- Using where is needed: turns an angle into a ratio; turns a ratio back into an angle.
- Applying with as a leg: must be the hypotenuse, the longest side.
- Rounding too early: carry full precision through intermediate steps and round only the final answer, or angles drift by a tenth of a degree.
Examples
Frequently Asked Questions
Identify the two sides the problem mentions relative to your angle. Opposite with hypotenuse means sine, adjacent with hypotenuse means cosine, opposite with adjacent means tangent. If the unknown is the angle rather than a side, use the inverse version of that same function.
Two values in addition to the right angle, and at least one must be a side length. Two angles alone fix the shape but not the size, so every side would remain unknown.
No. SOH-CAH-TOA is defined by the right angle. For other triangles use the Law of Sines a/sin A = b/sin B, or the Law of Cosines c^2 = a^2 + b^2 - 2ab cos C, which reduces to the Pythagorean theorem when C = 90 degrees.
Almost always because it is in radian or gradian mode when the question is in degrees. Test it with sin(30): you should get 0.5 in degree mode. Also check that any ratio you feed into arcsin or arccos is between -1 and 1, since values outside that range have no solution.
Related Solvers
Related Guides
Try AI-Math for Free
Get step-by-step solutions to any math problem. Upload a photo or type your question.
Start Solving