Triangle Calculator

Triangle Solution Methods

SSS - Three sides known. Uses Law of Cosines.
SAS - Two sides and included angle. Uses Law of Cosines.
ASA - Two angles and included side. Uses Law of Sines.
AAS - Two angles and non-included side. Uses Law of Sines.
SSA - Two sides and non-included angle. May have 0, 1, or 2 solutions.

Triangle Formulas and Properties

Basic Properties

  • The sum of all angles in a triangle equals 180°
  • The sum of any two sides must be greater than the third side
  • The longest side is opposite the largest angle
  • An equilateral triangle has all sides and angles equal (60° each)

Law of Cosines

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

a² = b² + c² - 2bc·cos(A)

b² = a² + c² - 2ac·cos(B)

Use the Law of Cosines when you know three sides (SSS) or two sides and the included angle (SAS).

Law of Sines

a/sin(A) = b/sin(B) = c/sin(C)

Use the Law of Sines when you know two angles and any side (ASA, AAS) or two sides and a non-included angle (SSA).

Area Formulas

Base × Height

A = ½ × base × height

Heron's Formula

A = √(s(s-a)(s-b)(s-c))

where s = (a+b+c)/2

Two Sides + Angle

A = ½ × a × b × sin(C)

Equilateral Triangle

A = (√3/4) × side²

Types of Triangles

By Sides:

  • Equilateral: All sides equal
  • Isosceles: Two sides equal
  • Scalene: No sides equal

By Angles:

  • Acute: All angles < 90°
  • Right: One angle = 90°
  • Obtuse: One angle > 90°

Frequently Asked Questions

What is an SSA triangle calculator?

An SSA triangle calculator solves triangles when you know two sides and a non-included angle (Side-Side-Angle). This is also called the 'ambiguous case' because it may have zero, one, or two valid solutions depending on the given values.

How do I solve a triangle with SSS, SAS, ASA, or AAS?

For SSS (three sides) and SAS (two sides + included angle), use the Law of Cosines. For ASA (two angles + included side) and AAS (two angles + non-included side), use the Law of Sines. Our calculator automatically detects which method to use based on your inputs.

What is the Law of Cosines?

The Law of Cosines states: c² = a² + b² - 2ab·cos(C). It relates the lengths of a triangle's sides to the cosine of one of its angles. Use it when you know three sides (SSS) or two sides and the included angle (SAS).

How do I calculate the area of a triangle?

There are several methods: 1) Base × Height: A = ½ × base × height, 2) Heron's Formula: A = √(s(s-a)(s-b)(s-c)) where s = (a+b+c)/2, 3) Two sides + included angle: A = ½ × a × b × sin(C).