Law of Sines Calculator (ASA and AAS)
The law of sines states a ÷ sin A = b ÷ sin B = c ÷ sin C = 2R. For A = 30°, B = 60° and a = 10, the third angle is 90°, the sides are b = 17.32 and c = 20, the area is 86.60 and the circumdiameter is 20.
Last updated · By S. Dilshan · Runs in your browser, nothing is uploaded
Step-by-Step Solution
What Is the Law of Sines?
The law of sines says that, in any triangle, the ratio of a side to the sine of its opposite angle is the same for all three sides. That common ratio is the diameter of the triangle’s circumscribed circle. It is a powerful tool because it connects sides and angles directly.
It is the natural way to solve a triangle when you know two angles and one side (AAS or ASA): you can find the third angle by subtraction (the angles add up to 180°), and then the law gives the remaining sides. It also applies when you know two sides and an angle opposite one of them (SSA), but that case is ambiguous and may produce zero, one or two triangles.
Choosing Between the Two Laws
| You know | Case | Best law |
|---|---|---|
| Two angles and any side | AAS / ASA | Law of sines |
| Two sides and the angle between them | SAS | Law of cosines |
| Three sides | SSS | Law of cosines |
| Two sides and an opposite angle | SSA | Law of sines (check for two solutions) |
Law of Sines Formulas
a,b,care the sides andA,B,Cthe opposite angles.Ris the circumradius, the radius of the circle through all three vertices. So 2R is the circumdiameter.- To find a side, multiply the known ratio by the sine of the opposite angle.
For two sides and the included angle, use the law of cosines calculator. For right triangles, see the right triangle calculator.
How Is It Calculated? Worked Examples
A = 30°, B = 60°, a = 10
- Third angle: C = 180° − 30° − 60° = 90°.
- The ratio: a ÷ sin A = 10 ÷ 0.5 = 20, so the circumdiameter is 20.
- Side b = 20 × sin 60° = 17.32.
- Side c = 20 × sin 90° = 20.
- Area = ½ × 10 × 17.32 = 86.60.
A = 40°, B = 60°, a = 10
C = 80°. The ratio is 10 ÷ sin 40° = 15.557, so b = 15.557 × sin 60° = 13.47 and c = 15.557 × sin 80° = 15.32. The area is 66.34.
The Ambiguous Case (SSA)
Suppose a = 7, b = 10 and the angle A = 30° opposite side a. Then sin B = b sin A ÷ a = 10 × 0.5 ÷ 7 = 0.7143, giving B = 45.58° or B = 134.42°. Both give valid triangles because 30° + 134.42° is still under 180°. Always check the second solution when the angle is opposite the shorter of the two given sides.
Measuring a River Width
Two points on one bank are 100 m apart, and a tree on the far bank is seen at 50° and 60° from them. The angle at the tree is 70°, so the distance to the tree is 100 × sin 50° ÷ sin 70° = 81.5 m. Surveyors use exactly this triangulation.
Sighting a Lighthouse
A ship sailing in a straight line sees a lighthouse 30° off its course, and after travelling 10 km sees it 60° off its course. The interior angle at the second sighting is 120° and the angle at the lighthouse is 30°, so the triangle is isosceles. By the law of sines the second sighting is 10 km from the lighthouse, and the ship’s closest approach is 10 × sin 60° ≈ 8.66 km.
How to Use This Law of Sines Calculator
- Enter two angles, A and B, in degrees. Their sum must be less than 180°.
- Enter the side a opposite angle A.
- Read the third angle C, sides b and c, the area and the circumdiameter.
Where the Law of Sines Is Used
- Surveying and navigation: triangulation from a measured baseline.
- Astronomy: distances to nearby stars using parallax and angles.
- Engineering: trusses and structural triangles.
- Aviation and sailing: course corrections with wind.
- Geometry and geography: finding unknown sides and areas of plots.
What Are the Most Common Mistakes With the Law of Sines Calculator (ASA and AAS)?
- Matching sides and angles wrongly. Each side pairs with its opposite angle.
- Ignoring the second solution in the SSA case. The sine is positive for angles on both sides of 90°.
- Angle sums. A + B must be below 180°.
- Using it for SAS or SSS. There is no opposite pair, so use the law of cosines.
- Calculator in radian mode. Enter degrees here.
- Rounding the ratio too early. Keep extra decimals before multiplying.
Where Can You Verify These Formulas?
The definitions and formulas on this page follow standard references. Check them against these sources:
Built and maintained by S. Dilshan. Found a mistake? Email [email protected] with the page address.
Frequently Asked Questions
What is the law of sines?
a ÷ sin A = b ÷ sin B = c ÷ sin C: each side divided by the sine of its opposite angle gives the same ratio, equal to the circumdiameter 2R.
When do I use the law of sines?
When you know two angles and a side (AAS or ASA), or two sides and an angle opposite one of them (SSA).
What is the ambiguous case?
With SSA, the given data may fit zero, one or two triangles, depending on the lengths and the angle.
How do I find the third angle?
Subtract the two known angles from 180°.
What is the circumradius?
The radius of the circle that passes through all three vertices. It equals a ÷ (2 sin A).
How do I find the area using the law of sines?
Area = ½ab sin C, or ½bc sin A, using any two sides and the angle between them.