Skip to main content

Heron's Formula Calculator

Calculate triangle area from three sides using Heron's formula.

Reviewed for accuracy by the Math Ora X team Last updated

Result

About Heron's Formula Calculator

Heron's formula calculates triangle area using only the three side lengths, without needing to know any angles.

$$A = \sqrt{s(s-a)(s-b)(s-c)}, \quad s = \frac{a+b+c}{2}$$

How to use this calculator

  1. Enter the three side lengths of the triangle as \(a\), \(b\), and \(c\).
  2. Check that the side lengths can actually form a triangle.
  3. Find the semiperimeter with \(s = \frac{a+b+c}{2}\).
  4. Compute the area using \(A = \sqrt{s(s-a)(s-b)(s-c)}\).

The formula explained

The formula computes the area of any triangle from its three side lengths. The quantity \(s\) is the semiperimeter, which is half of the triangle's perimeter.

  • A = area of the triangle
  • a = length of one side
  • b = length of the second side
  • c = length of the third side
  • s = semiperimeter, or half the perimeter

Step by step method

  1. Add the three side lengths and divide by 2 to get the semiperimeter.
  2. Subtract each side length from \(s\).
  3. Multiply \(s(s-a)(s-b)(s-c)\), then take the square root to find the area.

Worked example

Problem. Find the area of a triangle with side lengths 5 cm, 6 cm, and 7 cm.

  1. Compute the semiperimeter: \(s = \frac{5+6+7}{2} = 9\).
  2. Substitute into Heron's formula: \(A = \sqrt{9(9-5)(9-6)(9-7)} = \sqrt{9\cdot4\cdot3\cdot2}\).
  3. Simplify: \(A = \sqrt{216} \approx 14.7\), so the area is about \(14.7\text{ cm}^2\).

Answer. \(14.7\text{ cm}^2\)

Tips and common mistakes

  • Make sure the side lengths satisfy the triangle inequality, because the calculator only works for real triangles.
  • Keep your units consistent, and remember that area is always in square units like \(\text{cm}^2\) or \(\text{m}^2\).

Frequently asked questions

How do I use Heron's formula to find the area from three side lengths?+

Enter the three side lengths of the triangle as a, b, and c. The calculator first finds the semiperimeter s = (a + b + c) / 2, then uses A = sqrt(s(s - a)(s - b)(s - c)) to compute the area.

What does the semiperimeter s mean in Heron's formula?+

The semiperimeter is half of the triangle's perimeter, so s = (a + b + c) / 2. It is used in the formula because it makes the area calculation possible when you only know the three sides.

What if the three side lengths do not form a triangle?+

If one side is too long, so that a + b <= c or one of the other triangle inequality checks fails, no triangle can be formed. In that case Heron's formula will not give a real area, because the expression under the square root becomes negative or zero in an invalid way.

Can you show how Heron's formula works with an example?+

For sides 3, 4, and 5, the semiperimeter is s = 6. Then the area is sqrt(6(6 - 3)(6 - 4)(6 - 5)) = sqrt(36) = 6 square units.

How is Heron's formula different from using base times height?+

Base times height needs you to know the height of the triangle, while Heron's formula only needs the three side lengths. It is especially useful for scalene triangles when the height is not given or is hard to find.

Facebook Twitter WhatsApp