Basic Trigonometry Formulas: A Step-by-Step Guide
In this article
The basic formulas for trigonometry are the three ratios in a right triangle: sine = opposite ÷ hypotenuse, cosine = adjacent ÷ hypotenuse, and tangent = opposite ÷ adjacent. From those you get the reciprocal functions (cosecant, secant, cotangent), the Pythagorean identity sin²θ + cos²θ = 1, and the law of sines and law of cosines for non-right triangles. This guide walks you through using them correctly, with a worked example and the mistakes that cause most wrong answers.
What You'll Need
- A scientific calculator with sin, cos, tan, and inverse (sin⁻¹, cos⁻¹, tan⁻¹) buttons — phone calculator apps in landscape mode usually have these.
- A pencil and paper for sketching the triangle and labeling sides.
- The angle you are working with, or enough side lengths to find it.
- Optional: a table of common values (30°, 45°, 60°) to check your answer against.
Step-by-Step
- Draw and label the triangle. Mark the right angle (the square corner). Label the side opposite the right angle as the hypotenuse — it is always the longest side. Pick the angle you know or want to find and call it θ. The side across from θ is the opposite side; the side touching θ (but not the hypotenuse) is the adjacent side.
- Decide which ratio connects what you know to what you want. Use SOH-CAH-TOA: Sine = Opposite/Hypotenuse, Cosine = Adjacent/Hypotenuse, Tangent = Opposite/Adjacent. If you know the opposite and hypotenuse and want the angle, use sine. If you know the adjacent and want the opposite, use tangent.
- Write the equation with the numbers plugged in. For example, if the opposite side is 5 and the hypotenuse is 10, write sin θ = 5/10 = 0.5.
- Solve for a side. Rearrange the formula before calculating: opposite = hypotenuse × sin θ, adjacent = hypotenuse × cos θ, opposite = adjacent × tan θ. Example: hypotenuse 12, angle 30° → opposite = 12 × sin 30° = 12 × 0.5 = 6.
- Solve for an angle. Use the inverse function. If tan θ = 0.75, then θ = tan⁻¹(0.75) ≈ 36.87°. Make sure your calculator is in degree mode, not radian mode, unless the problem specifies radians.
- Check with the Pythagorean theorem. For any right triangle, a² + b² = c², where c is the hypotenuse. In the example above, 6² + adjacent² = 12², so adjacent² = 144 − 36 = 108, and adjacent ≈ 10.39. Then cos 30° should equal 10.39/12 ≈ 0.866, which matches the known value.
- For non-right triangles, switch to the law of sines or cosines. Law of sines: a/sin A = b/sin B = c/sin C. Law of cosines: c² = a² + b² − 2ab cos C. Use the law of cosines when you know two sides and the included angle, or all three sides; use the law of sines when you know a side and its opposite angle plus one more piece.
- Use the Pythagorean identity to simplify expressions. sin²θ + cos²θ = 1 always holds. Rearranged, sin²θ = 1 − cos²θ and cos²θ = 1 − sin²θ. The related identities are tan θ = sin θ / cos θ and 1 + tan²θ = sec²θ.
- Round only at the end. Keep full calculator precision through intermediate steps, then round the final answer to the precision the problem asks for — usually one or two decimal places.
Common Mistakes
- Mixing up opposite and adjacent. They swap when you switch to the other acute angle. Always re-label from the angle you are actually using.
- Using the wrong calculator mode. Radian mode on a degree problem gives wildly wrong answers — sin 30 in radian mode is about −0.988, not 0.5.
- Forgetting the inverse function. Writing sin θ = 0.5 and then reporting θ = 0.5 is a common slip; you need sin⁻¹(0.5) = 30°.
- Putting the hypotenuse in the wrong place. The hypotenuse is only ever opposite the right angle; it is never a leg.
- Applying SOH-CAH-TOA to a non-right triangle. Those ratios only work in right triangles. Use the law of sines or cosines instead.
- Rounding too early. Rounding 0.866 to 0.87 mid-calculation can shift a final side length noticeably on larger triangles.
Tips
- Memorize the exact values for 30°, 45°, and 60°: sin 30° = 0.5, cos 30° ≈ 0.866, tan 45° = 1, sin 60° ≈ 0.866, cos 60° = 0.5. They catch mode errors instantly.
- Sketch every problem, even a rough one. Most errors are labeling errors, not arithmetic ones.
- Remember that sine and cosine are always between −1 and 1 for real angles; if you get 1.4, you divided wrong.
- Use the identity sin²θ + cos²θ = 1 as a free check: square your sine and cosine answers and add them.
- When using the law of sines, watch for the ambiguous case (two possible triangles) when you know two sides and a non-included angle.
Troubleshooting
- Answer looks impossible (sine or cosine above 1): you likely put the hypotenuse on the bottom when it should be on top, or vice versa. Re-check which side is which.
- Angle comes out negative or tiny: check calculator mode first, then check that you used the inverse function rather than the direct one.
- Triangle does not close (sides do not satisfy a² + b² = c²): one of your side labels is wrong, or the triangle is not actually right-angled. Verify the 90° corner.
- Law of sines gives an error: you may have paired a side with the wrong opposite angle. Each ratio must use a side and the angle across from it.
- Two different answers from two methods: trust the one with fewer rounded intermediate values, and redo the other with full precision.
Frequently Asked Questions
What are the three basic trigonometric ratios?
Sine (opposite/hypotenuse), cosine (adjacent/hypotenuse), and tangent (opposite/adjacent). Everything else builds on these three.
Do these formulas work on any triangle?
No. SOH-CAH-TOA applies only to right triangles. For other triangles, use the law of sines or the law of cosines.
How do I find an angle if I know two sides?
Choose the ratio that uses those two sides, divide, then apply the inverse function. For example, opposite 3 and adjacent 4 gives tan θ = 0.75, so θ = tan⁻¹(0.75) ≈ 36.87°.
What is the Pythagorean identity?
sin²θ + cos²θ = 1. It holds for every angle and is the fastest way to convert between sine and cosine.
Why does my calculator give a different answer than my textbook?
Almost always degree versus radian mode. Check the mode indicator on the display and switch to match the problem.
Can I use trigonometry to find a distance I cannot measure?
Yes, if you can measure one side and one angle of a right triangle — for example, a height and the angle to its top — you can calculate the missing distance with tangent or sine.