◆ GEOMETRY · TRIGONOMETRY

Triangle Calculator

Enter any 3 values (sides and/or angles) to solve the complete triangle. Calculates all sides, angles, area, perimeter, heights, medians, inradius, and circumradius — with SVG diagram.

6

AREA

12

PERIMETER

Scalene

TYPE

Enter Any 3 Values

Enter at least 3 values (including at least 1 side). Leave unknown fields blank. Angles in degrees.

Quick Examples

Sides

Angles (Degrees)

Triangle Diagram

a=3b=4c=5A36.8699°B53.1301°C90°
△ Scalene · Right

Area

6

Perimeter

12

Inradius (r)

1

Circumradius (R)

2.5

Complete Triangle Solution

Side A

3

Side B

4

Side C

5

Angle A

36.8699°

Angle B

53.1301°

Angle C

90°

Area

6

Perimeter

12

Semi-Perimeter S

6

Inradius R

1

Circumradius R

2.5

Height HA

4

Height HB

3

Height HC

2.4

Median MA

4.272

Median MB

3.6056

Median MC

2.5

Type

Scalene · Right

📐 Solution Steps

  1. 1

    SSS: Law of Cosines

    cos(A) = (b²+c²-a²)/(2bc) = (16+25-9)/(2×4×5)

  2. 2

    Angle A

    A = 36.8699°

  3. 3

    Angle B

    B = 53.1301°

  4. 4

    Angle C = 180-A-B

    C = 90°

  5. 5

    Area (Heron's formula)

    s = 6 Area = √(s(s-a)(s-b)(s-c)) = 6

  6. 6

    Inradius & Circumradius

    r = Area/s = 1 R = abc/(4·Area) = 2.5

Triangle Formulas Reference

Law of Cosines

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

Use when: SAS or SSS

Law of Sines

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

Use when: AAS, ASA, SSA

Area (base × height)

A = ½ × b × h

h = height to base b

Area (two sides + included angle)

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

Two sides + the angle between them

Heron's Formula

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

s = (a+b+c)/2, all 3 sides

Inradius

r = Area / s

s = semi-perimeter

Circumradius

R = abc / (4 × Area)

Circumscribed circle

Height (HA)

hA = 2 × Area / a

Height from vertex A to side a

Solving Triangles

Every triangle has 6 measurements: 3 sides (a, b, c) and 3 angles (A, B, C), where each angle sits at the vertex opposite the side that shares its letter. To pin down a triangle completely, you don't need all 6 — any combination of 3 will do, as long as at least one of them is a side. Three angles alone (AAA) only fix the triangle's shape, since infinitely many triangles of different sizes share the same three angles; you need a side to lock in the actual scale.

When to Use Each Law

SSS (all 3 sides known): use the Law of Cosines to find each angle in turn, then check the last angle with A+B+C=180°.

SAS (2 sides + the angle between them): use the Law of Cosines to find the third side, then the Law of Sines for the remaining angles.

ASA / AAS (2 angles + 1 side): find the third angle from A+B+C=180°, then the Law of Sines to solve the other two sides.

SSA (2 sides + an angle opposite one of them): use the Law of Sines, but watch for the ambiguous case — this combination can yield 0, 1, or 2 valid triangles.

— FAQ

Frequently Asked Questions