Math & Education
Mean, Median & Mode Calculator
Paste a list of numbers to get the mean, median, mode, range, sum, standard deviation, variance and quartiles instantly.
How to use
- 1Paste or type numbers separated by commas, spaces or new lines.
- 2All the summary statistics update as you type.
How it's calculated
Mean = Σx ÷ n. Median = middle value of the sorted list (average of the two middle values when n is even). Sample SD uses n − 1; population SD uses n. Quartiles use the median-of-halves method.
Frequently asked questions
Mean or median — which is better?
The median resists outliers. For incomes or house prices, where a few huge values skew the average, the median is more representative.
Sample or population standard deviation?
Use the population value if your list is the whole group. Use the sample value (dividing by n − 1) if it's a sample from a larger group.
What if there's no single mode?
If several values tie for most frequent, all are listed. If every value appears once, there's no mode.
When mean and median tell different stories
For 4, 8, 15, 16, 23, 42 the mean is 18 but the median is 15.5 — close together because the list has no extreme outlier. Swap the 42 for 420 and the mean jumps dramatically while the median barely moves, since the median only cares about the middle position, not the size of the extreme values. That's the practical reason median is preferred for things like household income or home prices: a handful of very large values can drag a mean far from what's "typical," while the median stays anchored to the actual middle of the data.
Why sample and population standard deviation give different numbers
For the same six-number list, sample standard deviation comes out to 13.4907 while population standard deviation is 12.3153 — the sample version is always larger because it divides the sum of squared deviations by n − 1 instead of n. That correction exists because a sample's own mean is calculated from the same data, which slightly understates how spread out the true population is; dividing by a smaller number corrects for that bias. Use population SD only when your numbers are the entire group you care about — use sample SD when they're a subset standing in for a larger one. One edge case worth knowing: with a single data point, this calculator reports sample SD as 0 rather than undefined, since there's no second value to measure spread against.
Why quartiles need at least four numbers, and mode can disappear entirely
Q1 and Q3 only appear once you have 4 or more values, because splitting a smaller list into meaningful lower and upper halves doesn't work well below that. The mode counts how often each value repeats; if every number in the list is unique, there's no most-common value, so the result reads "No mode" rather than listing anything. When several values tie for the highest count, all of them are listed together — 1, 2, 2, 3, 3, 4 reports a mode of "2, 3", not just one.
Quartiles vanish below four numbers, and a unique list has no mode
I need at least one number, separated the way the other stats tools allow. The mean is the sum divided by the count. The median averages the two middle numbers when the count is even. If every value appears once and there is more than one number, the mode says no mode instead of listing all of them. A single number is its own mode. The sample standard deviation and the sample variance need at least two numbers and otherwise show zero, while the population versions still divide by the count. Quartiles appear only when I have at least four numbers. Below that, those two lines are simply absent. The range is the maximum minus the minimum after the list is sorted, so the order I pasted does not matter.
Related tools
- Standard Deviation Calculator (Sample & Population)
Find the standard deviation and variance of a data set — sample (n − 1) and population (n) — with the mean, sum of squares and step-by-step working.
- GPA Calculator
Calculate your GPA on a 4.0 scale from letter grades or grade points and credit hours — and your cumulative GPA including previous semesters.
- UK Degree Classification Calculator
Estimate your UK degree classification — First, 2:1, 2:2 or Third — from your module marks and credits and your university's year weightings.
- Scientific Notation Converter
Convert numbers to and from scientific notation (e.g. 0.000452 = 4.52 × 10⁻⁴) and engineering notation, with a chosen number of significant figures.
- Z-Score & Percentile Calculator
Convert a value to a z-score and percentile from the mean and standard deviation — or a percentile back to a value — using the normal distribution.
- Philippines GWA Calculator (General Weighted Average)
Calculate your General Weighted Average (GWA) from your grades and course units — for the 1.00–5.00 scale used by most Philippine colleges, or percentage grades.