Triangle Calculator
Calculate area, angles, heights, perimeter, inradius, and circumradius of any triangle from three sides.
Inputs
Results
Area
17.32
Heron's formula for the area of a triangle
- 1.Find the semi-perimeter
Heron's formula is built around half the perimeter rather than the whole thing, so this is the one quantity every later term is measured against.
- 2.Multiply the four terms and take the square root
Each bracket measures how far one side falls short of the semi-perimeter. Their product grows when the sides are balanced and shrinks toward zero as the triangle flattens, which is why the square root of it is an area.
Heron of Alexandria set out this formula with a worked proof in his Metrica, deriving a triangle's area from its three sides alone — no angle and no height required.
How to Use This Calculator
- Enter all three side lengths (a, b, c) of your triangle; the sides must satisfy the triangle inequality (each side < sum of the other two).
- Area is computed using Heron's formula: A = √(s(s−a)(s−b)(s−c)) where s = (a+b+c)/2, so no height is needed.
- All three interior angles are derived from the law of cosines: cos(C) = (a²+b²−c²)/(2ab).
- The triangle is automatically classified as equilateral, isosceles, scalene, right, acute, or obtuse.
- Inradius (r = Area/s) and Circumradius (R = abc/(4×Area)) are also shown for advanced geometry.
- The height from side a (Height from A) is computed as h = 2×Area / a.
What each input means
- Side a
- Length of side A.
- Side b
- Length of side B.
- Side c
- Length of side C.
How this is calculated
Formula
A = √(s(s-a)(s-b)(s-c)) where s = (a+b+c)/2Worked example, using the default values
- Identify Input ParametersSide a = 5, Side b = 7, Side c = 8 = 3 input(s) provided
- Calculate AreaArea17.3205 = 17.3205
- Calculate PerimeterPerimeter20 = 20
- Calculate Triangle TypeScalene Acute = Scalene Acute
Engine last updated .
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Area Calculator
Calculate the area and perimeter of common shapes — rectangle, circle, triangle, trapezoid, and ellipse.
Geometry & MeasurementPythagorean Theorem Calculator
Find the missing side of a right triangle using the Pythagorean theorem. Calculate area, perimeter, and angles.
Geometry & Measurement2D Shape Master Calculator
Complete 2D geometry calculator for all common shapes — rectangles, squares, circles, triangles, ellipses, parallelograms, rhombuses, trapezoids, and regular polygons. Calculate area, perimeter, angles, and more.
Math & StatisticsQuadratic Formula Solver
Solve a quadratic equation ax² + bx + c = 0 for its real roots.
More in Math & Statistics.