🔺 Triangle Calculator

Calculate all properties of any triangle from 3 known values (sides, angles).

🔺 Triangle Calculator

Enter any 2 values (sides a, b, or hypotenuse c).

📖
Related Guide
Solving Triangles: SSS, SAS and Right Triangle Methods
Which formula to use depending on what you already know.
Read Article →

What is the Triangle Calculator?

The Triangle Calculator solves for every missing property of a triangle — angles, sides, area, perimeter, and triangle type — from whatever three values you already know. It offers three modes: three sides (SSS, using Heron's formula and the law of cosines), two sides plus the included angle (SAS), and a dedicated right-triangle solver using the Pythagorean theorem.

How to Use It

Pick the tab that matches what you know. For SSS, enter all three side lengths. For SAS, enter two sides and the angle between them. For a right triangle, enter any two of the three values (two legs, or one leg and the hypotenuse) and leave the third blank. Click Calculate to get the full set of missing values.

When to Use It

Use it for geometry and trigonometry homework, when laying out a triangular piece of land, roof, or garden bed and you need the area or a missing side, or when checking whether three given lengths can even form a valid triangle before building or cutting material to those dimensions.

Who Benefits

Students working through trigonometry problems, surveyors and carpenters calculating angles and areas on the job, DIYers planning a triangular deck or roof section, and teachers demonstrating the law of cosines, Heron's formula, or the Pythagorean theorem all get instant, accurate results without manual formula work.

Frequently Asked Questions

The law of cosines generalizes the Pythagorean theorem to any triangle: c² = a² + b² − 2ab·cos(C). It's used to find a side when two sides and the included angle are known, or to find an angle when all three sides are known.
Use SSS when you know all three side lengths, SAS when you know two sides and the angle between them, and Right Triangle when you know the shape has a 90° angle and have any two of its three sides. Picking the mode that matches what you actually know avoids unnecessary conversion.
No. The triangle inequality theorem states that the sum of any two sides must be greater than the third side. If a=1, b=2, c=10: 1+2=3, which is not greater than 10, so no triangle is possible. The SSS mode checks this and warns you if the three lengths you entered can't form a real triangle.