How To Calculate the Three Heights' Lengths of a Triangle, Given the Sides' Lengths

Learn to calculate the heights' lengths of a triangle, given the sides' lengths. Triangle's area

The heights of a triangle. The sides' lengths. The area of the triangle


  • The heights of a triangle

  • Definition: The height of a triangle is a straight line segment drawn from a vertex of the triangle, perpendicular to the opposite side (at a 90-degree angle). Every triangle has three heights. All three heights always cross each other at one single point, which is called the orthocenter.
  • The three heights of the triangle

    The three heights of the triangle

  • In the triangle △ABC ha is the height starting from the vertex A, perpendicular to the side BC, ha ⊥ BC. hb is the height starting from the vertex B, perpendicular to side AC, hb ⊥ AC. hc starts from the vertex C, perpendicular to the side AB, hc ⊥ AB. They all intersect at point H, the orthocenter.
  • How to calculate the area of a triangle

  • When the three sides' lengths are given, the area of a triangle can be calculated using Heron's Formula:

  • 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

  • How to calculate the heights of the triangle

  • Knowing the value of the area and the sides' lengths of the triangle, we can calculate the heights ha, hb and hc from vertices A, B and C to the sides a, b and c respectively.
  • Starting from the classic formula of the area of a triangle:

  • Area = 1/2 × a × ha =>
  • ha = 2 × Area / a
  • Area = 1/2 × b × hb =>
  • hb = 2 × Area / b
  • Area = 1/2 × c × hc =>
  • hc = 2 × Area / c

  • Example: Calculate the three heights of a triangle

  • Let's calculate the heights of a triangle with the sides' lengths a = 18, b = 12 and c = 15.

1. First, calculate the semiperimeter of the triangle:


  • s = (a + b + c) / 2 =
  • (18 + 12 + 15) / 2 =
  • 45/2 =
  • 22.5 units

2. Second, calculate the area of the triangle, Heron's Formula:


  • Area2 = s × (s - a) × (s - b) × (s - c) =
  • 22.5 × (22.5 - 18) × (22.5 - 12) × (22.5 - 15) =
  • 22.5 × 4.5 × 10.5 × 7.5 =
  • 7,973.4375 ≈
  • 7,973.44
  • => Area ≈ 89.29410674843 ≈ 89.29 square units

3. Third, calculate the heights' lengths of the triangle:


  • ha =
  • 2 × Area / a =
  • 2 × 89.29410674843 / 18
  • 9.921567416492 ≈
  • 9.92 units

  • hb =
  • 2 × Area / b =
  • 2 × 89.29410674843 / 12
  • 14.882351124738 ≈
  • 14.88 units

  • hc =
  • 2 × Area / c =
  • 2 × 89.29410674843 / 15
  • 11.905880899791 ≈
  • 11.91 units