Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Differences › Maths

Mean vs Median

The mean uses every value; the median is the middle one and ignores how extreme the ends are.

Mean

Add all the values and divide by how many there are.

Median

Sort the values and take the middle one (or the average of the two middle ones).

Mean compared with Median
MeanMedian
Uses every valueYesOnly their order
Pulled by very large or small valuesYes, stronglyHardly at all
Best forData without extreme valuesIncomes, house prices, skewed data
Grouped data formulaΣfx / Σfl + ((n/2 − cf)/f) × h

Example

Five salaries: ₹20k, ₹22k, ₹25k, ₹28k and ₹5 lakh. The mean is ₹1.19 lakh, which describes nobody; the median, ₹25k, describes the typical person.

Try it or learn more

  • Mean, median and mode calculator
  • Class 10 statistics

More differences

  • Permutation vs Combination
  • Rational numbers vs Irrational numbers
  • Area vs Perimeter
  • sin θ vs cos θ