Triangle Calculator
Triangle Calculator calculates a triangle's area (Heron's formula), perimeter and interior angles (law of cosines) from three side lengths, flagging invalid combinations using the triangle inequality. Besides three sides it also solves from two sides + the included angle (SAS), two angles + a side (ASA / AAS) and two sides + an opposite angle (SSA, showing both solutions).
How it works
- 1Enter the three side lengths (a, b, c).
- 2The area, perimeter and three interior angles are calculated instantly.
- 3If the sides violate the triangle inequality (one side is equal to or larger than the sum of the other two), the tool flags it as invalid.
- 4The three angles should always sum to 180°, you can cross-check the result against that.
Frequently asked questions
What is the triangle inequality?−+
The sum of any two sides must be greater than the third side; otherwise the given lengths can't form a triangle.
What is Heron's formula for?−+
It computes a triangle's area from just the three side lengths, without needing any angle information.
How are the angles calculated?−+
The law of cosines (c² = a² + b² - 2ab·cosC) is solved for each angle in turn.
How do I know if it's a right triangle?−+
If one of the computed angles is close to 90° (within rounding), it's a right triangle; you can also check a² + b² = c² directly.
What other values can I solve from besides the sides?−+
Pick the case with the buttons above: SSS, SAS, ASA, AAS or SSA. In SSA two different triangles sometimes exist and both are shown. For all six values on one screen use the Triangle Solver tool.
Embed on your site
<iframe src="https://toolsqube.com/en/math/triangle-calculator/embed" width="480" height="360" style="border:0;border-radius:14px" title="Triangle Calculator · ToolsQube" loading="lazy"> </iframe>
Want to go deeper on this topic: Math Tools Guide →