Math Solver Free

Statistics Calculator

Mean, median, mode, range, variance and standard deviation for any data set — with the working shown.

Count (n)10
Sum60
Mean (average)6
Median6.5
Mode8
Minimum2
Maximum9
Range7
First quartile (Q1)4
Third quartile (Q3)8
Interquartile range (IQR)4
Variance (population)5.2
Standard deviation (population)2.28035
Variance (sample)5.77778
Standard deviation (sample)2.4037

How the headline figures were worked out

Mean: sum ÷ count = 60 ÷ 10 = 6.

Median: the sorted data is 2, 3, 4, 5, 6, 7, 8, 8, 8, 9 — the middle falls between the two central values, which average to 6.5.

Standard deviation (population): the squared differences from the mean add to 52; divide by 10 to get the variance 5.2, then take the square root: √5.2 = 2.28035.

Frequency table — how often each value appears

2 → 1×
3 → 1×
4 → 1×
5 → 1×
6 → 1×
7 → 1×
8 → 3×
9 → 1×

Quartiles use the median-of-each-half method (the median itself is excluded from both halves when n is odd). Population standard deviation divides by n; sample standard deviation divides by n − 1.

How This Statistics Calculator Works

This statistics calculator takes any list of numbers — exam scores, survey responses, daily temperatures, sprint times — and summarises it the way a statistics course expects: the centre of the data (mean, median and mode), the spread (range, quartiles, interquartile range, variance and standard deviation), and the sorted data with a frequency table so you can see the shape of the distribution for yourself. Every headline figure comes with its working underneath, because in statistics the method is the answer: a standard deviation computed the sample way and one computed the population way differ on purpose, and this page shows both, labelled, so you can pick the one your question asks for.

Every term, defined: n is the count of values. The mean is the sum divided by n — the balancing point of the data. The median is the middle value once the data is sorted (or the average of the two middle values). The mode is the most frequent value. The range is max − min. Quartiles split the sorted data into quarters: Q1 is the median of the lower half and Q3 the median of the upper half, and their difference is the IQR. Variance is the average squared distance from the mean, and the standard deviation is its square root — the typical distance of a value from the mean, back in the original units.

How to Use the Statistics Calculator

  1. Paste or type your data into the box. Commas, spaces, semicolons and line breaks all work as separators, so a column copied from a spreadsheet drops straight in.
  2. Press Calculate Statistics. The results table lists fifteen summary figures, from count and sum through both versions of the standard deviation.
  3. Read the working panel beneath the table: it spells out the mean as sum ÷ count, locates the median inside the sorted data, and walks the standard deviation through its squared differences.
  4. Check the frequency table to see which values repeat — that is where the mode comes from, and where gaps and clusters in the data show up.

Worked Example: Ten Quiz Scores

A class scores 4, 8, 6, 5, 3, 8, 9, 2, 7, 8 on a quiz. Sorted, the data is 2, 3, 4, 5, 6, 7, 8, 8, 8, 9. The count is n = 10 and the sum is 60, so the mean is 60 ÷ 10 = 6. The two middle values are 6 and 7, so the median is 6.5. The value 8 appears three times — more than any other — so the mode is 8. The range is 9 − 2 = 7. The lower half (2, 3, 4, 5, 6) has median 4, so Q1 = 4; the upper half (7, 8, 8, 8, 9) has median 8, so Q3 = 8 and the IQR is 8 − 4 = 4. For the spread around the mean: the squared differences from 6 are 16, 9, 4, 1, 0, 1, 4, 4, 4 and 9, adding to 52. The population variance is 52 ÷ 10 = 5.2, giving a population standard deviation of √5.2 ≈ 2.28. Treated as a sample, the variance is 52 ÷ 9 ≈ 5.78 and the sample standard deviation ≈ 2.40. Three centres — 6, 6.5 and 8 — describe the same ten scores; which one a report quotes changes the story it tells.

Dot plot of quiz scores: one dot each at 2–7 and 9, three dots at 823456789mode = 8
A dot plot of the worked example: the stack at 8 is the mode, and the mean (6) sits left of it.

Worked Example 2: Comparing Two Classes

Summaries earn their keep in comparisons. Class A scores 6, 7, 7, 8, 8, 8, 9, 9 on a test: mean 7.75, median 8, standard deviation about 0.97. Class B scores 2, 5, 7, 8, 9, 10, 10, 11: mean 7.75, median 8.5, standard deviation about 2.82. The means are identical — a report quoting only averages would call the classes equal. The spreads say otherwise: Class A is tightly bunched around its centre, while Class B stretches from struggling to excellent, and its slightly higher median with a far lower minimum tells the real story of a polarised group. This is why the results table above prints centre and spread together: either half alone can mislead, and together they take seconds to read. Paste both data sets in, one at a time, and the contrast is on the screen before any test of significance is needed.

Mean, Median or Mode — Which Average?

The three centres answer three different questions. The mean uses every value, which makes it the right summary for roughly symmetric data — and the wrong one when a few extremes can drag it. The median uses only position, so it resists outliers: one billionaire moving to a street does not change its median income. The mode ignores size entirely and reports only frequency, which makes it the only centre that works for non-numeric data (the most common shoe size, the most chosen survey answer). If you only need the average of a short list, our average calculator is the lighter tool; this statistics calculator is for when the whole summary — centre and spread together — is what the question demands.

Variance and Standard Deviation, Population vs. Sample

