Skip to content

Mean Median Mode Calculator

Free online Mean, Median, and Mode Calculator -- enter a data set to instantly compute all three measures of central tendency plus range and count. Includes explanations of when to use each measure.

Mean Median Mode Calculator: Example Calculation

Using Numbers (comma separated): 10, 20, 20, 30, 40, 50, 50, 50, 60:

The estimated Mean is 37.

Result Value
Mean 37
Median 40
Mode 50
Range 50
Standard Deviation 16
Variance 267
Count 9
Sum 330
Min 10
Max 60

Adjust the values in the calculator above for your own scenario.

Loading calculator

Preparing Mean Median Mode Calculator...

Reviewed & Methodology

Every calculator is built using industry-standard formulas, validated against authoritative sources, and reviewed for accuracy against our published methodology. All calculations run privately in your browser - no data is stored or shared.

Last reviewed:

Reviewed by:

Written by:

How to Use the Mean Median Mode Calculator

  1. 1. Enter your numbers - type your data values separated by commas or into individual fields.
  2. 2. View all three measures - the calculator instantly shows the mean, median, and mode.
  3. 3. Check additional stats - review the range, sum, and count of your data set.
  4. 4. Compare measures - note whether mean and median are close (symmetric data) or far apart (skewed data).
  5. 5. Modify data - add, remove, or change values to see how each measure responds.

Mean Median Mode Calculator

The mean, median, and mode are the three main ways to describe the center of a data set -- each answering a slightly different question. The mean tells you the arithmetic average. The median tells you the middle value after sorting. The mode tells you the most frequently occurring value. Choosing the right measure depends on your data's distribution and what you are trying to communicate. This calculator computes all three instantly, along with the range and count, so you can compare them side by side.

How Each Measure Is Calculated

Mean = Sum of all values / Count of values Sort not required. Add everything up, divide by n. Example: (4 + 7 + 7 + 10 + 12) / 5 = 40 / 5 = 8.

Median = Middle value of a sorted list Sort the values in order. For an odd count, the median is the center value. For an even count, average the two center values. Example: sorted list {4, 7, 7, 10, 12} -- median is 7 (position 3 of 5). For {4, 7, 10, 12}: median = (7 + 10) / 2 = 8.5.

Mode = Value(s) appearing most often Count how many times each value appears. The mode is the value with the highest frequency. A data set can have one mode, two or more modes (bimodal/multimodal), or no mode if all values appear exactly once.

Range = Maximum value -- Minimum value. Measures total spread.

Worked Examples

Example 1 -- Symmetric, well-behaved data set: {12, 14, 14, 16, 18, 20, 20, 20, 22} Mean: (12+14+14+16+18+20+20+20+22) / 9 = 156 / 9 = 17.33. Median: 9 values, center is position 5 = 18. Mode: 20 (appears 3 times). Range: 22 - 12 = 10. Mean and median are close (17.33 vs. 18), confirming near-symmetry.

Example 2 -- Outlier-skewed income data: {42000, 45000, 47000, 49000, 51000, 380000} Mean: 614,000 / 6 = $102,333. Median: average of positions 3 and 4 = (47,000 + 49,000) / 2 = $48,000. Mode: none (all unique). Range: $338,000. The mean of $102,333 is more than double the median of $48,000 -- the $380,000 outlier drags the mean far from where most values cluster. The median is the better "typical" value here.

Example 3 -- Retail shoe sizes: {7, 7, 8, 8, 8, 9, 9, 10, 11} Mean: 77 / 9 = 8.56. Median: position 5 = 8. Mode: 8 (appears 3 times). Range: 4. For a store manager deciding which size to stock most, the mode (8) is the most actionable number -- it tells you the single most common size, which neither the mean nor median directly indicates.

Central Tendency Reference Table

