Mean, Median, Mode & Range Calculator
Summary =
- Count (n)
- 8
- Sum (Σxᵢ)
- 40
- Min
- 2
- Max
- 7
Add every value in the data set and divide by the count. The mean is the standard 'average' and is most useful when the distribution is roughly symmetric and free of extreme outliers — outliers pull the mean toward themselves.
mean = Σxᵢ / n
Sort the values from low to high and take the one in the middle. With an even count there is no single middle, so average the two middle values. The median is resistant to outliers and is the preferred summary for skewed data like income or home prices.
median = middle value of the sorted data
Count how many times each value appears and report whichever is most common. A data set can be unimodal (one mode), bimodal or multimodal (a tie at the top), or have no mode at all when every value is unique.
mode = value(s) that occur most often
Subtract the smallest value from the largest. Range is the simplest measure of spread — quick to compute but extremely sensitive to outliers because it depends only on the two most extreme points.
range = max − min
Mean, median, mode, and range are the four most common descriptive statistics. The mean (arithmetic average) sums every value and divides by the count — it gives the 'balance point' of the data but is easily skewed by outliers. The median is the value in the middle of the sorted list, so half the data lies above and half below; it is resistant to outliers and is the right summary for skewed distributions. The mode is whichever value appears most often, useful for categorical-style data like shoe sizes or survey responses. Range = max − min reports the total spread in the same units as the data. Together these four numbers give a fast, intuitive snapshot of where a data set is centered and how widely it varies — which is why they are taught before variance, standard deviation, and quartiles in every introductory statistics course.
Find the mean, median, mode, and range of the data set [2, 3, 4, 4, 6, 7, 7, 7].
Notice that mean and median agree exactly at 5. When mean and median are equal the distribution is symmetric around the center; when they differ, the gap points toward the skew (mean > median for right-skewed data, mean < median for left-skewed).
Each of the four statistics tells a different story. The mean is the only one that uses every value's exact magnitude — it 'feels' every outlier — which makes it the right summary for tightly clustered data and the wrong summary for income, home prices, or any long-tailed distribution. The median is positional: it cares only about rank order, not magnitudes, so a single extreme value cannot move it. That makes the median 'resistant' (or 'robust'), while the mean is 'non-resistant'. The mode answers a different question entirely — not 'what's the typical value?' but 'what's the most popular value?' — and is the only one of the four that applies cleanly to categorical data like favorite colors or letter grades. Range is the simplest spread metric and pairs naturally with median for a robust five-number summary, but it ignores everything between the two extremes; variance and standard deviation correct that by using every value's deviation from the mean. When a distribution is perfectly symmetric and unimodal, mean = median = mode — a useful sanity check for clean data. When the three diverge, the gap tells you about skew and multimodality before you even draw the histogram.
Mean: add every value and divide by the count (mean = Σxᵢ / n). Median: sort the values and take the middle one — or average the two middle values when the count is even. Mode: count how often each value appears and report whichever is most frequent. If every value is unique there is no mode; if two or more values tie for highest frequency the data is multimodal and every tied value is a mode.
The mean is the arithmetic average — it adds up every value and divides by the count, so it 'feels' every data point. The median is the positional middle of the sorted list — half the values lie above it and half below. The key practical difference is sensitivity to outliers: the mean is pulled toward extreme values, the median is not. For symmetric data the two agree; for skewed data they diverge.
Use the median when the data is skewed or contains outliers — income, home prices, web-page response times, hospital lengths of stay, and waiting times all have long right tails where the mean overstates the 'typical' value. The median is also the right choice for ordinal data (rankings, Likert-scale survey responses) where the spacing between values is not meaningful. For symmetric, outlier-free data either the mean or median works.
The mode is the value (or values) that occurs most frequently in a data set. Unlike mean and median, the mode applies cleanly to categorical data — favorite color, blood type, letter grade — because it only requires counting occurrences, not adding or sorting magnitudes. A data set can be unimodal (one mode), bimodal (two modes), multimodal (three or more), or have no mode at all when every value appears exactly once.
Yes. When two or more values tie for the highest frequency, every tied value is a mode and the distribution is called bimodal (two modes) or multimodal (three or more). Bimodal data often signals two underlying subgroups — for example, the height distribution of a mixed-sex population is bimodal because it combines two narrower unimodal distributions for women and men.
When every value in a data set appears exactly once, the convention is to report 'no mode' rather than picking an arbitrary value. Do not enter 0 — that would mislabel the absence of a mode as a real numeric value. Some textbooks instead say 'every value is a mode' in this case; the practical effect is the same: the mode is uninformative and you should use the mean or median to summarize central tendency instead.
Range is the simplest measure of spread: range = max − min, the difference between the largest and smallest values. It carries the same units as the original data and is quick to compute, but it only uses two values and is extremely sensitive to outliers. For a richer spread description use the interquartile range (IQR), variance, or standard deviation, which incorporate every value in the data set.
Yes — when the distribution is perfectly symmetric and unimodal (the textbook example is a normal distribution), the mean, median, and mode all coincide at the same value. Real-world data rarely achieves this exactly, so the three summaries usually differ. The size and direction of the gap is itself diagnostic: mean > median > mode signals right (positive) skew, mean < median < mode signals left (negative) skew.
Reference: Standard introductory-statistics definitions as used by the NIST/SEMATECH e-Handbook of Statistical Methods, the College Board AP Statistics curriculum, and OpenIntro Statistics. The four measures are the foundation of the descriptive-statistics chapter in every standard textbook.
Four formulas summarize the center and spread of a numeric data set:
Where:
For the dot-plot above of the data set [2, 3, 4, 4, 6, 7, 7, 7], mean and median both land at 5, the mode is 7 (the value that appears three times), and the range is 7 − 2 = 5. When mean and median diverge it points to a skewed distribution; when they agree and there is a single mode at the same value, the data is symmetric.
Education — Test Score Summary
A teacher records ten quiz scores out of 10: 7, 8, 8, 9, 6, 10, 8, 7, 9, 8. Find the mean, median, mode, and range.
Mean = 8, median = 8, mode = 8, range = 4.
All three central-tendency measures agree at 8, and the mode confirms the class clusters around a B-grade score. A small range (4 of 10 points) means the class performed consistently.
Real Estate — Skewed Home Prices
Seven recent home sales in a neighborhood (in thousands): 220, 245, 260, 275, 290, 310, 1200. Find the mean and median.
Mean ≈ 400, median = 275, no mode, range = 980.
The one luxury sale at $1.2M pulls the mean to $400K — far above the typical $275K home. Real estate sites publish the median because it represents what a 'typical' buyer will actually pay.
Survey Research — Likert Responses
A customer-satisfaction survey returns these 1–5 ratings: 4, 5, 5, 3, 4, 5, 4, 5, 2, 4, 5, 5. Find the mean, median, mode, and range.
Mean = 4.25, median = 4.5, mode = 5, range = 3.
For ordinal Likert data the mode (most common rating = 5) and median (4.5) are often more meaningful than the mean, because the numeric gap between 'satisfied' (4) and 'very satisfied' (5) is not really one unit of anything.