Skip to content
Contania

Triangle Calculator

Enter the three side lengths of a triangle to find its perimeter and area, and to classify it by its sides and by its angles. The sides must satisfy the triangle inequality.

Your numbers

Result

Area
6
square units
Perimeter
12
By sides
Scalene
By angles
Right triangle
Triangle
ItemValue
Sides3, 4, 5
Perimeter12
Area (Heron)6
By sidesscalene
By anglesright
Advertisement

Area from three sides

With all three sides known, Heron’s formula gives the area. Let s be half the perimeter; then area = √[s(s-a)(s-b)(s-c)]. For sides 3, 4, 5: s = 6, and the area is √[6·3·2·1] = 6. The 3-4-5 triangle is also a right triangle.

Types of triangle

By sides: all three equal is equilateral, exactly two equal is isosceles, none equal is scalene. By angles: comparing the longest side to the other two (via c² vs a² + b²) tells you whether it is right (equal), acute (c² smaller) or obtuse (c² larger).

Frequently asked questions

Sources

  • Geometry — Heron’s formula and triangle classification

Embed this calculator

Copy the code and paste it into your site or blog. Credit with a link back to Contania is included, and the height adjusts itself.

<iframe src="https://contania.app/embed/math/triangle" title="Triangle Calculator — area, perimeter and type" width="100%" height="720" loading="lazy" style="border:1px solid #e5e0d8;border-radius:12px;max-width:640px"></iframe>
<script>window.addEventListener("message",function(e){if(e.data&&e.data.type==="contania:embed-height"){var f=document.querySelector('iframe[src="https://contania.app/embed/math/triangle"]');if(f){f.style.height=e.data.height+"px"}}});</script>

Related calculators