Data Set Mean Median Mode Range Best Measure
2, 4, 4, 6, 8 4.80 4 4 6 Any (symmetric)
10, 20, 30, 40, 50 30 30 None 40 Mean or median
3, 3, 5, 5, 7, 9 5.33 5 3 and 5 6 Median (bimodal)
1, 1, 1, 100 25.75 1 1 99 Median or mode
40K, 45K, 50K, 55K, 500K 138K 50K None 460K Median
Red, Blue, Blue, Green N/A N/A Blue N/A Mode only
15, 15, 16, 17, 17, 18 16.33 16.5 15 and 17 3 Mean (symmetric)
5, 6, 7, 8, 9, 10, 98 20.43 8 None 93 Median

When to Use This Calculator

  • Summarizing test scores -- the mean works well when score distributions are fairly normal and no student scored absurdly high or low
  • Reporting income or home prices -- use the median to represent "typical" when a few high values would inflate the mean above what most people actually earn or pay
  • Quality control data -- compare mean and median to detect whether a production process is generating outliers that skew your average output measurement
  • Survey responses on a Likert scale -- the mode identifies the most commonly selected response, which is often more interpretable than a decimal mean like 3.7 out of 5
  • Identifying data errors -- a large gap between mean and median often signals a data entry mistake or a genuine outlier worth investigating

Common Mistakes

  1. Calling the mean "the average" without specifying -- in everyday speech, "average" usually means mean, but in statistics it can refer to any measure of central tendency. When reporting data, specify which measure you used to avoid misinterpretation.
  2. Forgetting to sort before finding the median -- the median depends entirely on the sorted order; the middle value of an unsorted list is meaningless. Always sort from smallest to largest first.
  3. Assuming no mode means the data has no center -- a data set with all unique values has no mode, but still has a meaningful mean and median. No mode just means no single value repeats, not that the data is centerless.
  4. Using the mean for skewed data -- for income, home prices, response times, or any data where a few extreme values are common, the mean overstates the typical case. Check whether mean and median are close before choosing mean as your summary statistic.

Context and Applications

These three measures appear throughout statistics, data analysis, journalism, and everyday decision-making. When the US Census Bureau reports household income, it publishes the median -- not the mean -- because the mean would be pulled upward by high-income households and misrepresent what a typical family earns. Sports analysts use batting averages (a mean) because the distribution of at-bat outcomes is relatively stable. Epidemiologists tracking disease incubation periods often report the median because the distribution is right-skewed. Understanding which measure to apply -- and why -- is one of the first and most practical skills in data literacy.

Tips

  • If the mean and median differ by more than about 10% of the range, the data is likely skewed -- report the median and note the skew rather than defaulting to the mean
  • For very small data sets (n less than 5), all three measures become less stable; a single value change can shift the mode entirely or flip the median
  • Always state the sample size alongside any central tendency measure -- a mean of 47 from 300 observations is far more reliable than a mean of 47 from 4 observations
  • The mode is the only measure that works for non-numerical (categorical) data; you cannot average colors or names, but you can find the most frequent one
  • Range is quick to compute but a single outlier can make it misleading -- if you need to describe spread more reliably, also note the interquartile range (Q3 minus Q1)
  • When presenting data to a general audience, pair the median with the range or show a simple histogram -- a single number almost never tells the full story

Frequently Asked Questions

