SpecEnvoy
EN·中文

Sin, Cos & Tan

Three words that scare a lot of people — but each one is just a ratio of two sides in a right-angled triangle. Let's make them move.

The right-triangle idea: SOH-CAH-TOA

Pick one of the non-right angles in a right-angled triangle and call it θ ("theta"). The three sides get names relative to θ:

sin θ = oppositehypotenuse (SOH)
cos θ = adjacenthypotenuse (CAH)
tan θ = oppositeadjacent (TOA)

Say it out loud a few times — "soh-cah-toa" — and you'll never lose which is which.

Now see it on the unit circle

Here's the trick that ties everything together. Draw a circle of radius 1 (a "unit circle"). Put a point on it and spin it around by angle θ. Then the point's coordinates are exactly cos θ, sin θ — cosine is how far across, sine is how far up.

Drag the dot 🔵

Things to notice as you drag:

Some angles worth memorising

θsincostan
010
30°0.50.8660.577
45°0.7070.7071
60°0.8660.51.732
90°10

Tap the snap buttons in the demo (30°, 45°, 60°…) to land exactly on these and check.

Where sine waves come from

Keep spinning the point steadily and just watch its height over time. That height — the sine — rises, falls, goes negative, and repeats. Plot it and you get the famous sine wave. Press play:

Circle → wave ▶

The dashed line connects the spinning point to the wave — they're always at the same height, because they're the same number: sin θ. This is why trig describes anything that repeats: sound, light, springs, tides, even your heartbeat on a monitor. Tick "Show cosine wave" to see cos doing the same thing, just a quarter-turn ahead.

A quick word on radians: instead of 360° for a full turn, mathematicians often measure angles by how far you travel around a unit circle — a full turn is . The demo shows both. They're just two units for the same thing, like cm and inches.
Ready to use this to solve real triangles? Try the Sine Rule and the Cosine Rule.