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.
- Enter 2 sides a and b. With the included angle C, or with both opposite angles.
- Compute (A + B)/2. Equals (180° − C)/2.
- Solve for (A − B)/2. tan((A − B)/2) = ((a − b)/(a + b))·tan((A + B)/2).
- 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).
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.
| a | b | C | ½(A + B) | ½(A − B) | A | B |
|---|---|---|---|---|---|---|
| 9 | 5 | 50° | 65° | 31.5° | 96.5° | 33.5° |
| 7 | 4 | 60° | 60° | 25.28° | 85.28° | 34.72° |
| 10 | 6 | 45° | 67.5° | 31.11° | 98.61° | 36.39° |
| 12 | 8 | 30° | 75° | 36.74° | 111.74° | 38.26° |
| 5 | 3 | 90° | 45° | 14.04° | 59.04° | 30.96° |
| 8 | 7 | 100° | 40° | 3.2° | 43.2° | 36.8° |
| 15 | 9 | 70° | 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.