SAS Triangle Calculator

SAS Triangle Calculator

Emerging AI Skill PRO

Enter Calculation

Formula

c=a2+b2−2abcos⁡(C)c = \sqrt{\text{a}^{2} + \text{b}^{2} - 2\,\text{a}\,\text{b}\cos\!\left(\text{C}\right)}
Show calculation steps (2)
  1. Area

    Area=12absin⁡(C)\text{Area} = \tfrac{1}{2}\,\text{a}\,\text{b}\,\sin\!\left(\text{C}\right)

    Area of the triangle from two sides and the included angle.

  2. Remaining Angles & Perimeter

    A=cos−1(b2+c2−a22bc)B=180∘−C−AP=a+b+c\begin{gathered} A = \cos^{-1}\!\left(\frac{\text{b}^{2} + c^{2} - \text{a}^{2}}{2\,\text{b}\,c}\right) \\[1em] B = 180^{\circ} - \text{C} - A \\[1em] P = \text{a} + \text{b} + c \end{gathered}

    Angle A via law of cosines, angle B from the 180 degree sum, and perimeter P.

Usage stats

Advertisement

Results

Third Side (c)
6.245
opposite the included angle C
Area 15.1554
Angle A (°) 43.9
Angle B (°) 76.1
Perimeter 18.245

Report an error on this page

What is the SAS Triangle Calculator?

SAS stands for "Side-Angle-Side" — a triangle case where you know the lengths of two sides and the measure of the angle between them (the included angle). This calculator completes the triangle: it finds the third side, the triangle's area, the two remaining angles, and the perimeter. Because the included angle locks the shape, an SAS triangle is always uniquely solvable.

Triangle with two known sides a and b and the included angle C between them, with unknown side c opposite
SAS setup: two sides a and b with the included angle C between them, solving for side c.

How to use it

Enter side a, side b, and the included angle C (in degrees, between 0 and 180). The angle C must sit between sides a and b. Press calculate to get the opposite side c along with area and the other angles.

The formula explained

The third side comes from the Law of Cosines: $$c = \sqrt{\text{a}^{2} + \text{b}^{2} - 2\,\text{a}\,\text{b}\cos\!\left(\text{C}\right)}$$ When C = 90°, \(\cos \text{C} = 0\) and this reduces to the Pythagorean theorem. The area uses the SAS area formula: $$\text{Area} = \tfrac{1}{2}\,\text{a}\,\text{b}\,\sin\!\left(\text{C}\right)$$ Once c is known, angle A is recovered with \(\cos A = \dfrac{\text{b}^{2} + c^{2} - \text{a}^{2}}{2\,\text{b}\,c}\), and angle B is whatever remains so the angles total 180°.

Advertisement
Triangle showing Law of Cosines relationship between sides a, b, c and included angle C
The Law of Cosines uses sides a, b and angle C to find side c.

Worked example

Suppose a = 5, b = 7, and C = 60°. Then $$c = \sqrt{25 + 49 - 2\cdot5\cdot7\cdot\cos 60^{\circ}} = \sqrt{74 - 70\cdot0.5} = \sqrt{39} \approx 6.245$$ The area is \(\tfrac{1}{2}\cdot5\cdot7\cdot\sin 60^{\circ} = 17.5\cdot0.8660 \approx 15.155\) square units. Angle A ≈ 43.9° and angle B ≈ 76.1°.

FAQ

What if the angle is exactly 90°? The formula becomes the Pythagorean theorem, \(c = \sqrt{\text{a}^{2} + \text{b}^{2}}\).

Can the angle be 0 or 180°? No — those collapse the triangle into a line and give zero area, so use values strictly between 0 and 180.

Which side is "c"? Side c is always the one opposite the angle you entered (C), i.e. the side not adjacent to that angle.

Last updated:

Most popular in Math and Statistics

View all Math and Statistics calculators