Trigonometry Calculator: Sin Cos Tan & Right Triangles | Calcrio
Home › Calculators › Trigonometry Calculator
Free • Browser-Based • No Sign-In

Trigonometry Calculator — Sin, Cos, Tan & Right Triangles

Find sin, cos and tan from an angle or from a triangle's sides, find the angle from a ratio with inverse trig, and solve any right triangle — with every step shown. The classic trap: if sin θ = 3/5, then tan θ = 3/4, not 4/5 — because the adjacent side is 4 (from 3² + 4² = 5²), so tan θ = opposite/adjacent = 3/4.

Method: SOH-CAH-TOA, Pythagoras (a² + b² = c²), inverse trig (arcsin, arccos, arctan), and the sin²θ + cos²θ = 1 identity. Results depend only on the values you enter.
Math Tool

Trigonometry Calculator: Angle, Sides, Inverse & Solver

Pick the mode that matches what you already know. Calculations run in your browser.

Enter the angle — e.g. 30°. Angles are in degrees, not radians.
Tap a preset to load an example.
The side across from angle θ — e.g. 3.
The side next to θ (not the hypotenuse) — e.g. 4.
Tap a preset to load an example.
Which ratio do you know — sin, cos or tan?
Enter the ratio — e.g. 0.5 for arcsin. Sin/cos ratios must be between −1 and 1.
Tap a preset to load an example.
The longest side — e.g. 10. Required.
One acute angle — e.g. 30°. Fill this OR one side below.
Leave blank unless you know the opposite side instead of the angle.
Leave blank unless you know the adjacent side instead of the angle.
Tap a preset to load an example.
—
—
—
—
—
—
—
—
—
—
—
—
Enter values and press Calculate.
AI Citation Quick Answer

What Is a Trigonometry Calculator?

Quick Answer: A trigonometry calculator finds sin, cos and tan from an angle or from a triangle's sides, finds the angle from a ratio with inverse trig, and solves right triangles. For example, if sin θ = 3/5 with opposite 3 and hypotenuse 5, the adjacent side is 4, so cos θ = 4/5 and tan θ = 3/4 — not 4/5.

A trigonometry calculator answers the three questions students ask most: what are sin, cos and tan of this angle? What is sin, cos or tan of this triangle? And what angle gives this ratio? Give it an angle and it returns the ratios — sin 30° = 0.5, tan 45° = 1. Give it a triangle's sides and it returns the ratios and the angle — opposite 3, hypotenuse 5 gives sin θ = 3/5 = 0.6 and θ = 36.87°. Give it a ratio and inverse trig returns the angle — arcsin(0.5) = 30°. Every answer comes with the step-by-step working so you can verify it by hand — including the famous trap: if sin θ = 3/5, tan θ is 3/4, not 4/5.

How to Use the Trigonometry Calculator

The tool has four modes so you can start with whatever you already know.

Trig From an AngleEnter an angle in degrees — e.g. 30° → sin 0.5, cos 0.8660, tan 0.5774.
Trig From SidesEnter the opposite and adjacent sides — e.g. 3 and 4 → hypotenuse 5, sin 0.6, cos 0.8, tan 0.75, angle 36.87°.
Inverse TrigEnter a ratio and pick the function — e.g. arcsin(0.5) → 30°; arctan(1) → 45°.
Right-Triangle SolverEnter the hypotenuse and one angle or side — e.g. hypotenuse 10, angle 30° → opposite 5, adjacent 8.6603, other angle 60°.
  1. Choose a mode that matches your problem (or tap a preset to load a worked example).
  2. Enter your numbers — angles in degrees, sides in any unit.
  3. Select Calculate to generate the result cards.
  4. Read the note under the cards for the step-by-step working and a check you can verify by hand.

The built-in check re-derives the answer a second way — the hypotenuse from Pythagoras against the ratio, or sin²θ + cos²θ = 1 — so a wrong keystroke shows up immediately.

What Is Trigonometry?

