Skip to main content

Sin, Cos, Tan Without the Panic: A Trigonometry Calculator Guide

A practical walk through sin, cos, tan and their inverses, SOH-CAH-TOA, degrees vs radians, and solving right triangles, including a worked angle-of-elevation height problem.

Published By Li Lei
#trigonometry #sin cos tan #right triangle #math #calculator

Sin, Cos, Tan Without the Panic: A Trigonometry Calculator Guide

Most people meet trigonometry as three buttons on a calculator they don't trust and three function names they can't keep straight. The fix is not memorising more. It's understanding what each function actually returns, knowing when to use degrees and when to use radians, and having a tool that shows its work instead of handing you a lonely decimal. This guide does the first two; the Trigonometry Calculator does the third.

What sin, cos and tan actually mean

Start with a right triangle. Pick one of the two non-right angles and call it θ. The three sides now have names relative to θ: the hypotenuse is the long side opposite the right angle, the opposite is the side across from θ, and the adjacent is the remaining side that touches θ.

The three core functions are just ratios of those sides. The mnemonic everyone learns is SOH-CAH-TOA, and it is worth burning into memory because it is exactly correct:

  • SOH — sin θ = opposite / hypotenuse
  • CAH — cos θ = adjacent / hypotenuse
  • TOA — tan θ = opposite / adjacent

That's the whole foundation. sin and cos are each a side divided by the hypotenuse, so they live between −1 and 1. tan is one leg divided by the other, so it has no upper bound and runs off to infinity as θ approaches 90°. There are three reciprocals too — cosecant (1/sin), secant (1/cos) and cotangent (1/tan) — but if you own SOH-CAH-TOA, those come for free.

The inverse functions: going from a ratio back to an angle

sin, cos and tan take an angle and give you a ratio. The inverse functions go the other way: you have a ratio, you want the angle. They are written asin (or sin⁻¹), acos and atan.

So if you know a triangle's opposite side is 3 and its hypotenuse is 6, then sin θ = 3/6 = 0.5, and asin(0.5) = 30°. The catch that costs students marks is that the inverse functions only ever return one angle — the principal value. But sin(30°) and sin(150°) both equal 0.5. On the unit circle those are two genuinely different positions. When you solve an equation like sin(x) = 0.5 you usually want every solution in [0, 2π), and a bare asin hides the second one. This is why the calculator's "all solutions" panel exists: it returns both 30° and 150°, then appends the +360°k general form that exams ask for.

Degrees versus radians, and why answers flip

A degree splits a full circle into 360 parts. A radian measures the same angle by arc length on a unit circle, so a full circle is 2π ≈ 6.283 radians, and a right angle is 90° = π/2 radians. Same angle, different name.

This is the single most common source of a wrong trig answer. Type 30 into a calculator set to radians and you do not get 0.5 — you get sin(30 radians) ≈ −0.988, because 30 radians is almost five full turns around the circle. School and most physics-with-degrees work uses degrees; calculus uses radians because derivatives only come out clean there. The rule is dull but absolute: glance at the DEG / RAD / GRAD setting before you type the angle. The calculator highlights the active mode the first time you compute precisely because this is where so many sessions go quietly wrong.

Worked example: how tall is that building?

Here is the problem trig was practically invented for. You're standing 50 metres from the base of a building. You measure the angle from the ground up to the roofline — the angle of elevation — as 32°. How tall is the building?

Draw the right triangle. Your line of sight is the hypotenuse, the 50 m of ground is the adjacent side, and the building's height is the opposite side. You know the adjacent and you want the opposite, so the ratio that connects them is tangent:

tan(θ) = opposite / adjacent
tan(32°) = height / 50
height = 50 × tan(32°)
height = 50 × 0.6249
height ≈ 31.2 metres

That's it. tan(32°) ≈ 0.6249, multiply by the 50 m you walked, and the building is about 31.2 metres tall. Notice the function choice was forced by which sides you had: adjacent and opposite point you to tangent every time. If instead you'd known the hypotenuse (the straight-line distance to the roof) and wanted the height, you'd reach for sine. The same logic solves flagpole shadows, ramp gradients, ladder reach and the height of a tree you can't climb.

The first time this clicked for me was a ladder problem rather than a building. I had a 4 m ladder leaning at 70° and wanted the reach up the wall. I wrote sin(70°) × 4 = 3.76 m, then second-guessed whether it should have been cos. Typing it into a tool that printed the formula sin(70°) × 4 next to the answer was what settled it: opposite side, angle to the ground, hypotenuse known — sine. Seeing the equation spelled out, not just the number, is the difference between copying a result and actually knowing why it's right.

Solving a right triangle from one angle and one side

The building example generalises into a clean recipe. Given one acute angle and any one side, every other part of a right triangle is recoverable:

  1. Label the side you have as opposite, adjacent or hypotenuse relative to the known angle.
  2. Pick the function that links the side you have to the side you want (SOH-CAH-TOA tells you which).
  3. The third angle is just 90° minus your known angle, because the angles of any triangle sum to 180°.
  4. Rearrange to isolate the unknown — divide by the function value if the unknown is in the denominator, multiply if it's the result of the function.

Work through that on paper a few times and the function choice stops feeling like a guess. If you're dealing with non-right triangles, where the law of sines and law of cosines take over, the dedicated Triangle Calculator handles those cases and shows which law applies.

A few habits that prevent silent errors

Trig mistakes are rarely about the math being hard. They're about small slips that produce a confident, wrong number. Three guardrails:

  • Mode first, angle second. The DEG/RAD/GRAD pill is the most expensive setting on the page to ignore.
  • Don't trust an inverse function to give every answer. asin, acos and atan return one branch; reach for the all-solutions view when an equation is involved.
  • Sanity-check against the boundaries. sin and cos can never exceed 1, tan(90°) is undefined, and sin(0°) = 0 — if a result violates one of these, something upstream is wrong, often the angle mode.

Trigonometry rewards understanding over memorisation. Learn what the three ratios mean, respect the angle unit, and let a calculator that exposes the formula carry the arithmetic. The functions stop being mysterious buttons and start being exactly what they are: side ratios that turn an angle into a length, and a length back into an angle.


Made by Toolora · Updated 2026-06-13