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
Tools › Maths

Mean, median and mode calculator

The three averages and the range of a list of numbers.

Mean 6.1429, median 6, mode 8

  1. Sorted: 3, 4, 5, 6, 8, 8, 9
  2. Mean = 43 ÷ 7 = 6.1429
  3. Median = middle value = 6
  4. Mode = 8 (appears 2 times)
  5. Range = 9 − 3 = 6

How it works

Mean: add them and divide by how many. Median: the middle value once sorted. Mode: the value that appears most often.

Worked example

With Numbers = 4, 8, 6, 5, 3, 8, 9:

  1. Sorted: 3, 4, 5, 6, 8, 8, 9
  2. Mean = 43 ÷ 7 = 6.1429
  3. Median = middle value = 6
  4. Mode = 8 (appears 2 times)
  5. Range = 9 − 3 = 6

Answer: Mean 6.1429, median 6, mode 8

Questions

Which average should I use?
The median is better when a few values are very large or very small, because it ignores how extreme they are.

Learn the method properly

The chapter behind this tool, with animations, an experiment and an AI tutor who checks each step you write.

Open the chapter

More maths tools

  • Quadratic equation solver
  • LCM and HCF calculator
  • Fraction simplifier
  • Percentage calculator
  • Simple interest calculator
  • Compound interest calculator