Trigonometry is the study of the relationships between the angles and sides of triangles — the word comes from the Greek for "triangle measurement". Its three core functions, sine (sin), cosine (cos) and tangent (tan), are ratios of a right triangle's sides, and they are the same for every triangle that shares the same angle. That is the whole power of the subject: measure the angle once, and you know the ratios for every triangle with that angle.

sin θ = opposite/hypotenuse   |   cos θ = adjacent/hypotenuse   |   tan θ = opposite/adjacent = sin θ/cos θ
FunctionRatioMemory hookExample (3-4-5, θ = 36.87°)
Sine (sin)opposite / hypotenuseSOHsin θ = 3/5 = 0.6
Cosine (cos)adjacent / hypotenuseCAHcos θ = 4/5 = 0.8
Tangent (tan)opposite / adjacentTOAtan θ = 3/4 = 0.75
Cosecant (csc)1 / sin θhypotenuse / oppositecsc θ = 5/3 = 1.6667
Secant (sec)1 / cos θhypotenuse / adjacentsec θ = 5/4 = 1.25
Cotangent (cot)1 / tan θadjacent / oppositecot θ = 4/3 = 1.3333
Key idea: In a right triangle, the hypotenuse is always the longest side, opposite the 90° angle. The opposite side is the one across from the angle θ you are working with, and the adjacent side is the one next to θ that is not the hypotenuse. Swap which angle you call θ and opposite and adjacent swap too — but the hypotenuse never changes.

SOH-CAH-TOA — The One Memory Trick

SOH-CAH-TOA packs all three definitions into one word: Sin = Opposite/Hypotenuse, Cos = Adjacent/Hypotenuse, Tan = Opposite/Adjacent. Say it out loud while you label the triangle — opposite, adjacent, hypotenuse — and the formula writes itself. For the 3-4-5 triangle with θ opposite the side 3: sin θ = 3/5 = 0.6, cos θ = 4/5 = 0.8, tan θ = 3/4 = 0.75.

The Special Angles: 0°, 30°, 45°, 60°, 90°

Five angles appear in almost every textbook problem, and their sin, cos and tan values are worth knowing by heart. They all come from two triangles: the 30-60-90 triangle (half an equilateral triangle) and the 45-45-90 triangle (half a square).

Anglesincostan
0°010
30°1/2 = 0.5√3/2 = 0.86601/√3 = 0.5774
45°√2/2 = 0.7071√2/2 = 0.70711
60°√3/2 = 0.86601/2 = 0.5√3 = 1.7321
90°10undefined
Key idea: Notice the symmetry — sin 30° = cos 60° = 0.5, and sin 60° = cos 30° = 0.8660. That is the co-function rule: sin θ = cos(90° − θ). And tan 45° = 1 because at 45° the opposite and adjacent sides are equal.

Inverse Trig — Finding the Angle From a Ratio

Inverse trig runs the functions backwards: arcsin, arccos and arctan take a ratio and return the angle. If sin θ = 0.5, then θ = arcsin(0.5) = 30°. If tan θ = 1, then θ = arctan(1) = 45°. If cos θ = 0.5, then θ = arccos(0.5) = 60°. The catch is the range: arcsin and arccos only accept ratios between −1 and 1 (a ratio of sides can never be bigger than 1 for sin and cos), while arctan accepts any number. Enter arcsin(2) and the calculator rejects it — no angle has a sine of 2.

Trigonometry Calculator Worked Examples

Every row below is computed exactly — hand-verified in Python — so you can check each one by hand.

TaskWorkingAnswer
sin 30°Opposite/hypotenuse in a 30-60-90 triangle0.5
cos 30°√3/20.8660
tan 30°1/√30.5774
sin 45° = cos 45°√2/20.7071
tan 45°Opposite = adjacent1
sin 60°√3/20.8660
cos 60°1/20.5
tan 60°√31.7321
3-4-5: sin θ3/50.6
3-4-5: cos θ4/50.8
3-4-5: tan θ3/4 — NOT 4/50.75
3-4-5: angle θarcsin(3/5) = arctan(3/4)36.87°
arcsin(0.5)The angle whose sine is 0.530°
arccos(0.5)The angle whose cosine is 0.560°
arctan(1)The angle whose tangent is 145°
Hyp 10, angle 30°: opposite10 × sin 30° = 10 × 0.55
Hyp 10, angle 30°: adjacent10 × cos 30° = 10 × 0.86608.6603
5-12-13: sin θ5/130.3846
5-12-13: angle θarcsin(5/13)22.62°
8-15-17: angle θarcsin(8/17)28.07°

