Triangle Calculator

Calculate all properties of a triangle including sides, angles, area, perimeter, and heights. Select a solving method based on the values you know, enter them, and get complete triangle calculations.

Select Solving Method
SSS
SAS
ASA
AAS
SSA
SSS: Enter all three sides (a, b, c)
Scalene Triangle
Side a
-
Side b
-
Side c
-
Angle A
-
Angle B
-
Angle C
-
Area
-
Perimeter
-
Height (to a)
-
Height (to b)
-

How to Use This Triangle Calculator

This comprehensive triangle calculator solves any triangle when you provide enough information. Select a solving method based on what measurements you know, then enter your values:

Understanding the Methods (S = Side, A = Angle):

After entering your values, click Calculate Triangle. The calculator displays all sides, angles, area, perimeter, and heights. Click any result box to copy that value to your clipboard.

What is a Triangle?

A triangle is a polygon formed by three straight sides connecting three vertices (corner points). It is the simplest polygon and the only one that is always rigid when its side lengths are fixed. This rigidity is why triangles appear throughout architecture, engineering, and structural design.

Every triangle has several fundamental properties. The sum of interior angles always equals exactly 180 degrees. No side can be longer than the sum of the other two sides (the triangle inequality). The longest side is always opposite the largest angle, and the shortest side is opposite the smallest angle.

Classification by Sides:

Classification by Angles:

Triangles are fundamental to trigonometry (which literally means "triangle measurement"), surveying, navigation, computer graphics, physics, and countless engineering applications.

Triangle Formulas and Laws

Law of Cosines:

c^2 = a^2 + b^2 - 2ab * cos(C)

This formula generalizes the Pythagorean theorem to any triangle. It relates one side to the other two sides and the included angle. Use it when you know two sides and the included angle (SAS) or all three sides (SSS).

Law of Sines:

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

This powerful relationship states that the ratio of any side to the sine of its opposite angle is constant for all three side-angle pairs in a triangle. Use it for ASA, AAS, and SSA problems.

Area Formulas:

Area = 0.5 * base * height (basic formula)

Area = 0.5 * a * b * sin(C) (when you know two sides and included angle)

Area = sqrt(s * (s-a) * (s-b) * (s-c)) (Heron's formula, where s = (a+b+c)/2)

Height Formula:

h_a = 2 * Area / a

The height (altitude) to any side can be calculated once you know the area. The height to side a equals twice the area divided by the length of side a.

Triangle Inequality Theorem: The sum of any two sides must be greater than the third side. If a + b is less than or equal to c, no triangle can be formed with those measurements.