How to find the area of a triangle with Heron's formula

Heron's formula calculates the area of a triangle using only the lengths of its three sides. It applies to any planar triangle when the side lengths are known, bypassing the need to determine an altitude.

The setup

Identify the three side lengths of the triangle, denoted as aa, bb, and cc. Ensure that the lengths satisfy the triangle inequality theorem: the sum of any two sides must be strictly greater than the third side.

The steps

  1. Calculate the semi-perimeter s=a+b+c2s = \frac{a + b + c}{2}.
  2. Subtract each side length from the semi-perimeter to find (sa)(s-a), (sb)(s-b), and (sc)(s-c).
  3. Multiply these three differences by the semi-perimeter ss.
  4. Take the square root of the product to find the area: A=s(sa)(sb)(sc)A = \sqrt{s(s-a)(s-b)(s-c)}.

Checking the result

Verify that the argument under the square root is positive. If it is zero or negative, the side lengths do not form a valid triangle. For a quick magnitude check, the calculated area must be strictly less than 12ab\frac{1}{2}ab for any two sides aa and bb.

Common errors

The most frequent error is calculating the full perimeter instead of the semi-perimeter ss. Another common mistake is omitting the initial ss term under the radical, multiplying only the three difference terms together.

Worked example

Find the exact area of a triangle with side lengths a=7a=7, b=8b=8, and c=9c=9.

Calculate the semi-perimeter: s=7+8+92=242=12s = \frac{7 + 8 + 9}{2} = \frac{24}{2} = 12

Calculate the differences from the semi-perimeter: sa=127=5s - a = 12 - 7 = 5 sb=128=4s - b = 12 - 8 = 4 sc=129=3s - c = 12 - 9 = 3

Substitute into Heron's formula: A=s(sa)(sb)(sc)A = \sqrt{s(s-a)(s-b)(s-c)} A=12(5)(4)(3)A = \sqrt{12(5)(4)(3)}

Evaluate the product: A=12(60)A = \sqrt{12(60)} A=720A = \sqrt{720}

Simplify the radical: A=144imes5A = \sqrt{144 imes 5} A=125A = 12\sqrt{5}

FAQ

Run your own problem

References: OpenStax Precalculus, Chapter 8 · Khan Academy, High School Geometry: Right triangles & trigonometry · Geometry by Harold R. Jacobs

See also