The 3-4-5 Trap: Why tan θ Is 3/4, Not 4/5

The trap is reading sin θ = 3/5 and guessing tan θ = 4/5 — swapping the numbers without thinking. Tangent is opposite over adjacent, not opposite over hypotenuse. With opposite 3 and hypotenuse 5, Pythagoras finds the missing side first: adjacent² = 5² − 3² = 25 − 9 = 16, so adjacent = 4. Then tan θ = 3/4 = 0.75. The check: sin²θ + cos²θ = 0.6² + 0.8² = 0.36 + 0.64 = 1 — the identity holds, so the sides are right.

The 30-60-90 shortcut: In a 30-60-90 triangle the sides are in the ratio 1 : √3 : 2. With hypotenuse 10, the short leg (opposite 30°) is 5 and the long leg is 5√3 = 8.6603 — exactly what the right-triangle solver returns for hypotenuse 10 and angle 30°.

The Ladder Problem: A Real-World Right Triangle

A 10-foot ladder leans against a wall at 70° to the ground. How high does it reach? The ladder is the hypotenuse (10), the height is the opposite side: height = 10 × sin 70° = 10 × 0.9397 = 9.3969 ft. The foot of the ladder sits 10 × cos 70° = 10 × 0.3420 = 3.4202 ft from the wall. Check: 9.3969² + 3.4202² = 88.30 + 11.70 = 100 = 10² — Pythagoras confirms it.

How to Find Sin, Cos and Tan Step by Step

Follow this recipe for the classic example — sin θ = 3/5, find tan θ.

sin θ = 3/5   |   cos θ = 4/5   |   tan θ = 3/4
  1. Label the triangle: Opposite the angle θ is 3, the hypotenuse is 5. The third side is the adjacent side — unknown yet.
  2. Find the adjacent side with Pythagoras: adjacent² = hypotenuse² − opposite² = 5² − 3² = 25 − 9 = 16, so adjacent = 4.
  3. Write sin θ: sin θ = opposite/hypotenuse = 3/5 = 0.6.
  4. Write cos θ: cos θ = adjacent/hypotenuse = 4/5 = 0.8.
  5. Write tan θ: tan θ = opposite/adjacent = 3/4 = 0.75 — not 4/5.
  6. Check with the identity: sin²θ + cos²θ = 0.6² + 0.8² = 0.36 + 0.64 = 1 ✓. And find the angle if you need it: θ = arcsin(0.6) = 36.87°.
The shortcut habit: whenever you see sin θ = 3/5, think "3-4-5" immediately — the missing side is 4, the angle is 36.87°, and tan θ is 3/4. The same reflex works for 5-12-13 (angle 22.62°) and 8-15-17 (angle 28.07°).

Common Mistakes With Trigonometry

1. Saying tan θ = 4/5 when sin θ = 3/5 — the #1 trap

Tangent is opposite over adjacent, not opposite over hypotenuse. With opposite 3 and hypotenuse 5, the adjacent side is 4 (Pythagoras: 5² − 3² = 16), so tan θ = 3/4 = 0.75. The number 4/5 is cos θ — mixing up tan and cos is exactly the trap.

2. Labelling opposite and adjacent from the wrong angle

Opposite and adjacent are defined relative to the angle θ you are working with. In a 3-4-5 triangle, if θ sits opposite the side 3, then opposite = 3 and adjacent = 4. If you switch to the other acute angle (53.13°), opposite and adjacent swap: sin becomes 4/5 and cos becomes 3/5. Always label the triangle for the angle in your question first.

3. Using the hypotenuse as the adjacent side

