Everyday utility

Triangle Calculator

Enter three side lengths to verify triangle validity and calculate area, perimeter, interior angles, and type.

Last reviewed May 18, 2026 by ToolSpilo Editorial Team.

Review method: Reviewed against the implemented triangle-validity checks and Heron examples, displayed formulas, and worked examples.

Calculator tool

How this calculator works

Use the explanation to understand the formula, assumptions, and practical limits behind the calculator result.

Three Sides Can Describe One Triangle

Before doing any geometry, the calculator checks whether the three sides can really form a triangle. Every pair of sides must add to more than the third side.

A Simple Check

Sides 3, 4, 5 form a valid triangle because every pair passes the rule. Sides 2, 3, 5 do not, because 2+3=52 + 3 = 5 instead of being greater than 5.

How Area Is Found

Once the sides are valid, the calculator uses Heron's formula:

A=s(sa)(sb)(sc)A = \sqrt{s(s-a)(s-b)(s-c)}

where s=(a+b+c)/2s = (a+b+c)/2 is the semiperimeter.

How to Read the Result

Equal sides produce equilateral or isosceles labels, while three different side lengths produce scalene. The calculator also derives the angles, which helps show whether the triangle is acute, right, or obtuse.

Frequently asked questions

What is the triangle inequality?

For a real triangle, the sum of any two sides must be greater than the third side.

What does Heron's formula need?

It needs all three side lengths and the semiperimeter. No separate height input is required.

How does the calculator classify the triangle?

Three equal sides make an equilateral triangle, two equal sides make an isosceles triangle, and three different sides make a scalene triangle.

How does it know whether the triangle is right?

After calculating the angles, it checks whether one angle is effectively 90 degrees within a small tolerance.