Skip to main content
KalkuNet

Triangle Calculator: Sides, Angles, Area (Sines & Cosines)

Every side, angle, the area and the type of a triangle from SSS, SAS, ASA or AAS.

Calculated in your browserMath
Area
26.8328
Type of triangle
Acute scalene triangle
Perimeter
24
Side a
7
Side b
8
Side c
9
Angle A
48.1897 °
Angle B
58.4119 °
Angle C
73.3985 °
Height to side a
7.6665
Height to side b
6.7082
Height to side c
5.9628
Inscribed circle radius
2.2361
Circumscribed circle radius
4.6957

Working

  1. 1.cos A = (b² + c² − a²) ÷ 2bc → A = 48.1897°
  2. 2.cos B = (a² + c² − b²) ÷ 2ac → B = 58.4119°
  3. 3.C = 180° − A − B = 73.3985°

Formula and sources

Law of cosines: c² = a² + b² − 2ab·cos C Law of sines: a ÷ sin A = b ÷ sin B = c ÷ sin C = 2R A + B + C = 180°; area = ½·a·b·sin C; r = area ÷ s, s = perimeter ÷ 2 SSA: sin B = b·sin A ÷ a; if 180° − B also fits, there is a second triangle (the ambiguous case)

  • Laws of sines and cosines — secondary-school trigonometry

When to use the Triangle Solver

  • Three parts are enough

    A triangle is fixed by three parts as long as one is a side: three sides, two sides and the angle between them, or two angles and a side. A triangle with sides 7, 8 and 9 has angles of 48.19°, 58.41° and 73.40° and an area of 26.83.

  • Law of cosines for sides

    When two sides and the angle between them are known, the law of cosines gives the third side. It extends Pythagoras: at 90° the −2ab·cos C term becomes zero.

  • Law of sines for angles

    When two angles are known, the third is 180° minus both, and the law of sines gives the other sides from the one you know. Each side divided by the sine of the opposite angle is the same number.

  • Heights and circles

    It also gives the three heights and the radii of the inscribed and circumscribed circles, often needed in geometry problems and when cutting triangular pieces of material.

Frequently asked questions

How is the type decided?

By the largest angle: below 90° is acute, exactly 90° is right and above 90° is obtuse. By the sides: three equal sides make it equilateral, two equal sides isosceles, otherwise scalene.

Why were my three sides rejected?

Any two sides together must be longer than the third. Sides 2, 3 and 6 cannot form a triangle because 2 + 3 is less than 6.

Which units are used?

Any unit, as long as every side uses the same one. The area is in the square of that unit, and angles are always in degrees.

Related calculators