Advanced

Trig Identity Evaluator

Pick a trigonometric identity and an angle to compute each side and confirm the two are numerically equal.

Identity

Identity to verify numerically
Value of θ

Angle unit

Difference |LHS − RHS|
0

Identity verified at this angle

Verified
sin²θ + cos²θ = 1 → 1 = 1
LHS value
1
RHS value
1
Absolute difference
0
Step by step
  1. 1

    Convert to radians

    30° × π ÷ 180 = 0.523599
  2. 2

    Left-hand side (LHS)

    sin²θ + cos²θ at θ = 0.523599 = 1
  3. 3

    Right-hand side (RHS)

    1 at θ = 0.523599 = 1
  4. 4

    |LHS − RHS|

    |1 − 1| = 0
    Should be ~0 for any valid angle — floating-point residual only.
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

This tool checks a trigonometric identity by computing its left and right sides at any angle. It converts θ to radians, evaluates both expressions with the standard sine, cosine, and tangent functions, and verifies the identity when the absolute difference is below 1e-9 — typically a negligible floating-point residual.

Formula
For the selected identity, compute LHS and RHS at θ (converted to radians); verified when |LHS − RHS| < 1e-9.
How this is calculated

You choose an identity from the menu — the Pythagorean identity (sin²θ + cos²θ = 1), the tangent quotient (tan θ = sin θ / cos θ), the double-angle forms (sin 2θ = 2 sin θ cos θ and cos 2θ = cos²θ − sin²θ), or the half-angle form (sin²(θ/2) = (1 − cos θ)/2). You then enter an angle θ and select whether it is given in degrees or radians.

The calculator first converts θ to radians (multiplying degrees by π/180), because JavaScript trigonometric functions operate in radians. It then evaluates the left-hand side (LHS) and the right-hand side (RHS) of the identity independently using Math.sin, Math.cos, and Math.tan, and reports the absolute difference |LHS − RHS|. Because these are universal identities, that difference should be zero for every valid angle; in practice it is a tiny floating-point residual on the order of 1e-16, so the identity is flagged as verified whenever the difference is below the 1e-9 tolerance.

Watch for angles where a function is undefined: tan θ and the tangent quotient blow up near θ = 90° (π/2) because cos θ approaches zero, producing very large values and large floating-point error. Otherwise the residual stays negligible. The result is dimensionless — all outputs are pure ratios — and the tool is meant to demonstrate that these identities hold, not to solve for an unknown angle.

Frequently asked questions

Computers use finite floating-point arithmetic, so sin, cos, and tan carry tiny rounding errors. The leftover difference is usually around 1e-16, well within the 1e-9 verification tolerance.

At θ = 90° (π/2) cos θ is essentially zero, so both tan θ and sin θ / cos θ become enormous and lose precision. The identity still holds in theory but floating-point error grows near these poles.

Yes. Switch the angle unit to radians and the calculator skips the degree-to-radian conversion, evaluating both sides directly.

Also known as

trig identity
identity verifier
pythagorean identity
double angle identity
verify trig
trigonometric identities

APA

TG we-Calculate Editorial Team. (2026). Trig Identity Evaluator [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/trig-identity-evaluator

Chicago

TG we-Calculate Editorial Team. "Trig Identity Evaluator." TG we-Calculate. 2026. https://we-calculate.com/calculator/trig-identity-evaluator.

IEEE

TG we-Calculate Editorial Team, "Trig Identity Evaluator," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/trig-identity-evaluator

BibTeX

@misc{wecalculate_trig_identity_evaluator, title = {Trig Identity Evaluator}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/trig-identity-evaluator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?