Skip to content

A CLEARER WAY TO WORK IT OUT

Triangle Calculator

A sketch rarely gives you every side and angle at once. This calculator starts with a supported combination of measurements and fills in the remaining sides, angles, area and perimeter.

A sketch rarely gives you every side and angle at once. This calculator starts with a supported combination of measurements and fills in the remaining sides, angles, area and perimeter.

Your result will appear here.

Your calculation runs in this browser. After changing a value, select Calculate to update the answer.

Your inputs stay in this browser. Change a value, then calculate again to update the result.

How to use the triangle calculator

The selected mode describes which measurements are known, such as three sides or two sides and their included angle. The letters in the fields keep sides paired with their opposite angles. All side lengths should use the same unit.

Write the known measurements on a sketch before selecting a mode. For side-angle-side, the supplied angle belongs between the two known sides. A side length in metres and another in centimetres must be converted before calculation. The solved triangle provides a consistency check: its angles should sum to 180 degrees, and each side must be shorter than the sum of the other two.

What the result tells you

A triangle with sides 3, 4 and 5 has perimeter 12 and area 6 square units. Its right angle is opposite the longest side. Match each result label to the side or angle it describes.

A calculation you can check

A 3–4–5 triangle has area 6 and perimeter 12. Its angle opposite side 5 is 90 degrees.

Try it in the calculator ↑

Formula and calculation method

SSS uses the cosine rule and a stable form of Heron’s area formula. SAS first finds the third side with c²=a²+b²−2ab cos(C). ASA uses the sine rule after finding the remaining angle.

Check the assumptions

In ASA mode, the entered side lies between the two entered angles. Two sides and a non-included angle can give more than one solution; that SSA case is not supported here. Extremely flat or impossible triangles may be rejected.

Positive finite side lengths only, strict triangle inequality, angles between 0 and 180 degrees. Extremely flat triangles can be numerically unstable and may be rejected. Ambiguous SSA inputs are not supported.

Frequently asked questions

Why do some side lengths fail?

Three positive numbers do not always form a triangle. If the longest side is at least the sum of the other two, the proposed shape is flat or impossible.

What unit is the area in?

It is the square of your side-length unit. Sides entered in metres give square metres; sides entered in centimetres give square centimetres.

Something looks wrong? Send the calculator name and a non-sensitive example so the issue can be checked.