△ Triangle Calculator (Solve Any Triangle)

Give any three measurements (at least one side) and get the rest of the triangle.

No ratings yet — be the first

Enter details

Log in or create a free account to save your inputs and results, so you don't have to enter them again next time.🔒 No spam, ever. We never sell or share your details, and you can delete your history or account at any time. Privacy policy

Fill in the details and click Calculate to see your results.

Formula at a glance

Triangle Solver: Law of sines — a/sin A = b/sin B = c/sin C. Example: SAS: a = 5, b = 7, C = 60° → Sides: a = 5, b = 7, c = 6.244998
How the Triangle Solver works: Law of sines — a/sin A = b/sin B = c/sin C

Rate this calculator

Was it useful? A quick star rating helps others — and you can leave a comment too.
Rate it: ★ ★ ★ ★ ★

📘 About the Triangle Calculator

Every triangle is fixed by three of its six measurements, as long as one is a side. The law of cosines handles three sides (SSS) and two sides with the angle between them (SAS); the law of sines handles two angles and a side (ASA, AAS) and the ambiguous case of two sides and an angle not between them (SSA), which can have two different triangles.

Fill in any three boxes. The calculator chooses the method, finds the missing sides and angles (both triangles in the ambiguous case), and gives the area, perimeter, the type (scalene, isosceles, right-angled, obtuse …), the three heights and the inradius and circumradius.

🧮 Formula

Law of sines
a/sin A = b/sin B = c/sin C
Law of cosines
c² = a² + b² − 2ab·cos C
Area
½·ab·sin C = √(s(s − a)(s − b)(s − c))

✏️ Worked examples

SAS: a = 5, b = 7, C = 60°

You enter
Side a5
Side b7
Angle C (opposite c)60 °
You get
Sidesa = 5, b = 7, c = 6.244998
AnglesA = 43.89789°, B = 76.10211°, C = 60°
Area · perimeter15.155445 · 18.244998
TypeScalene, acute
Heights (to a, b, c)6.06218, 4.33013, 4.85363
Inradius · circumradius1.66133 · 3.60555
MethodSAS — law of cosines

a = 5, b = 7, c = 6.244998.

SSA ambiguous case

You enter
Side a10
Side b15
Angle A (opposite a)30 °
You get
Triangle 1: Sidesa = 10, b = 15, c = 19.60476
Triangle 1: AnglesA = 30°, B = 48.59038°, C = 101.4096°
Triangle 1: Area · perimeter73.517848 · 44.604759
TypeScalene, obtuse
Heights (to a, b, c)14.7036, 9.80238, 7.5
Inradius · circumradius3.29641 · 10
MethodSSA — law of sines (ambiguous case)
Triangle 2: Sidesa = 10, b = 15, c = 6.376003
Triangle 2: AnglesA = 30°, B = 131.4096°, C = 18.59038°
Triangle 2: Area · perimeter23.91001 · 31.376003

a = 10, b = 15, c = 19.60476.

🧭 How to use this calculator

What you enter

  • Side a
  • Side b
  • Side c
  • Angle A (opposite a) (°)
  • Angle B (opposite b) (°)
  • Angle C (opposite c) (°)

What you get

  • Sides
  • Angles
  • Area · perimeter
  • Type
  • Heights (to a, b, c)
  • Inradius · circumradius
  • Method

❓ Frequently asked questions

When is a triangle ambiguous?

With two sides and an angle opposite one of them (SSA). If the side opposite the angle is shorter than the other side but long enough, two triangles fit.

How do I find an angle from three sides?

Use the law of cosines: cos A = (b² + c² − a²)/(2bc).

Which side is a?

Side a is opposite angle A, b opposite B and c opposite C.