Pick the tool by what you know
Triangle problems differ in which measurements are given, and each of the seven tools here fits one situation. Two legs of a right triangle go to the Right Triangle Calculator or the Pythagorean theorem calculator. All three sides go to the Triangle Calculator, which returns area, perimeter and all three angles. Two angles go to the Triangle Angle Calculator, and two sides with the angle between them go to the Triangle Side Calculator. A triangle with equal sides has the Equilateral Triangle Calculator, and one with two equal sides has the Isosceles Triangle Calculator. Naming what you know before you open a page avoids most wrong turns.
The Pythagorean theorem and right triangles
In a right triangle the square of the hypotenuse equals the sum of the squares of the two legs: c² = a² + b². The Pythagorean theorem calculator takes the legs and returns c, so legs of 5 and 12 give 13. Whole-number triples such as 3-4-5, 5-12-13 and 8-15-17 are handy for checking work, and builders use 3-4-5 to square a corner. The Right Triangle Calculator also takes the two legs and returns the hypotenuse, area and both acute angles. For legs 6 and 8 it gives hypotenuse 10, area 24, and angles of 36.87 and 53.13 degrees, with angle A opposite side a.
Three sides: Heron's formula and the law of cosines
When only the three sides are known, the Triangle Calculator computes the semi-perimeter s = (a + b + c)/2 and the area from Heron's formula, the square root of s(s − a)(s − b)(s − c). Heron of Alexandria described this method about two thousand years ago. For sides 5, 6 and 7, s is 9 and the area is √216, about 14.70. The perimeter is 18. The angles come from the law of cosines, which gives about 44.4, 57.1 and 78.5 degrees. The three sides must satisfy the triangle inequality, and a triple such as 2, 3 and 9 has no triangle.
Two sides and the angle between them
The Triangle Side Calculator handles the case with two known sides and the included angle, the angle between them. It finds the third side with the law of cosines, c² = a² + b² − 2ab cos C, and the area as half of a × b × sin C. With a = 7, b = 9 and C = 60 degrees, c² is 49 + 81 − 63 = 67, so c is about 8.185, and the area is about 27.28. When the angle is 90 degrees the cosine term vanishes and the formula becomes the Pythagorean theorem. The angle must be the one between the two sides, and entering a different angle gives a different triangle.
Angles of a triangle
The interior angles of a triangle add to 180 degrees in flat geometry. Given two, the Triangle Angle Calculator returns the third: 50 and 60 degrees leave 70. The input angles must add to less than 180, and a pair that reaches or exceeds it cannot belong to a triangle. Knowing all the angles fixes the shape but not the size, because triangles with the same angles but different scale are similar. To find sides you need at least one side length as well. Angle checks are useful for surveying and carpentry, where measuring two angles is easier than measuring the third. A right triangle shows the pattern: if one acute angle is 36.87 degrees, the other is 90 minus that, 53.13 degrees, which the Right Triangle Calculator also reports. Roof framers often set a miter saw from such an angle pair, and an error of a degree in the third angle is easy to catch by adding all three.
Equilateral triangles
An equilateral triangle has three equal sides and three 60 degree angles, so a single side length defines it. The area is √3/4 times the side squared, the height is √3/2 times the side, and the perimeter is three sides. A side of 10 gives area 43.30, height 8.66 and perimeter 30. Equilateral triangles tile a flat surface without gaps, and they are the faces of the tetrahedron, octahedron and icosahedron. The height divides the triangle into two right triangles with a 30-60-90 angle pattern, which is the quickest way to remember the √3 factor in the formulas.
Isosceles triangles
An isosceles triangle has two equal sides, called legs, and a base. The Isosceles Triangle Calculator takes the leg a and the base b. The height from the apex to the base is √(a² − b²/4), the area is half the base times that height, and the perimeter is 2a + b. For legs of 13 and a base of 10, the height is √(169 − 25) = 12, the area is 60 and the perimeter is 36. Roof gables, A-frames and many signs are isosceles. The base must be shorter than twice the leg, or the shape collapses into a line.
Right, acute and obtuse
Triangles are classified by their largest angle. A right triangle has one 90 degree angle, an acute triangle has all angles under 90, and an obtuse triangle has one over 90. You can tell from the sides: if the longest side squared equals the sum of the other two squared, the triangle is right, and if it is greater, the triangle is obtuse. Sides 5, 6 and 7 satisfy 49 < 25 + 36, so the triangle is acute, in line with the largest angle of 78.5 degrees. Knowing the type helps you pick a method and spot input errors. If you enter 6, 8 and 10 into the Triangle Calculator, the angles come out as 36.87, 53.13 and 90 degrees, confirming a right triangle with area 24. If a reported angle exceeds 90 while the sides were meant to form a right triangle, one side was entered wrongly. The check is also a good way to confirm that a measured corner is square.
Common mistakes and limits
The usual slips are entering the hypotenuse where a leg is required, using an angle that is not between the two given sides, mixing units, and giving angles in radians. The tools expect degrees. Rounding early also spoils later steps, so keep several decimals until the end. These calculators describe flat triangles with straight sides. On a sphere, such as the Earth's surface, angles add to more than 180 degrees and different formulas apply. Surveyed or measured inputs carry uncertainty, so the outputs are only as exact as the measurements behind them.
Frequently asked questions
- Which tool should I use if I know all three sides?
- The Triangle Calculator. It returns the area, perimeter and the three angles.
- What is the third angle if two are 50 and 60 degrees?
- 70 degrees, because the three angles add up to 180.
- Can three lengths always form a triangle?
- No. The sum of any two sides must be greater than the third. Sides 2, 3 and 9 cannot make a triangle.
- Does the Triangle Side Calculator need the angle between the sides?
- Yes. It uses two sides and the angle between them, the included angle, to find the third side and the area.