The adjacent side is the leg next to θ — the hypotenuse is never the adjacent side and never the opposite side. In tan θ = opposite/adjacent, neither number is ever the hypotenuse. If your tan comes out using 5 in a 3-4-5 triangle, you have used the wrong side.

4. Degrees vs radians

Most calculators and code default to radians. sin(30°) = 0.5, but sin(30 radians) = −0.9880. If your answer looks nothing like the table above, check the angle mode first — this calculator works in degrees throughout.

5. Taking arcsin of a number bigger than 1

sin θ and cos θ can never be bigger than 1, so arcsin(2) and arccos(1.5) have no answer. If your ratio comes out above 1, the sides are mislabelled — usually the hypotenuse was entered as the opposite side. Arctan has no such limit: any number works.

6. Forgetting tan 90° is undefined

tan 90° = sin 90°/cos 90° = 1/0 — division by zero, so it is undefined, not 0 and not 1. The same goes for any angle where cos θ = 0. If your calculator shows an enormous number (like 1.6 × 10¹⁶), that is its way of saying "undefined".

Benefits and Limitations

Four ways inAngle, sides, ratio or a right triangle — start from whatever the problem gives you.
Two-route checkPythagoras cross-checks the sides, and sin²θ + cos²θ = 1 cross-checks the ratios.
Teaches the trapThe sin θ = 3/5 → tan θ = 3/4 (not 4/5) lesson is built into the examples and the tool.

Benefits

  • Finds sin, cos and tan from an angle, from sides, or from a ratio — all in one tool.
  • Inverse trig (arcsin, arccos, arctan) returns the angle in degrees, with range checks that reject impossible ratios.
  • The right-triangle solver finds every missing side and angle from the hypotenuse plus one angle or one side.
  • Every answer carries the step-by-step working — SOH-CAH-TOA, Pythagoras, the identity check — so homework can be checked by hand.
  • The special-angle table (0°, 30°, 45°, 60°, 90°) is explained, not just listed.
  • Responsive on phones, tablets and desktops.

Limitations

  • Right triangles only for the solver — non-right triangles need the law of sines and cosines (see the Triangle Calculator).
  • Angles are in degrees only; radians are not accepted.
  • Results use JavaScript floating-point arithmetic, so ratios and angles are rounded to 4 decimal places.
AI Search & Featured Snippet Section

Quick Definitions

QuestionDirect Answer
What is a trigonometry calculator?A tool that finds sin, cos and tan from an angle or a triangle's sides, finds the angle from a ratio with inverse trig, and solves right triangles. sin 30° = 0.5, tan 45° = 1.
What is sin, cos and tan?Ratios of a right triangle's sides: sin θ = opposite/hypotenuse, cos θ = adjacent/hypotenuse, tan θ = opposite/adjacent. For 3-4-5: 0.6, 0.8 and 0.75.
What is SOH-CAH-TOA?The memory trick for the three ratios: Sin = Opposite/Hypotenuse, Cos = Adjacent/Hypotenuse, Tan = Opposite/Adjacent.
If sin θ = 3/5, what is tan θ?3/4 = 0.75 — not 4/5. The adjacent side is 4 (5² − 3² = 16), so tan θ = opposite/adjacent = 3/4.
What is sin 30°?0.5 — exactly 1/2. Cos 30° = 0.8660 and tan 30° = 0.5774.
What is tan 45°?1 — at 45° the opposite and adjacent sides are equal, so opposite/adjacent = 1. Sin 45° = cos 45° = 0.7071.
What is inverse trig?Arcsin, arccos and arctan turn a ratio back into an angle: arcsin(0.5) = 30°, arctan(1) = 45°, arccos(0.5) = 60°.
What is sin²θ + cos²θ?Always 1, for any angle θ. For 3-4-5: 0.6² + 0.8² = 0.36 + 0.64 = 1.
FAQ

Frequently Asked Questions

If sin θ = 3/5, what is tan θ?

3/4 = 0.75 — not 4/5. Tangent is opposite over adjacent. With opposite 3 and hypotenuse 5, Pythagoras gives the adjacent side: 5² − 3² = 16, so adjacent = 4, and tan θ = 3/4. The number 4/5 is cos θ.

