Saved

Press the star next to a tool's name to save it.

All my tools

3 Sides Triangle Area Calculator

Use this triangle calculator to find the sides, angles, area and other measures of a triangle from three sides, two sides and an angle, or two angles and a side.

Restored your last values ·

°
°
°

Choose which values you know. Side a is opposite angle A, side b is opposite angle B and side c is opposite angle C. In the SSA case, angle A is opposite side a. For an isosceles triangle, a is each of the two equal sides and b is the base.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Choose what you know about the triangle, fill in the boxes, then press Solve the triangle.

See full result

A triangle calculator finds the missing sides, angles, area and other measures of a triangle from the values that you know. Choose the case, such as three sides, two sides and the angle between them, or two angles and a side, enter the numbers, and the calculator gives the full triangle: the three sides, the three angles, the area, the perimeter, the heights, the inradius and the circumradius, and the type of the triangle. It uses the methods on Wikipedia's pages on the solution of triangles and on Heron's formula, and it runs in your browser.

How to use the triangle calculator

  1. Choose what you know from the list: SSS, SAS, ASA, AAS, SSA, an equilateral or isosceles triangle, three angles, or the base from the area and the height.
  2. Fill in the boxes that appear. Side a is opposite angle A, and so on.
  3. Press Solve the triangle.
  4. Read the sides, angles, area and the other results.

The cases that can be solved

The Wikipedia page on the solution of triangles lists the cases: three sides (SSS), two sides and the angle between them (SAS), two angles and the side between them (ASA), two angles and a side that is not between them (AAS), and two sides and an angle that is not between them (SSA), which is the ambiguous case. The page notes that at least one side must be given, since three angles only fix the shape. The calculator follows these cases, and it also handles the special shapes of equilateral and isosceles triangles.

The law of cosines and the law of sines

The page gives the law of cosines as a squared equals b squared plus c squared minus two b c times the cosine of A, and the same for the other sides. It gives the law of sines as a divided by the sine of A equals b divided by the sine of B equals c divided by the sine of C. The angles of a triangle add up to 180 degrees. For three sides, the page advises finding the angles with the law of cosines, since the sine does not say whether an angle is acute or obtuse. For two sides and the angle between them, the third side comes from the law of cosines, and for two angles and a side the other sides come from the law of sines.

The ambiguous SSA case

With two sides and an angle that is not between them, the page explains that there can be no triangle, one triangle or two. The test is the sine of the second angle, which is the side b times the sine of A divided by the side a. If it is above 1, no triangle exists. If it is exactly 1, the triangle has a right angle. If it is below 1 and the side that is opposite the known angle is at least as long as the other side, there is one triangle. Otherwise there are two, with the second angle equal to 180 degrees minus the first. The calculator gives the first solution in full and shows the second one in a line of its own.

Area, with Heron's formula

Heron's formula gives the area from the three sides alone. With s as half the perimeter, the area is the square root of s times s minus a, times s minus b, times s minus c. The Wikipedia page gives an example with sides 4, 13 and 15, where s is 16 and the area is 24. A well-known example is the triangle with sides 13, 14 and 15, which has an area of 84. The calculator uses a numerically stable form of the same formula, which sorts the sides first, so that the result stays accurate even for a very thin triangle.

Other measures

From the area and the sides the calculator also works out the heights, using the area times 2 divided by the side, the inradius, which is the area divided by the semi-perimeter, and the circumradius, which is the product of the three sides divided by four times the area. For a triangle with sides 3, 4 and 5 the area is 6, the inradius is 1 and the circumradius is 2.5, which is half the longest side, as it is for every right triangle. These last two relations are standard results, and they are not taken from the pages that we cite.

Types of triangle

A triangle is equilateral when all three sides are equal, isosceles when two are equal, and scalene when none are equal. By its angles, it is acute when all angles are below 90 degrees, right when one angle is 90 degrees, and obtuse when one angle is above 90 degrees. The calculator tells you both types. It decides right, acute and obtuse by comparing the square of the longest side with the sum of the squares of the other two, which is the Pythagorean test, and so it answers the question of whether a triangle is a right triangle.

Base from the area and the height

The area of a triangle is half the base times the height. If you know the area and the height, the base is twice the area divided by the height. A triangle with an area of 24 and a height of 6 has a base of 8. The calculator has this case in the list, so that you can find the base of a triangle without the other values.

Common mistakes

  • Mixing up a side and its opposite angle. Side a is opposite angle A.
  • Using radians. The angles are in degrees.
  • Breaking the triangle inequality. Each side must be shorter than the other two added together.
  • Forgetting the second SSA triangle. Check both.

What next

Use this often? Add 3 Sides Tria to your Home screen.

Frequently asked questions

What is a triangle calculator?

A tool that finds the missing sides, angles, area and other measures of a triangle from the values that you know.

How do you find the area from three sides?

With Heron's formula: area = √(s(s − a)(s − b)(s − c)), where s is half the perimeter. For sides 13, 14 and 15 the area is 84.

What is the ambiguous case?

Two sides and an angle that is not between them (SSA) can give no triangle, one triangle or two triangles. The calculator shows both when there are two.

How do you tell whether a triangle is right, acute or obtuse?

Compare the square of the longest side with the sum of the squares of the other two. Equal means right, smaller means acute and larger means obtuse.

Can three angles give the sides?

No. Three angles give only the shape of the triangle. You need at least one side to find its size.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Math Tools