Mean, Median & Mode Calculator

Enter comma-separated numbers to instantly find mean, median, mode, range, and all key descriptive statistics — with sorted data, frequency counts, and a plain-language interpretation of each measure.

Enter your values above to see the results.

Tips & Notes

  • Always sort your data before finding the median. The median of [9,3,7,1,5] is 5 (middle of sorted [1,3,5,7,9]), not 7 (the middle position in the unsorted list).
  • For even-count data, the median is the average of the two middle values. Median of [2,4,6,8] = (4+6)/2 = 5, not 4 or 6.
  • A dataset with no repeated values has no mode. A dataset where every value appears the same number of times is also considered to have no mode — or every value is a mode, depending on convention.
  • Outliers affect the mean dramatically but leave the median almost unchanged. Data [1,2,3,4,100]: mean = 22, median = 3. Always report both when data may contain outliers.
  • Range only uses two values — minimum and maximum — and ignores everything between them. A single extreme outlier changes it completely. Use IQR (interquartile range) for outlier-resistant spread.

Common Mistakes

  • Forgetting to sort before finding the median. The median requires the data in ascending order. Computing the median of unsorted data by taking the middle position gives a wrong answer every time.
  • For even-count datasets, taking one middle value instead of averaging the two. [3,5,7,9] has median = (5+7)/2 = 6, not 5 or 7.
  • Confusing mean with median in skewed distributions. Household income data always shows mean > median because a few billionaires pull the mean up. Reporting the mean as "typical" income is misleading.
  • Assuming there is always exactly one mode. Data can be bimodal (two modes), trimodal (three), or have no mode if all values are unique. Mode is most meaningful for discrete or categorical data.
  • Using range as the primary spread measure. Range = max − min uses only two data points and is destroyed by a single outlier. Prefer standard deviation or IQR for a complete picture of spread.

Mean, Median & Mode Calculator Overview

Mean, median, and mode are the three measures of central tendency — each answers the question "what is the typical value?" differently. Choosing the wrong one can misrepresent data significantly: a neighborhood's average (mean) income looks much higher than its typical (median) income when a few wealthy households pull the mean upward. This calculator computes all three measures plus range, so you always have the complete picture.

Mean (arithmetic average) — sum divided by count:

x̄ = Σxᵢ / n
EX: [4, 8, 6, 5, 3, 2, 8, 9, 2, 5] → Sum = 52, n = 10 → Mean = 52/10 = 5.2
Median — middle value when sorted:
Odd n: middle value | Even n: average of two middle values
EX: Sorted [2,2,3,4,5,5,6,8,8,9] → n=10 (even) → middle values: 5 and 5 → Median = (5+5)/2 = 5.0
Mode — most frequently occurring value:
EX: [2,2,3,4,5,5,6,8,8,9] → 2 appears 2×, 5 appears 2×, 8 appears 2× → Trimodal: modes = 2, 5, and 8
Range — spread from minimum to maximum:
Range = Maximum − Minimum
EX: [2,2,3,4,5,5,6,8,8,9] → Range = 9 − 2 = 7
When to use each measure:
MeasureBest ForSensitive to Outliers?Example Use
MeanSymmetric data, no outliersYes — stronglyAverage temperature, test scores in normal class
MedianSkewed data or outliers presentNo — robustMedian household income, home prices
ModeCategorical or discrete dataNoMost popular shoe size, most common vote
RangeQuick spread estimateYes — extremelyTemperature variation in a week
When mean and median are close together, the distribution is approximately symmetric — roughly equal tails on both sides. When mean exceeds median, the distribution is right-skewed: a few high outliers pull the mean upward while leaving the median unchanged. When median exceeds mean, the distribution is left-skewed. This relationship between mean and median is one of the fastest practical checks for distributional shape without plotting. The range captures the full spread from minimum to maximum but is distorted by a single extreme value. The interquartile range (Q3 − Q1) avoids this by measuring the spread of the middle 50%, making it a more robust measure for skewed data or data with outliers. Standard deviation quantifies average distance from the mean and is most meaningful for symmetric, bell-shaped distributions. For any dataset, reporting both central tendency and spread together — mean and SD for symmetric data, or median and IQR for skewed — gives a more complete and honest description than any single number alone.

Frequently Asked Questions

Mean = sum divided by count. Median = middle value when sorted. Mode = most frequently appearing value. For symmetric data without outliers, all three are similar. For skewed data, they diverge: income data with outliers has mean=85k, median=52k, mode=45k — three very different 'typical' values. Mean is affected by every value; median ignores the extremes; mode reflects the most common observation.

Use median when data is skewed or contains outliers. House prices: mean price in a neighborhood is $450k, but median is $280k — a few mansions pull the mean up. The median better represents what a typical buyer pays. In general: income, home prices, healthcare costs, and any data where a few extreme values exist are best summarized by median, not mean.

Yes. If every value appears exactly once, there is no mode. Example: [1, 2, 3, 4, 5] — no value repeats, so no mode exists. Some conventions say every value is a mode in this case; others say there is no mode. Mode is most meaningful for categorical data (most popular product, most common vote) or discrete data with limited values where repetition is expected.

Sort the data, identify the two middle values, and average them. Example: [3, 7, 9, 12, 15, 21] has 6 values. The two middle values (positions 3 and 4) are 9 and 12. Median = (9+12)/2 = 10.5. Note that 10.5 does not appear in the dataset — the median of even-count data often falls between actual data points.

The distribution is right-skewed — pulled toward high values by a few large outliers. Example: annual bonuses for a company's employees. Most get $2,000–$5,000 (mode and median near $3,000), but a few executives receive $500,000+. These outliers pull the mean to $15,000 — making it appear typical employees earn far more than they do. Skewness = mean > median for right skew, mean < median for left skew.

Range = maximum − minimum. It is the simplest spread measure but uses only two values and ignores everything between them. One outlier changes it completely: [1,2,3,4,5] has range=4; [1,2,3,4,1000] has range=999. For more informative spread, use standard deviation (accounts for all values) or IQR (range of the middle 50%, resistant to outliers). Range is useful only for a very quick preliminary check.