HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Glossary
  2. /Python and data
  3. /Mean, Median and Mode

What are Mean, Median and Mode?

In short

The mean is the sum of the values divided by how many there are. The median is the middle value when they are in order. The mode is the value that occurs most often.

In simple words

They are three kinds of average. The mean uses every value, so one very large value pulls it up. The median is not affected by extreme values, so it is better for skewed data such as incomes. The mode is the only one that works for categories, such as the most common shoe size. For an even number of values, the median is the mean of the two middle ones.

Example

For 2,3,3,5,122, 3, 3, 5, 122,3,3,5,12: mean =255=5= \dfrac{25}{5} = 5=525​=5, median =3= 3=3 and mode =3= 3=3. The value 121212 raises the mean but not the median.

Also searched as: mean median mode, average.

Learn it properly

  • Lessons on this topic
  • Test yourself

Related terms

  • Standard Deviation
  • Sampling

← All glossary terms

Learn it in

  1. Averages
  2. The Weather Project
All lessons on this topic →

Practise

  1. Find the mean temperature of the first 10 days and of the last 10 days…Hard
  2. The 10 rainy days had a total of 285 °C, and the 20 dry days a total of 637 °C…Hard
  3. The chance of a rainy day is 1/3. If the days did not affect each other, what would be…Hard
Call a day "very hot" if its highest temperature is 34 °C or more…Medium

Quick questions

  1. Which sentence is the best limit for a report on 20 winter days in one hill town?Easy
  2. A student writes: \"The mean highest temperature in the hill town was 12 °C, so every…Medium
  3. In the hill town, the 3 snowy days had a mean highest temperature of 8.7 °C, and the…Medium

More Python and data terms

  1. Cell (in a Python notebook)
  2. Class and Special Methods (in Python)
  3. Dictionary (in Python)
  4. For Loop
  5. Function (in Python)
  6. If Statement (in Python)
All Python and data terms →

Try it yourself

Python labs run in your browser. Type the code, run it and see what happens.

Open a Python lab