Skip to content
Calculator Trigonometri
Calculator Trigonometri

Law of Tangents Calculator

Solve applicable triangle measurements using tangent relationships.

Oblique Triangles & Laws

Interactive Law of Tangents Calculator

Result
0.70710678

sin(45°) = 0.70710678

How Law of Tangents Calculator Works?

The Law of Tangents Calculator works by relating the difference and sum of 2 sides to the tangents of half the difference and half the sum of their opposite angles.

  1. Enter 2 sides a and b. With the included angle C, or with both opposite angles.
  2. Compute (A + B)/2. Equals (180° − C)/2.
  3. Solve for (A − B)/2. tan((A − B)/2) = ((a − b)/(a + b))·tan((A + B)/2).
  4. Recover A and B. A = half-sum + half-difference, B = half-sum − half-difference.

Law of Tangents Calculator Formula

The Law of Tangents states (a − b)/(a + b) = tan((A − B)/2) / tan((A + B)/2).

Law of Tangents: (a − b)/(a + b) = tan(½(A − B)) / tan(½(A + B))
Half-sum: ½(A + B) = 90° − ½C
Half-difference: tan(½(A − B)) = ((a − b)/(a + b))·cot(½C)

Worked Example

a = 9, b = 5, C = 50°. Half-sum = 65°. tan(½(A − B)) = (4/14)·tan 65° ≈ 0.6127, half-difference ≈ 31.50°. A ≈ 96.50°, B ≈ 33.50°.

Law of Tangents Calculator Conversion Table

The Law of Tangents conversion table solves angles A and B for 7 SAS inputs.

abC½(A + B)½(A − B)AB
9550°65°31.5°96.5°33.5°
7460°60°25.28°85.28°34.72°
10645°67.5°31.11°98.61°36.39°
12830°75°36.74°111.74°38.26°
5390°45°14.04°59.04°30.96°
87100°40°3.2°43.2°36.8°
15970°55°19.65°74.65°35.35°

What is Law of Tangents Calculator?

A Law of Tangents Calculator is a tool that solves SAS triangles for the 2 unknown angles with tangent relationships instead of the Law of Cosines.

The Law of Tangents was popular before electronic calculators, since it works with logarithm tables and avoids subtracting large squares. The Persian astronomer Nasir al-Din al-Tusi described it in the 13th century.

The law gives better numerical accuracy than arccos when the included angle is very small.

What are the uses of Law of Tangents Calculator?

There are 3 main uses of a Law of Tangents Calculator.

  • SAS triangles: Find both unknown angles without computing the third side first.
  • Historical methods: Study how navigators solved triangles with log tables.
  • Precision checks: Cross-check Law of Cosines results for thin triangles.

Related Oblique Triangles & Laws

View all 182 tools →