How To Calculate the Area of a Triangle Using Heron's Formula

Learn to calculate the area of a triangle with Heron's Formula, given the lengths of its three sides

Heron's Formula. Calculate the area of a triangle


  • Heron's Formula

  • When you are given the lengths of the three sides of a triangle, you can apply a very useful formula for calculating the area of ​​the triangle, called Heron's Formula. Area of the triangle can be calculated as a product of factors:

  • Area2 = s × (s - a) × (s - b) × (s - c)
  • Where:
  • a, b and c are the lengths of the three sides of the triangle
  • s is the semiperimeter of the triangle
  • s = (a + b + c) / 2



  • Example 1.
    Calculate the area of a triangle using the Heron's Formula

  • Calculate the area of a triangle with the sides' lengths a = 18, b = 10 and c = 13 units. The semiperimeter can be calculated right away as:
  • s = (a + b + c) / 2 = (18 + 10 + 13) / 2 = 41/2 = 20.5.

  • Area2 =

  • s × (s - a) × (s - b) × (s - c) =
  • 20.5 × (20.5 - 18) × (20.5 - 10) × (20.5 - 13) =
  • 20.5 × 2.5 × 10.5 × 7.5 =
  • 4,035.9375 ≈
  • 4,035.94

Area ≈ 63.529028797865 ≈ 63.53 square units



  • Example 2.
    Calculate the area of a right triangle

  • Given the lengths of the sides of a right triangle, we calculate its area using two methods, then compare the results.
  • We calculate the area of ​​the triangle using the classic formula, as the product of a side and its corresponding height, then dividing the result by two, then using Heron's Formula.
  • We will compare the results at the end.
  • Note: Since in a right triangle one of the legs is the height corresponding to the other leg, the area of ​​a right triangle is calculated as the product of the two legs, divided by two.
  • The lengths of the sides of the right triangle are: a = 3 (leg), b = 4 (leg) and c = 5 (hypothenuse).
  • Being a right triangle we have the following relationship between its sides' lengths:
    c2 = a2 + b2 (the Pythagorean theorem)
  • The semiperimeter of this right triangle is:
  • s = (a + b + c) / 2 = (3 + 4 + 5) / 2 = 12/2 = 6


  • 2.1. The classic formula

  • Area =

  • (a × b) / 2 =
  • (3 × 4) / 2 =
  • 12/2 =
  • 6

  • 2.2. Heron's Formula

  • Area2 =

  • s × (s - a) × (s - b) × (s - c) =
  • 6 × (6 - 3) × (6 - 4) × (6 - 5) =
  • 6 × 3 × 2 × 1 =
  • 36 =
  • 62
  • => Area = 6


The two calculated areas are equal, as expected.