ShadeKit.ioLoading…

Triangle Calculator

Solve sides, angles, area and perimeter from three sides, two sides with their included angle, or one side with two angles.

Calculator arithmetic runs locally in your browser and does not require an API.

The interactive calculator loads here when JavaScript is enabled.

How to use Triangle Calculator

Select SSS, SAS or ASA/AAS. Keep side units consistent and enter angles in degrees. Side a is opposite A, b opposite B and c opposite C; in SAS, C lies between sides a and b.

Formula and method

SSS uses Heron’s area relation with s = (a+b+c)/2. SAS uses c² = a²+b²−2ab cos(C). ASA/AAS uses C = 180°−A−B and a/sin(A) = b/sin(B) = c/sin(C).

Understanding the results

Each pair of sides must sum to more than the third, and angles must leave a positive third angle. Perimeter uses length units; area uses squared units. Invalid or degenerate triangles are rejected; ambiguous SSA is unsupported.

Worked example

In SSS mode, sides 3, 4 and 5 give perimeter 12 and area 6 square units. The angle opposite side 5 is 90°, making this a right triangle.

Results use the values and assumptions you enter. Keep measurement units consistent.

Frequently asked questions

Can I solve two sides and a non-included angle?

No. That is the potentially ambiguous SSA case, which this tool does not support.

What unit is the area in?

The square of your chosen side unit; meters entered consistently give square meters.

Why are sides 1, 2 and 3 invalid?

The shorter sides sum exactly to the longest, so the shape is degenerate rather than a valid triangle.