Triangle Calculator

Calculate triangle area (Heron's formula), perimeter, all angles, and triangle type from three sides.

Length of side a.

Length of side b.

Length of side c.

AI Financial Assistant

Beta

Ask questions about your calculation results

I can help you understand your results and explore your options. Try asking:

3 free questions per session

AI provides general information, not financial advice. Always consult a qualified professional.

Heron's Formula for Triangle Area

Heron's formula calculates area from three sides without needing the height. First find the semi-perimeter s = (a+b+c)/2, then Area = √(s(s-a)(s-b)(s-c)). For example, a 3-4-5 triangle: s = 6, Area = √(6×3×2×1) = √36 = 6 square units.

Triangle Types by Sides and Angles

By sides: equilateral (all equal), isosceles (two equal), scalene (all different). By angles: acute (all angles < 90°), right (one angle = 90°), obtuse (one angle > 90°). You can determine the type from the sides using the Pythagorean relationship: if a² + b² = c², it is a right triangle.

Finding Angles from Sides

Using the law of cosines: cos(A) = (b² + c² - a²) / (2bc). This gives you angle A opposite to side a. Repeat for each angle. The angles must sum to 180°. This calculator computes all three angles automatically from the three sides you enter.

Triangle Inequality Theorem

The triangle inequality states that the sum of any two sides must be greater than the third side: a + b > c, a + c > b, b + c > a. If any of these conditions fails, the three lengths cannot form a valid triangle. The calculator checks this automatically.

Frequently Asked Questions