Intermediate

SAS Triangle Calculator — Side-Angle-Side

Enter two side lengths (a and b) and the angle C between them. The calculator uses the Law of Cosines to find the third side c, then solves all three angles and computes the area and perimeter.
First side adjacent to angle C
Second side adjacent to angle C

°

The angle between sides a and b (must be between 0° and 180°)
Side c (opposite angle C)
8.1854

Third side found by the Law of Cosines: c = √(a² + b² − 2ab·cos C)

Angle A
47.7837 °
Angle B
72.2163 °
Area
27.2798
Perimeter
24.1854
Height to c
6.6655
C = 60°
a = 7b = 9c = 8.19
SAS triangle — two sides and the included angle
Step by step
  1. 1

    Angle C in radians

    60 × π ÷ 180 = 1.047198
  2. 2

    c² = a² + b² − 2ab·cos(C)

    7² + 9² − 2 × 7 × 9 × cos(1.047198) = 67
    Law of Cosines — gives the squared length of the side opposite the included angle.
  3. 3

    Side c = √(c²)

    √(67) = 8.1854
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

Given sides a, b and included angle C: find c = √(a² + b² − 2ab·cos C) by the Law of Cosines; recover A = arccos((b² + c² − a²)/2bc); get B = 180° − A − C; compute Area = ½ab·sin C and Perimeter = a + b + c. No ambiguous case — SAS uniquely determines the triangle.

Formula
c = √(a² + b² − 2ab·cos C) • A = arccos((b² + c² − a²) / 2bc) • B = 180° − A − C • Area = ½·a·b·sin C
How this is calculated

The SAS (Side-Angle-Side) configuration is one of the standard triangle congruence cases: knowing two sides and the angle between them uniquely determines the triangle (no ambiguous case). The third side c is found directly by the Law of Cosines: c² = a² + b² − 2ab·cos(C). Unlike the Law of Sines, this formula works even when C is obtuse.

Once c is known, angle A is recovered by applying the Law of Cosines a second time — solving for cos(A) = (b² + c² − a²) / (2bc) and taking the arccosine. This approach is preferred over the Law of Sines for the second angle because arccosine always returns a unique value in [0°, 180°], avoiding the ambiguous case where sin gives two possible angles. Angle B then follows from B = 180° − A − C.

The area is computed directly from the SAS inputs without needing c: Area = ½·a·b·sin(C). The height shown is the altitude from vertex C to the opposite side c, equal to 2·Area / c. All trigonometric functions use exact floating-point arithmetic in radians; results are displayed to four decimal places.

Frequently asked questions

SAS (Side-Angle-Side) means you know two sides of a triangle and the angle that sits between them (the "included" angle). This is sufficient to uniquely determine the triangle — unlike SSA, SAS has no ambiguous case. The third side is found by the Law of Cosines.

Yes. The Law of Cosines handles any angle between 0° and 180°. When C > 90°, cos(C) is negative, so c² = a² + b² − 2ab·cos(C) gives a value larger than a² + b², which is correct — the side opposite an obtuse angle is always the longest side.

The SAS area formula Area = ½·a·b·sin(C) derives from the general definition of area as half the product of two sides times the sine of the included angle. This is exact and requires no intermediate calculation of the third side.

Also known as

sas triangle calculator
side angle side triangle
law of cosines find missing side
triangle two sides included angle
sas triangle area
triangle solver sas method
find third side of triangle

APA

TG we-Calculate Editorial Team. (2026). SAS Triangle Calculator — Side-Angle-Side [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/sas-triangle-calculator

Chicago

TG we-Calculate Editorial Team. "SAS Triangle Calculator — Side-Angle-Side." TG we-Calculate. 2026. https://we-calculate.com/calculator/sas-triangle-calculator.

IEEE

TG we-Calculate Editorial Team, "SAS Triangle Calculator — Side-Angle-Side," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/sas-triangle-calculator

BibTeX

@misc{wecalculate_sas_triangle_calculator, title = {SAS Triangle Calculator — Side-Angle-Side}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/sas-triangle-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?