What is sin 30°?

0.5 — exactly 1/2. In a 30-60-90 triangle the side opposite 30° is half the hypotenuse. Cos 30° = √3/2 = 0.8660 and tan 30° = 1/√3 = 0.5774.

What is tan 45°?

1. At 45° the opposite and adjacent sides of the right triangle are equal, so tan 45° = opposite/adjacent = 1. Sin 45° and cos 45° are both √2/2 = 0.7071.

How do you find the angle when you know sin θ?

Use arcsin (inverse sine). If sin θ = 0.5, then θ = arcsin(0.5) = 30°. If sin θ = 0.6 (the 3-4-5 triangle), θ = arcsin(0.6) = 36.87°. The ratio must be between −1 and 1, or there is no angle.

How do you find a missing side of a right triangle?

Multiply the hypotenuse by sin or cos of the angle. With hypotenuse 10 and angle 30°, the opposite side is 10 × sin 30° = 5 and the adjacent side is 10 × cos 30° = 8.6603. Or use Pythagoras if you know two sides: the missing side is √(hypotenuse² − known side²).

What is the difference between sin, cos and tan?

They are three different ratios of the same triangle. Sin θ = opposite/hypotenuse, cos θ = adjacent/hypotenuse, tan θ = opposite/adjacent — and tan θ = sin θ/cos θ. For the 3-4-5 triangle: sin θ = 0.6, cos θ = 0.8, tan θ = 0.75.

Internal Linking

Related Math Tools

Pythagorean Theorem CalculatorThe missing side in every trig problem comes from a² + b² = c² — find it in one step.
Triangle CalculatorNon-right triangles need the law of sines and cosines — solve any triangle by SSS, SAS or ASA/AAS.
Slope CalculatorA slope is the tangent of the angle a line makes — the same opposite/adjacent ratio on a graph.
Square Root CalculatorSpecial angles are square roots — check √3/2 = 0.8660 and √2/2 = 0.7071 here.
Exponent CalculatorPythagoras squares the sides — practise the powers behind a² + b² = c².
Ratio CalculatorSin, cos and tan are ratios — scale a 3-4-5 triangle up or down and the ratios stay the same.
Methodology

Trigonometry Calculator Methodology

This calculator derives every answer from the standard trigonometry definitions, using JavaScript floating-point arithmetic (ratios and angles rounded to 4 decimal places).

sin θ = opposite/hypotenuse   |   cos θ = adjacent/hypotenuse   |   tan θ = opposite/adjacent = sin θ/cos θ
Pythagoras: hypotenuse² = opposite² + adjacent²
Inverse trig: θ = arcsin(ratio), arccos(ratio) or arctan(ratio), in degrees
Identity: sin²θ + cos²θ = 1

Trig-from-angle mode evaluates sin, cos and tan directly from the angle in degrees (tan 90° is reported as undefined, since cos 90° = 0). Trig-from-sides mode finds the hypotenuse with Pythagoras from the two legs, then all three ratios and the angle with arctan(opposite/adjacent). Inverse-trig mode rejects sin/cos ratios outside [−1, 1] before computing, since no angle has a sine or cosine beyond that range. The right-triangle solver takes the hypotenuse plus one angle or one side, finds the missing sides with sin/cos or Pythagoras, and the other acute angle as 90° minus the known angle. Every result carries the identity check sin²θ + cos²θ = 1 and a Pythagoras cross-check of the three sides. Inputs must be positive sides and angles strictly between 0° and 90° in the solver; anything else is rejected before any calculation. The page is intended as an educational calculator and verification tool.

Trust note: Every ratio is computed two independent ways — directly from the sides and from the angle — and checked against sin²θ + cos²θ = 1, so a wrong keystroke shows up immediately. The 3-4-5 tangent is stated in the correct direction throughout: 3/4, not 4/5.
References

Mathematical References

Solve It, Don't Guess It

Enter your angle or triangle above — find sin, cos and tan, or the angle itself, with every step shown.

Use Trigonometry Calculator
Scroll to Top