SAS Triangle Solver — Law of Cosines, All Sides, Angles & Properties

Solve any triangle from two sides and the included angle (SAS). Computes the third side via Law of Cosines, remaining angles, area, perimeter, altitudes, medians, inradius, and circumradius.

cm
°
cm
Third Side c
6.24 cm
Law of cosines: c = √(a² + b² − 2ab·cos C) = 6.24
Area
15.16 cm²
½ × a × b × sin C = ½ × 5.00 × 7.00 × sin(60.00°)
Perimeter
18.24 cm
a + b + c = 5.00 + 7.00 + 6.24
Angle A
43.90°
Opposite side a = 5.00 cm
Angle B
76.10°
Opposite side b = 7.00 cm
Angle C (input)
60.00°
Included angle between sides a and b
Circumradius (R)
3.61 cm
abc / (4·Area) = 218.57 / 60.62
Inradius (r)
1.66 cm
Area / s = 15.16 / 9.12
Classification
Acute Scalene
Angles: Acute — Sides: Scalene

Heights (Altitudes)

Height hₐ (to a)
6.06 cm
2·Area / a = 30.31 / 5.00
Height hᵦ (to b)
4.33 cm
2·Area / b = 30.31 / 7.00
Height hᵧ (to c)
4.85 cm
2·Area / c = 30.31 / 6.24

Medians

Median mₐ
6.14 cm
½√(2b² + 2c² − a²)
Median mᵦ
4.44 cm
½√(2a² + 2c² − b²)
Median mᵧ
5.22 cm
½√(2a² + 2b² − c²)

Side Comparison

Side a (input)5.00 cm
Side b (input)7.00 cm
Side c (computed)6.24 cm

Angle Distribution

Angle A43.90°
Angle B76.10°
Angle C (input)60.00°

Reference: Common SAS Triangles

abcAreaType
560°76.2415.16Acute Scalene
1090°1014.1450Right Isosceles
390°456Right Scalene
6120°913.0823.38Obtuse Scalene
1060°101043.3Acute Equilateral
845°128.6233.94Acute Scalene

All Properties Summary

PropertyValue
Side a5.00 cm
Side b7.00 cm
Side c6.24 cm
Angle A43.90°
Angle B76.10°
Angle C60.00°
Area15.16 cm²
Perimeter18.24 cm
Semi-perimeter9.12 cm
Circumradius R3.61 cm
Inradius r1.66 cm
Height hₐ6.06 cm
Height hᵦ4.33 cm
Height hᵧ4.85 cm
Median mₐ6.14 cm
Median mᵦ4.44 cm
Median mᵧ5.22 cm
Planning notes, formulas, and examples

About the SAS Triangle Solver — Law of Cosines, All Sides, Angles & Properties

The SAS (Side-Angle-Side) triangle solver is the definitive tool for determining every property of a triangle when you know two sides and the angle between them. This configuration uniquely determines a triangle — no ambiguity, no multiple solutions — making SAS one of the most reliable input sets in triangle geometry.

The cornerstone formula is the Law of Cosines: c² = a² + b² − 2ab·cos C, which generalizes the Pythagorean theorem to non-right triangles. Once the third side c is known, the remaining angles follow from additional applications of the cosine law or from the identity A + B + C = 180°.

The area is computed directly from the SAS inputs using Area = ½ · a · b · sin C — no need to find the third side first. From the area and sides, every secondary property can be derived: the three altitudes (hₐ = 2·Area/a), the three medians (mₐ = ½√(2b²+2c²−a²)), the inradius r = Area/s (where s is the semi-perimeter), and the circumradius R = abc/(4·Area).

The calculator also classifies the triangle by angle type (acute, right, or obtuse) and side type (scalene, isosceles, or equilateral). This classification is often needed in homework, standardized tests, and engineering applications. Preset buttons let you explore everything from equilateral triangles to obtuse scalene configurations without manual entry.

SAS problems arise naturally in surveying (two measured distances and a theodolite angle), robotics (two arm segments and a joint angle), and structural engineering (brace lengths with known connection angles).

When This Page Helps

SAS is one of the most dependable triangle input sets because two sides and their included angle determine exactly one triangle. This calculator turns that strong starting point into a full geometry report: it finds the third side with the Law of Cosines, resolves the remaining angles, and then extends the work into area, altitudes, medians, inradius, circumradius, and triangle classification.

That makes it useful well beyond a single textbook answer. Students can verify every stage of a triangle problem, teachers can demonstrate how secondary properties depend on the same core inputs, and practitioners in surveying, layout, or mechanical design can confirm whether an included-angle measurement produces the expected triangle before using it elsewhere.

How to Use the Inputs

  1. Enter side a and side b with the chosen unit.
  2. Enter the included angle C between those two sides.
  3. Select degrees or radians for the angle input.
  4. Or click a preset to load a common SAS triangle.
  5. Review side c, angles A and B, area, and perimeter.
  6. Check heights, medians, circumradius, inradius, and classification.
  7. Use the bar charts to compare side lengths and angles visually.
Formula used
c = √(a² + b² − 2ab·cos C) (Law of Cosines) A = arccos((b² + c² − a²) / (2bc)) B = 180° − A − C Area = ½ × a × b × sin C R = abc / (4·Area) (circumradius) r = Area / s (inradius, s = semi-perimeter) hₐ = 2·Area / a (altitude to side a) mₐ = ½√(2b² + 2c² − a²) (median to side a)

Example Calculation

Result: c ≈ 6.24, A ≈ 44.42°, B ≈ 75.58°, Area ≈ 15.16

c = √(25 + 49 − 70·cos 60°) = √(74 − 35) = √39 ≈ 6.24. Area = ½ × 5 × 7 × sin 60° ≈ 15.16. Remaining angles via the law of cosines.

Tips & Best Practices

  • SAS always produces a unique triangle — there is never an ambiguous case (unlike SSA).
  • When C = 90°, the law of cosines reduces to the Pythagorean theorem: c² = a² + b².
  • An obtuse included angle (C > 90°) always gives c as the longest side of the triangle.
  • For equilateral triangles, set a = b and C = 60° — the calculator will confirm c = a = b.
  • The sum of any two sides must exceed the third side (triangle inequality). This calculator checks automatically.

Why SAS Produces a Unique Triangle

In SAS data, the included angle locks the two known sides into one exact configuration, so there is no ambiguous case. That is one reason geometry courses rely so heavily on this setup when introducing the Law of Cosines. Once the included angle is fixed, the third side is forced, and every other triangle property follows from that same structure. This makes SAS one of the cleanest ways to move from partial measurements to a complete solved triangle.

Connecting the Law of Cosines and Area

One of the most useful features of SAS problems is that you can compute different properties from the same input without first solving everything else. The Law of Cosines gives the missing side, while the area comes directly from $ frac12 absin C$. From there, altitudes, medians, inradius, and circumradius can all be derived. Seeing those results together helps show how one triangle can be analyzed from multiple equivalent starting points.

Practical Uses of Included-Angle Measurements

SAS measurements appear naturally when two lengths can be measured directly and the angle between them is known from an instrument or drawing. Surveying, truss layout, robotic linkages, and machine parts all produce that pattern. A dedicated SAS solver helps confirm whether the resulting triangle is acute, right, or obtuse and whether the derived lengths are reasonable before those numbers are carried into a design, report, or proof.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • c² = a² + b² − 2ab·cos C. It relates the three sides of a triangle to one of its angles. It generalizes the Pythagorean theorem (which is the special case when C = 90°).