Sum and Difference Identities Calculator

Find sin(A ± B), cos(A ± B) and tan(A + B) from two angles with the sum and difference formulas, such as sin 75° from 45° and 30°.

Your details

°
°

Your data stays in your browser

Result

Enter angles A and B, then press “Calculate”.

Analysis and suggestions

Once calculated, this shows what your result means and suggestions based on your numbers.

Behind the result

The angle is in degrees; it may be negative or over 360°.

Example · ⁦جا(A ± B)⁩ = جا A جتا B ± جتا A جا B | ⁦جتا(A ± B)⁩ = جتا A جتا B ∓ جا A جا B

sin(45° + 30°) = 0.965926

How it is calculated

Comprehensive Calculator Guide

This sum and difference identities calculator applies the formulas for sin(A ± B), cos(A ± B) and tan(A + B) to two angles you enter and shows each substitution. From 45° and 30° it gives sin 75° ≈ 0.9659 and sin 15° ≈ 0.2588, which is how exact values are found for angles missing from the usual table.

The formulas

sin(A ± B) = sin A cos B ± cos A sin B. cos(A ± B) = cos A cos B ∓ sin A sin B, with the sign flipped: the sum takes a minus and the difference a plus.

tan(A + B) = (tan A + tan B) ÷ (1 − tan A tan B).

Why they are needed

Trig functions do not distribute over addition: sin 45° + sin 30° ≈ 1.2071 but sin 75° ≈ 0.9659. You cannot just add the sines.

The double angle, half angle and cofunction identities all follow from these.

How to Use

  1. Enter angle A in degrees.
  2. Enter angle B in degrees.
  3. Press “Calculate” to see the sine and cosine of the sum and difference and the tangent of the sum.

Formula Used

sin(A ± B) = sin A cos B ± cos A sin B | cos(A ± B) = cos A cos B ∓ sin A sin B

Practical Examples

Example 1: A = 45°, B = 30°
sin 75° = 0.7071 × 0.866 + 0.7071 × 0.5 ≈ 0.9659, sin 15° ≈ 0.2588, tan 75° ≈ 3.7321.
Example 2: A = 60°, B = 45°
cos 15° = 0.5 × 0.7071 + 0.866 × 0.7071 ≈ 0.9659, and cos 105° ≈ −0.2588.

Important Tips

  • The sine formula keeps the sign; the cosine formula flips it.
  • Split an awkward angle into two known ones, such as 75° = 45° + 30°.
  • Set B = A and you get the double angle formulas.

Common Mistakes to Avoid

  • Writing sin(A + B) = sin A + sin B.
  • Not flipping the sign in the cosine formula.
  • Swapping the order of the terms in sin(A − B).

Frequently Asked Questions

What is the formula for sin(A + B)?
sin A cos B + cos A sin B.
What is sin 75 exactly?
sin 75° = sin(45° + 30°) = (√6 + √2) ÷ 4 ≈ 0.9659.
Why does the sign flip in cos(A + B)?
Because cos(A + B) = cos A cos B − sin A sin B, which follows from rotating points on the unit circle.

Read Also

Results are estimates for educational purposes and may vary depending on your situation and data sources.