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

Learn to calculate the lengths of the medians of a triangle, given the sides' lengths. Apollonius' Theorem

The medians of a triangle. The sides' lengths. Apollonius' Theorem


  • The medians in a triangle

  • Definition: A median of a triangle is a line segment connecting a vertex of the triangle to the midpoint of the opposite side.
  • Every triangle has three medians that meet at a single center point, called centroid.
  • The three medians of the triangle

    The three medians of the triangle

  • In the triangle △ABC ma is the median connecting the vertex A to the middle of side BC, mb is the median connecting the vertex B to the middle of side AC and mc is the median connecting the vertex C to the middle of the side AB. All the medians intersect at point G, the centroid.
  • The point G divides the lengths of the three medians as follows:

  • AG/AM = BG/BP = CG/CN = 2/3
  • GM/AM = GP/BP = GN/CN = 1/3
  • GM/AG = GP/BG = GN/CG = 1/2

  • Apollonius' Theorem

  • In a triangle △ABC, for which we know the lengths of the sides "a", "b" and "c", having the opposite vertices A, B and C, respectively, there is a relationship between the lengths of the sides and the lengths of the medians ma, mb and mc, where ma is drawn from vertex A to side "a", mb is drawn from vertex B to side "b", and mc is drawn from vertex C to side "c":

  • b2 + c2 = 2 × (ma2 + (a/2)2) =>
  • ma2 = (b2 + c2)/2 - (a/2)2
  • a2 + c2 = 2 × (mb2 + (b/2)2) =>
  • mb2 = (a2 + c2)/2 - (b/2)2
  • a2 + b2 = 2 × (mc2 + (c/2)2) =>
  • mc2 = (a2 + b2)/2 - (c/2)2


How to calculate the lengths of the medians in a triangle

  • Example no. 1

  • Two of the three medians should be equal in an Isosceles triangle. Let's calculate these three medians ma, mb and mc and see if two of them are equal or not. The sides' lengths are given: a = 10, b = 6 and c = 10.
  • Apply the Apollonius' Theorem and solve for the medians:

  • b2 + c2 = 2 × (ma2 + (a/2)2) =>
  • ma2 =
  • (b2 + c2)/2 - (a/2)2 =
  • (62 + 102)/2 - (10/2)2 =
  • (36 + 100)/2 - 52 =
  • 136/2 - 25 =
  • 68 - 25 =
  • 43
  • => The median ma ≈ 6.557438524302 ≈ 6.56

  • a2 + c2 = 2 × (mb2 + (b/2)2) =>
  • mb2 =
  • (a2 + c2)/2 - (b/2)2 =
  • (102 + 102)/2 - (6/2)2 =
  • (100 + 100)/2 - 32 =
  • 200/2 - 9 =
  • 100 - 9 =
  • 91
  • => The median mb ≈ 9.53939201417 ≈ 9.54

  • a2 + b2 = 2 × (mc2 + (c/2)2) =>
  • mc2 =
  • (a2 + b2)/2 - (c/2)2 =
  • (102 + 62)/2 - (10/2)2 =
  • (100 + 36)/2 - 52 =
  • 136/2 - 25 =
  • 68 - 25 =
  • 43
  • => The median mc = 6.557438524302 ≈ 6.56

We can see that two of the medians are equal, the ones corresponding the congruent sides, ma ≅ mc


  • Example no. 2

  • The length of a median in a right triangle with an angle of 30 degrees, corresponding to the hypotenuse, should be half the length of the hypotenuse. The side lengths in this triangle are given as follows: a = 10 (hypotenuse), b = 5, and c = 8.66025. Let's calculate the median ma of this right triangle, corresponding to the hypotenuse, and check the above mentioned rule.
  • Apply the Apollonius' Theorem and solve for the medians:

  • b2 + c2 = 2 × (ma2 + (a/2)2) =>
  • ma2 =
  • (b2 + c2)/2 - (a/2)2 =
  • (52 + 8.660252)/2 - (10/2)2 =
  • (25 + 74.9999300625)/2 - 52 =
  • 99.9999300625/2 - 25 =
  • 49.99996503125 - 25 =
  • 24.99996503125
  • => The median ma ≈ 4.9999965031238 ≈ 5

We can see tthe length of the median corresponding to the hypotenuse, ma, is half the legth of the hypotenuse.


  • Example no. 3

  • Let's calculate the medians ma, mb and mc of a triangle if all the sides' lengths are given: a = 10, b = 6 and c = 10.
  • Apply the Apollonius' Theorem and solve for the medians:

  • b2 + c2 = 2 × (ma2 + (a/2)2) =>
  • ma2 =
  • (b2 + c2)/2 - (a/2)2 =
  • (102 + 82)/2 - (12/2)2 =
  • (100 + 64)/2 - 62 =
  • 164/2 - 36 =
  • 82 - 36 =
  • 46
  • => The median ma ≈ 6.782329983125 ≈ 6.78

  • a2 + c2 = 2 × (mb2 + (b/2)2) =>
  • mb2 =
  • (a2 + c2)/2 - (b/2)2 =
  • (122 + 82)/2 - (10/2)2 =
  • (144 + 64)/2 - 52 =
  • 208/2 - 25 =
  • 104 - 25 =
  • 79
  • => The median mb ≈ 8.888194417316 ≈ 8.89

  • a2 + b2 = 2 × (mc2 + (c/2)2) =>
  • mc2 =
  • (a2 + b2)/2 - (c/2)2 =
  • (122 + 102)/2 - (8/2)2 =
  • (144 + 100)/2 - 42 =
  • 244/2 - 16 =
  • 122 - 16 =
  • 106
  • => The median mc = 10.29563014099 ≈ 10.3