When should I use mean, median, or mode?
Use the mean (average) for normally distributed data without extreme outliers, such as average test scores in a class. Use the median when your data has outliers or is skewed, such as household income (where a few very high earners would inflate the mean). Use the mode for categorical data or when you need the most common value, such as the most popular shoe size sold in a store. In a symmetric distribution, all three measures are approximately equal.
How do outliers affect the mean, median, and mode?
Outliers dramatically affect the mean because every value contributes to the sum. For example, incomes of $40K, $45K, $50K, $55K, and $500K give a mean of $138K, which is misleading. The median ($50K) is not affected because it only depends on the middle position. The mode is also unaffected by outliers since it only counts frequency. This is why news reports typically use median household income rather than mean income.
How do you calculate each measure for the data set {3, 7, 7, 2, 9}?
Mean: add all values and divide by the count: (3 + 7 + 7 + 2 + 9) / 5 = 28 / 5 = 5.6. Median: sort the values (2, 3, 7, 7, 9) and find the middle value: 7. For an even number of values, average the two middle ones. Mode: find the most frequent value: 7 appears twice, all others once, so the mode is 7. Some data sets have no mode (all values unique) or multiple modes (bimodal or multimodal).
What does it mean when data is skewed and how can I tell?
Data is skewed when it is not symmetrically distributed. Right-skewed (positive skew) means there is a long tail of high values, pulling the mean above the median -- like income data. Left-skewed (negative skew) means there is a long tail of low values, pulling the mean below the median -- like age at retirement. You can detect skew by comparing the mean and median: if they differ by more than about 10% of the range, the data is likely skewed.
What are some real-world examples where each measure is most useful?
Mean is used for grade point averages, batting averages in baseball, average temperature, and scientific measurements. Median is used for home prices (the median home price in a neighborhood), income statistics, and response times in software performance testing. Mode is used for most popular product sizes, peak hours of customer traffic, most common blood type, and election results (the candidate with the most votes -- the mode -- wins).
Embed this calculator

Add this free calculator to your website. Copy the code below and keep the attribution link - it's what keeps these tools free:

Cite this calculator

Copy this citation for papers, articles, or coursework:

Alex Crabinsky. "Mean Median Mode Calculator." Numeraty, February 24, 2026, https://numeraty.com/mean-median-mode-calculator/

Related Math & Science Calculators

Math & Science

Age Calculator

Free online Age Calculator -- find your exact age in years, months, days, weeks, and total days from your date of birth. Includes next birthday countdown and milestone tracking.

Math & Science

Basic Calculator

Free online Basic Calculator -- perform addition, subtraction, multiplication, division, exponents, and modulo operations. Instant results with up to 10 decimal places of precision.

Math & Science

Binary Hex Decimal Converter

Free online Binary, Hexadecimal, and Decimal Converter -- convert between base-2, base-10, and base-16 number systems instantly. Essential for programming, computer science, and digital electronics.

Math & Science

Date Calculator

Free online Date Calculator -- find the exact number of days, weeks, months, and years between any two dates. Calculate date differences for project planning, contracts, age verification, and event countdowns.

Math & Science

Fraction Calculator

Free online Fraction Calculator -- add, subtract, multiply, and divide fractions with automatic simplification. Shows results as fractions and decimals. Supports mixed numbers and improper fractions.

Math & Science

Fuel Consumption Converter

Free Fuel Consumption Converter -- convert between MPG (US), MPG (UK), L/100km, and km/L. Compare fuel economy ratings across US, UK, and metric systems for any vehicle.

Math & Science

GPA Calculator

Free online GPA Calculator -- compute your grade point average from letter grades and credit hours. Supports weighted and unweighted GPA on a 4.0 scale with instant results.

Math & Science

Grade Calculator

Free online Grade Calculator -- compute your weighted course grade from assignments, exams, and projects. Find out what score you need on your final exam to reach your target grade.

Math & Science

Logarithm Calculator

Free online Logarithm Calculator -- compute common log (base 10), natural log (ln), and logarithms of any base. Includes log rules, formulas, and real-world applications.

Math & Science

Matrix Calculator

Free online Matrix Calculator -- perform matrix addition, subtraction, multiplication, transposition, and find determinants and inverses. Supports 2x2 and 3x3 matrices with step-by-step results.

Math & Science

Percentage Calculator

Free online Percentage Calculator -- find a percentage of a number, calculate percentage increase or decrease, compute percentage change, and determine percentage difference. Instant results with formulas and examples.

Math & Science

Probability Calculator

Free online Probability Calculator -- compute single event probability, combined probability for independent and dependent events, and complementary probability. Includes formulas and practical examples.

Calculators