Statistics Calculator
For the ten quiz scores in the worked example, the mean of 85.1 sits just under a median of 86.5 points. The sample standard deviation is 7.34, the interquartile range is 13 wide, and every score sits inside the outlier fences of 58.5 and 110.5, so the list contains no outliers.
| Count (n) | |
| Sum | |
| Mean | |
| Median | |
| Mode | |
| Minimum | |
| Maximum | |
| Range | |
| First quartile (Q1) | |
| Third quartile (Q3) | |
| Interquartile range (IQR) | |
| Outlier fences (Q1 - 1.5 IQR, Q3 + 1.5 IQR) | |
| Sample variance (divide by n - 1) | |
| Sample standard deviation | |
| Population variance (divide by n) | |
| Population standard deviation | |
| Standard error of the mean |
Quartiles follow the median-of-halves method: Q1 is the median of the lower half of the sorted list and Q3 the median of the upper half. With fewer than 4 points the quartile rows show a dash. All calculations run in your browser, and nothing you paste is uploaded or stored.
Enter a list of numbers separated by commas, spaces or line breaks. The calculator returns the full summary in one table, with quartiles, outlier fences and both flavors of standard deviation worked out for you.
Key takeaways
- One paste returns the count, sum, mean, median, mode, range, quartiles, variance, standard deviation and standard error
- Sample SD divides the squared deviations by 9 and comes to 7.3401; population SD divides by 10 and comes to 6.9635
- The IQR is 91 - 78 = 13, which puts the outlier fences at 58.5 and 110.5
- The standard error of the mean is 2.3212, so a 95 percent interval for the true mean spans about 4.55
- No mode here: with ten distinct scores the most-common-value row reads None, and that is a valid answer
On this page
- What one pass through a data set gives you
- Mean and median: two centers that disagree on purpose
- Quartiles, IQR and the outlier fences
- Sample or population: pick the divisor before you divide
- Standard error and what it says about the mean
- Worked example: ten quiz scores end to end
- When a full workbench beats a single-purpose calculator
What one pass through a data set gives you
A statistics calculator earns its keep the moment a question stops being "what is the average" and becomes "what is the average, how spread out is the list, and is any point strange". This page answers all three at once. Paste the numbers, and the widget returns the count, sum, mean, median, mode, minimum, maximum, range, both quartiles, the interquartile range, the outlier fences, the sample and population versions of the variance and standard deviation, and the standard error of the mean, each labeled with the divisor it used.
That bundle is what statisticians call a descriptive summary, and the NIST Engineering Statistics Handbook treats it as the opening move of any analysis: before you model anything, describe what you have. The summary splits into three natural groups. Centers describe the middle of the list (mean, median, mode). Spread describes how far points stray from that middle (range, variance, standard deviation, IQR). Position describes where individual points sit (quartiles, fences, the minimum and maximum).
Numbers separated by commas, spaces or line breaks all parse the same way, so a column copied out of a spreadsheet goes straight in. The worked example below runs through the whole output for ten quiz scores so each row of the table has a story behind it.
Mean and median: two centers that disagree on purpose
The mean adds everything and divides by the count. The median sorts the list and takes the middle. For the ten quiz scores 78, 85, 92, 88, 76, 95, 89, 84, 91 and 73, the sum is 419 for the first five (78 + 85 + 92 + 88 + 76 = 419) and 432 for the second five (95 + 89 + 84 + 91 + 73 = 432), so the total is 851 and the mean is 851 / 10 = 85.1. Sorting gives 73, 76, 78, 84, 85, 88, 89, 91, 92, 95, and with an even count the median is the average of the two middle scores: (85 + 88) / 2 = 86.5.
The two answers disagree by a point and a half, and the direction of the gap says something. When the mean sits below the median, the low scores are pulling it down, which usually means a mild left tail. The NIST handbook chapter on measures of location makes the broader point: the mean is the best descriptor for well-behaved, roughly symmetric data, but a handful of extreme values can drag it far from where most of the data lives, while the median, built on ranks, ignores how extreme the extremes are.
A familiar illustration is household income. One billionaire in a room of teachers moves the mean by millions and the median by nothing. Quiz scores rarely hide a billionaire, but a single 12 among 90s would, and that is exactly when the median becomes the number to quote. Neither center is the right one in general; the gap between them is itself a quick symmetry check.
Quartiles, IQR and the outlier fences
Quartiles extend the median's logic. This calculator uses the median-of-halves method: sort the list, take the median of the lower half for Q1 and the median of the upper half for Q3. For the sorted quiz scores the lower half is 73, 76, 78, 84, 85 and its median is 78, so Q1 = 78. The upper half is 88, 89, 91, 92, 95, its median is 91, so Q3 = 91. The interquartile range is the width of the middle half of the data: IQR = 91 - 78 = 13.
The IQR also powers the most common outlier test. Any point more than 1.5 IQR below Q1 or above Q3 is flagged. Here the buffer is 1.5 x 13 = 19.5, so the fences land at 78 - 19.5 = 58.5 on the low side and 91 + 19.5 = 110.5 on the high side. Every score in the list sits inside those fences, so none of the ten quizzes counts as an outlier. A missing test with a score of 40 would breach the lower fence and earn a conversation rather than a silent average.
One honest caveat: quartile conventions are not universal. Some software interpolates between orderings and can move Q1 or Q3 by a point or so on small samples, which shifts the IQR and the fences with it. The median-of-halves method used here is the one taught in most introductory courses, matching the approach in the Penn State STAT 200 lessons on describing quantitative data. With large data sets the conventions converge and the choice stops mattering.
Sample or population: pick the divisor before you divide
Variance and standard deviation both start from the same place: measure how far each point sits from the mean, square those distances, and add them up. For the quiz scores the squared deviations come to 484.9 in total. What happens next depends on a question only you can answer: is this list the entire group you care about, or a sample standing in for something bigger?
A sample divides by n - 1 to correct for the fact that a sample mean is itself estimated from the data, which makes raw spreads look slightly too small. That gives the sample variance 484.9 / 9 = 53.8778 and the sample standard deviation, its square root, 7.3401. Treating the same ten scores as a complete population divides by 10 instead: the population variance is 484.9 / 10 = 48.49 and the population standard deviation is 6.9635. The sample numbers are always the larger pair, and the gap between them shrinks as n grows; at n = 10 it is already under 6 percent, at n = 100 it is half a percent.
| Quantity | Sample (divisor 9) | Population (divisor 10) |
|---|---|---|
| Variance | 53.8778 | 48.49 |
| Standard deviation | 7.3401 | 6.9635 |
| Use it when | The list is a sample of a larger group | The list is the whole group |
Class test scores are usually a sample of what the students could in principle score, so the sample column is the default in practice. The population column fits when the ten scores are the entire story, such as the ten machines on one production line.
Standard error and what it says about the mean
The standard error of the mean answers a different question from the standard deviation. The standard deviation of 7.3401 describes the spread of the individual scores. The standard error describes how steady the mean itself would be if you repeated the whole collection many times, and it shrinks as the sample grows: SEM = s / sqrt(n). For the quiz scores, the square root of 10 is about 3.1623, so the standard error is 7.3401 / 3.1623 = 2.3211. Ten observations pin the mean down roughly three times as tightly as one observation would.
Standard errors feed confidence intervals. A 95 percent interval for the true mean uses the multiplier 1.96: 1.96 x 2.3211 = 4.55, so the interval runs from 85.1 - 4.55 = 80.55 up to 85.1 + 4.55 = 89.65. Read that as: if the class is typical, the long-run average sits somewhere in that band. The NIST handbook section on confidence limits for the mean walks through the same construction and warns when the small-sample version should swap 1.96 for a t value with n - 1 degrees of freedom.
Keep the two "standard" quantities straight by their units of spread: standard deviation spreads scores, standard error spreads means. Reporting "SD 7.34, SEM 2.32" tells a reader both how ragged the class is and how much to trust the 85.1.
Worked example: ten quiz scores end to end
Here is the full output for the running example, exactly as the calculator reports it.
| Row | Value | How it is computed |
|---|---|---|
| Count | 10 | Points in the list |
| Sum | 851 | All values added |
| Mean | 85.1 | Sum divided by 10 |
| Median | 86.5 | Average of the 5th and 6th sorted values |
| Mode | None | Every score appears once |
| Minimum / Maximum | 73 / 95 | First and last of the sorted list |
| Range | 22 | 95 - 73 |
| Q1 / Q3 | 78 / 91 | Medians of the lower and upper halves |
| IQR | 13 | Q3 minus Q1 |
| Outlier fences | 58.5 to 110.5 | Q1 - 19.5 and Q3 + 19.5 |
| Sample SD | 7.3401 | Square root of 53.8778 |
| Population SD | 6.9635 | Square root of 48.49 |
| SEM | 2.3212 | 7.3401 divided by the square root of 10 |
A few rows reward a second look. The mode row saying "None" is a legitimate result, not a failure: with ten distinct values there is no most-common score. The midrange, the midpoint of the extremes, works out to (95 + 73) / 2 = 84, close to but not the same as the mean. And the mean of 85.1 sitting 1.4 below the median of 86.5 matches the visual: the two lowest scores, 73 and 76, trail farther from the pack than the top scores do.
When a full workbench beats a single-purpose calculator
Leifi already ships focused tools for several of these rows, and each is the faster choice when you want exactly one number. The table below matches the job to the tool.
| If you need | Use | Why |
|---|---|---|
| Just the average | Average calculator | One input, one output, no summary noise |
| Mean, median, mode and range only | Mean, median, mode and range calculator | The four centers without spread machinery |
| Spread of a sample in depth | Standard deviation calculator | Step-by-step deviation work |
| Variance with grouped data | Variance calculator | Handles frequency tables |
| Averages with weights | Weighted average calculator | Credits, hours and other weights |
| Everything at once | This page | One paste, full summary, fences and SEM included |
The case for the workbench version is strongest when the rows interact. Deciding whether a point is an outlier needs the median, the quartiles and the IQR together. Quoting a survey result responsibly needs the mean and the SEM together. Rebuilding that from four separate single-purpose tools means re-pasting the same data four times and hoping the quartile conventions agree. Paste once here, read the whole picture, then jump to the focused tool if one row needs a deeper look.
Frequently asked questions
What does this statistics calculator output?
A full descriptive summary of one data set: count, sum, mean, median, mode, minimum, maximum, range, the first and third quartiles, the interquartile range, the 1.5 IQR outlier fences, sample and population variance and standard deviation, and the standard error of the mean.
Should I use the sample or population standard deviation?
Use the sample version when your list is a sample of a larger group, which is the usual case, and the population version when the list is the entire group. For the ten quiz scores the sample standard deviation is 7.3401 and the population version is 6.9635. The sample value is always larger because it divides by n - 1 instead of n.
How are the quartiles calculated?
By the median-of-halves method. The list is sorted, Q1 is the median of the lower half and Q3 the median of the upper half. For the sorted quiz scores the lower half is 73, 76, 78, 84, 85, so Q1 is 78, and the upper half 88, 89, 91, 92, 95 gives Q3 of 91.
What counts as an outlier here?
Any point more than 1.5 IQR outside the quartiles. The quiz scores have an IQR of 13, so the buffer is 1.5 x 13 = 19.5 and the fences sit at 58.5 and 110.5. A score of 40 would fall below the lower fence and be flagged.
Why does the mode row say None?
Because no value repeats in the data set. A mode only exists when at least one value appears more often than the others. When several values tie for the lead, the calculator lists all of them.
Can I paste data straight from a spreadsheet?
Yes. The parser accepts commas, spaces, tabs and newlines as separators, so a column copied from Excel or Google Sheets works without reformatting. Currency signs and other non-numeric characters are ignored.
What is the standard error of the mean?
The standard deviation divided by the square root of the count. For the quiz scores that is 7.3401 over the square root of 10, about 2.3212. It measures how much the mean itself would wobble across repeated samples, not how spread out the individual scores are.
Why is the sample variance larger than the population variance?
The sample version divides the squared deviations by n - 1 = 9 instead of n = 10, which inflates the estimate to correct for using the sample mean in place of the true one. With 53.8778 against 48.49 the gap is about 11 percent at n = 10, and it fades as the count grows.
How many data points do I need?
The calculator works with as few as one value, though the sample standard deviation needs at least 2 and the quartile rows need at least 4 to be meaningful. For stable standard errors, most analysts want at least 30 observations.
Does the calculator round the results?
Sums, counts and quartiles print exactly. Means, deviations and standard errors display to 4 decimal places for typical magnitudes and 2 decimal places above 100, which matches the precision used in the worked example.
Is my data uploaded anywhere?
No. The parsing and every formula run in your browser with JavaScript, and nothing you paste leaves the page or gets stored.
How do I read the boxplot against these numbers?
The box edges are Q1 and Q3, the line inside is the median, and the whiskers reach the most extreme points that stay inside the outlier fences. For the quiz scores the box runs from 78 to 91 with a median line at 86.5, and the whiskers reach 73 and 95 because no point crosses a fence.
Spotted a wrong number or a broken result?
More Math tools
Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.