House of Calculator

Choose what you know about the triangle, enter the values and get every side, angle, the area and more.

Results are estimates for planning. Check the figures before you make a financial or health decision.

Embed this calculator on your website

Free to use. Copy the code and paste it into your page. Please keep the link under the calculator in place: it is how we keep the tool free.

How the triangle calculator works

The calculator solves a triangle from three known measurements. For three sides it uses the law of cosines, cos A = (b² + c² − a²) ÷ 2bc. For two angles and a side it uses the angle sum (A + B + C = 180°) and the law of sines, a ÷ sin A = b ÷ sin B = c ÷ sin C.

Once all sides are known, the area comes from Heron’s formula, √(s(s − a)(s − b)(s − c)), where s is half the perimeter.

How to use the triangle calculator

  1. You know
  2. Side a
  3. Side b
  4. Side c

The answer updates as you type, so you can change a value and see the result straight away. Every result shows the main figure first, then the detail behind it.

Worked example

Using the default values:

InputValue
You knowThree sides (SSS)
Side a7
Side b8
Side c9

Area: 26.832816

ResultValue
Side a7
Side b8
Side c9
Angle A48.189685°
Angle B58.411864°
Angle C73.39845°
Perimeter24
TypeScalene, acute
Height on side c5.962848
Inradius2.236068

Tips and common mistakes

Side a is always opposite angle A, side b opposite B and side c opposite C. Angles are in degrees.

With two sides and an angle that is not between them (SSA), a triangle may have two solutions, one or none. The calculator tells you when the numbers do not make a triangle.

Frequently asked questions

What is the minimum information needed to solve a triangle?

Three measurements, and at least one must be a side. Three angles alone only give the shape, not the size.

How is the area of a triangle found from its sides?

Use Heron's formula: with s = (a + b + c) ÷ 2, the area is the square root of s(s − a)(s − b)(s − c).

Why does the calculator say there is no triangle?

The values break a rule, such as one side being longer than the other two combined, or the angles adding to 180° or more.

Related calculators