Trigonometry
Advanced

Tangent of a Sum

Angle addition formula for tangent.

Formula

tan⁡(A+B)=tan⁡A+tan⁡B1−tan⁡Atan⁡B\tan(A+B) = \frac{\tan A + \tan B}{1 - \tan A\tan B}

Variables

A,BAngles

How it works

This identity tells you how to compute the tangent of a combined angle from the tangents of two separate angles. It comes from writing tan as sin/cos, using the sine and cosine addition formulas for A+B, and then simplifying the resulting fraction. The denominator 1 - tan A tan B is important because it shows the formula breaks down whenever the combined angle is 90° plus an integer multiple of 180°, where tangent is undefined.

When to use it

Use this when you know tan A and tan B separately but need tan(A+B) without first finding the angles themselves. It is especially useful in trigonometric proofs, exact-value calculations, and simplifying expressions in calculus, physics, and engineering.

Worked example, step by step

Find tan(15° + 30°). Step 1: Identify the values: tan 15° = 2 - \sqrt{3}, tan 30° = 1/\sqrt{3}. Step 2: Substitute into the formula: tan(15° + 30°) = [tan 15° + tan 30°] / [1 - (tan 15°)(tan 30°)] Step 3: Plug in the numbers: = [(2 - \sqrt{3}) + 1/\sqrt{3}] / [1 - (2 - \sqrt{3})(1/\sqrt{3})] Step 4: Simplify the numerator: 2 - \sqrt{3} + 1/\sqrt{3} = 2 - 2/\sqrt{3} Step 5: Simplify the denominator: 1 - (2/\sqrt{3} - 1) = 2 - 2/\sqrt{3} Step 6: Divide: tan(45°) = (2 - 2/\sqrt{3}) / (2 - 2/\sqrt{3}) = 1 Final answer: tan(45°) = 1.

Common mistakes to avoid

  • Using plus in the denominator instead of 1 - tan A tan B
  • Forgetting that tangent is undefined when the denominator becomes 0
  • Mixing up the formula for tangent sum with the formulas for sine or cosine addition

Did You Know?

The tangent addition formula is the trick behind combining two slopes into the angle between two lines.

Share this formula

Reviewed & maintained by the FormulaWon editorial teamLast reviewed September 2026