Standard deviation is the most quoted spread measure because it shares the data's units: a standard deviation of 2.28 marks means scores typically sit about 2.28 marks from the average. Its one genuine subtlety is the denominator. Divide the squared differences by n when your numbers are the entire population you care about — every student in this class, every day of this month. Divide by n − 1 when they are a sample drawn from a larger population: a sample tends to huddle slightly closer to its own mean than the population does to its true mean, and the n − 1 correction (Bessel's correction) compensates. The dedicated standard deviation calculator goes deeper on this one measure, and our guide on how to find standard deviation works a full example by hand. The NIST/SEMATECH e-Handbook of Statistical Methods is the standard reference when you need the formal definitions behind any of these summaries.

Quartiles and the IQR

Quartiles describe spread without letting extremes speak. Q1 is the value a quarter of the data falls below; Q3 is the value three quarters fall below; the IQR between them is the span of the middle half. Box plots are drawn from exactly these numbers plus the median. The IQR also powers the standard outlier rule: any value below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR is flagged as an outlier. In the worked example, those fences are 4 − 6 = −2 and 8 + 6 = 14, so no score qualifies — the data is compact. Note that quartile conventions differ slightly between textbooks and software packages (this calculator uses the median-of-each-half method and says so under the results); for large data sets the conventions agree closely.

Three Mistakes to Avoid

  • Quoting the mean for skewed data: average income, average house price and average response time are all dragged by extremes — the median is the honest centre there, and the gap between mean and median is itself worth reporting.
  • Using the population formula on a sample: dividing by n when your data is a sample understates the spread. If the numbers came from sampling, the n − 1 row is the one to quote.
  • Averaging averages: the mean of two group means is not the overall mean unless the groups are the same size. Combine the raw sums and counts instead — or paste all the raw data in here at once. The same warning applies to probabilities built from summaries; for event chances themselves, use the probability calculator.

Reading a Summary Critically

A summary can be accurate and still mislead, so read any published set of statistics with three questions. First: which centre is quoted, and would another centre tell a different story — an “average” salary at a company where executives out-earn everyone is the classic case. Second: is a spread reported at all, and if so, which one — a mean without a standard deviation, or a median without an IQR, is half a summary. Third: how large is n? A mean of three values moves wildly when one changes; a mean of three thousand barely notices. Run the same three questions over your own results table before quoting it: if the mean and median disagree sharply, say so and explain the skew; if the sample is small, say that too. The calculator gives you every figure needed to answer all three questions honestly.

When a Statistics Summary Is the Right Tool

Descriptive statistics are the first step of every data argument: before testing a hypothesis or fitting a model, you summarise what you have. A teacher comparing two classes, a coach comparing two training blocks, a shop owner comparing two months of takings — all start with centre and spread. The discipline this statistics calculator enforces is to report them together: a mean without a standard deviation hides whether the typical value is typical at all, and a median without an IQR hides how wide the middle really is. Paste your data in, read the centre and the spread side by side, and the summary will survive the questions a bare average cannot.

Frequently Asked Questions

What does a statistics calculator compute?

A statistics calculator summarises a data set with descriptive statistics: the count, sum, mean, median and mode (the centre), and the range, quartiles, interquartile range, variance and standard deviation (the spread). This one also prints the sorted data and a frequency table, and shows the working behind the mean, median and standard deviation.

What is the difference between population and sample standard deviation?

Population standard deviation divides the squared differences by n and is correct when your data is the whole group you care about. Sample standard deviation divides by n − 1 instead, which corrects the downward bias when your data is only a sample of a larger group. With the data set 2, 3, 4, 5, 6, 7, 8, 8, 8, 9 the population value is about 2.28 and the sample value about 2.40.

How do I find the median of an even number of values?

Sort the data and average the two middle values. For 2, 3, 4, 5, 6, 7, 8, 8, 8, 9 the two middle values are 6 and 7, so the median is (6 + 7) ÷ 2 = 6.5. The median need not be one of the data values themselves.

Can a data set have more than one mode — or none?

Yes to both. A data set is bimodal when two values tie for the highest frequency, and multimodal when more tie. If every value appears exactly once, there is no mode at all. The calculator lists every tied mode and says 'no mode' when no value repeats.

When should I use the median instead of the mean?

Use the median when the data is skewed or has outliers — incomes, house prices, and waiting times are classic cases. A single very large value drags the mean upward but barely moves the median, so the median describes the typical case better. Report both when you can; a big gap between them is itself a signal about the data.

What is the interquartile range (IQR)?

The IQR is Q3 − Q1: the spread of the middle half of the data, ignoring the top and bottom quarters. For the example data set above, Q1 = 4 and Q3 = 8, so the IQR is 4. Because it ignores extremes, the IQR is the spread measure that pairs naturally with the median, just as standard deviation pairs with the mean.

How many numbers can I paste into the calculator?

There is no fixed limit — the calculation runs in your browser, so class-sized and survey-sized data sets (hundreds or thousands of values) are handled instantly. Separate values with commas, spaces, semicolons or line breaks; anything that is not a number is ignored.

Is this statistics calculator free?

Yes — every tool on Math Solver Free is completely free, with no sign-up, no account, and no usage limits. All calculations run privately in your browser, so the data you enter never leaves your device.

Related Tools & Guides

About the MathSolverFree Team

The MathSolverFree Team builds and maintains the calculators and step-by-step solvers on this site. Every tool is checked against worked textbook examples before it is published, and the method behind each solver is written out in full — in the worked examples on the page and in our guides — so you can see exactly how an answer is reached, not just the answer itself.

How we build and test our tools·More about the team