Trigonometric Identity Calculator

Verify and evaluate every major trig identity — basic, Pythagorean, double-angle, half-angle, sum-difference, product-to-sum, power-reduction, co-function and inverse.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

Trigonometry is built on a rich web of equalities — the trigonometric identities — that hold for every angle without exception. Where a conditional equation like sin(θ) = 0.5 has only specific solutions, an identity such as sin²θ + cos²θ = 1 is valid for every real number θ. This calculator brings all the major identity families into one place and computes them numerically so you can verify your working, spot patterns, and build intuition.

What this calculator covers

Nine identity families are available from the dropdown:

  1. Basic trig functions — sin, cos, tan, csc, sec, cot at your chosen angle.
  2. Pythagorean identitiessin²θ + cos²θ = 1 and its sec/csc variants, all confirmed simultaneously.
  3. Double-angle formulas — all four forms of sin(2θ) and cos(2θ), plus tan(2θ).
  4. Half-angle formulassin(θ/2), cos(θ/2), tan(θ/2) in both the radical form and the quotient form.
  5. Sum and differencesin(A±B), cos(A±B), tan(A±B) using two separate angles A and β.
  6. Product-to-sum — converts 2sinA cosB, 2cosA cosB, 2sinA sinB into sums of single-argument functions.
  7. Power-reduction — expresses sin²θ, cos²θ, sin³θ, cos³θ, sin⁴θ, cos⁴θ in terms of multiples of θ.
  8. Co-function identitiessin(θ) = cos(90°−θ) and the odd/even symmetry rules.
  9. Inverse trig — evaluates arcsin(sin θ), arccos(cos θ), arctan(tan θ) and related compositions.
  10. Solve for angle — given a value x and a function name, returns the principal angle θ such that fn(θ) = x.

How it works

All computation runs in your browser using JavaScript’s built-in Math.sin, Math.cos, Math.tan, Math.asin, Math.acos, and Math.atan — all operating in radians. Degree inputs are multiplied by π/180 before use. Results are rounded to 8 significant figures using parseFloat(n.toFixed(8)), which strips trailing zeros and shows only meaningful precision.

For the product-to-sum panel the calculator shows both the left-hand side (e.g. 2 sinA cosB) and the right-hand side (sin(A+B) + sin(A−B)) so you can confirm they match numerically. Any result that is mathematically undefined (e.g. tan(90°)) is displayed as “undefined” rather than Infinity.

Worked example — double-angle identities at θ = 30°

Set the unit to Degrees, select Double-Angle, and enter 30. You should see:

IdentityValue
sin(2θ) = 2sinθ cosθ0.8660254
cos(2θ) = cos²−sin²0.5
cos(2θ) = 1−2sin²0.5
cos(2θ) = 2cos²−10.5
tan(2θ) = 2tan/(1−tan²)1.7320508

All three forms of cos(60°) return exactly 0.5, confirming the identities. The value 1.7320508 for tan(60°) is √3, which you can verify: √3 ≈ 1.7320508.

Worked example — solving for an angle

Switch to Solve for Angle, choose sin, and enter 0.5. The result is 30° (π/6 radians) — the principal value. If the problem domain requires all solutions, you add 360°·n (for sine: also 150° + 360°·n) by hand.

Formula note

The identities computed here follow the SOHCAHTOA definitions of sine, cosine, and tangent on the unit circle. Angles are unrestricted real numbers; co-terminal angles (differing by multiples of 360°) yield identical trig-function values. The inverse functions return principal values only: arcsin ∈ [−90°, 90°], arccos ∈ [0°, 180°], arctan ∈ (−90°, 90°). This is standard for all calculators and programming languages.

Ad placeholder (rectangle)