Statistics Homework Solver

What are the mean, median, and standard deviation of your data set?

Paste or type your data set and get every core descriptive statistic at once. This tool calculates mean, median, mode, range, variance, and standard deviation — and shows you how each one was computed so you can follow the work, not just copy the answer.

Updated June 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Think of a data set like a class of students walking into a room. The mean is the average height if you lined them all up and divided total height by headcount. The median is the height of the person standing exactly in the middle of the line. The mode is the height that shows up most often — the most common one in the crowd. These three numbers measure the same thing — central tendency — but from different angles, which is exactly why they rarely agree.

Standard deviation is a measure of spread, not center. It tells you how far a typical value sits from the mean. A standard deviation of 2 on a test scored out of 10 is a very different situation than a standard deviation of 2 on a salary measured in thousands. Always interpret it relative to the scale of your data. The variance is just the standard deviation squared — useful in formulas but harder to read as a plain number because its units are squared.

Range is the simplest spread measure: the distance between the smallest and largest value. It takes exactly two data points and ignores everything in between, which is why it is sensitive to outliers. A single extremely high or low value stretches the range dramatically without affecting the mean much at all. That is why most statistics assignments pair range with standard deviation — the two together give a more complete picture of spread than either alone.

When To Use This
Right tool, right situation

Use this tool when you have a list of raw numbers and need to verify your hand calculations before submitting. It is especially useful for checking your work on median (where sorting errors are easy to make) and standard deviation (where the population versus sample distinction causes the most wrong answers).

This tool is appropriate for any introductory or intermediate statistics course covering descriptive statistics. It handles data sets of any reasonable size and supports both population and sample calculations. It is also useful for quick data checks in science labs, psychology experiments, or business data analysis where you need a fast summary of a small data set.

This tool is not appropriate when you need inferential statistics — things like hypothesis tests, confidence intervals, regression, or chi-squared tests. It also does not compute weighted averages, geometric means, or trimmed means. If your assignment asks for a five-number summary or box plot values, you will need to find the first and third quartile separately — this tool does not compute quartiles.

Common Mistakes
Why results sometimes look wrong

The most common mistake is computing standard deviation without sorting out whether the problem wants population or sample. Using N instead of N-1 on a sample of 5 values changes the standard deviation by roughly 10% — enough to flip a correct answer to a wrong one on a graded assignment. The textbook chapter heading usually tells you which to use; so does the phrasing 'sample standard deviation' versus 'standard deviation of the data.'

A close second is misidentifying the median when the data set has an even number of values. Students sort the list correctly, then pick one of the two middle values instead of averaging them. On a list of 6 numbers, the median is the average of positions 3 and 4 — not position 3, not position 4.

A subtler mistake is reporting mode as a frequency rather than a value. Mode is the value that appears most, not how many times it appears. If your data is 4, 4, 7, 9, the mode is 4, not 2. Some problems ask for both — the mode and its frequency — but they are separate answers.

The Math
Worked examples and deeper derivation

Mean is the arithmetic average: sum all values and divide by N. Written as x-bar = (sum of x) divided by N. For a sample, the notation changes to x-bar and the formula stays the same — the distinction between population and sample only changes how you compute variance and standard deviation.

Variance is the average squared deviation from the mean. For population variance: take each value, subtract the mean, square that difference, sum all squared differences, then divide by N. For sample variance, divide by N-1 instead. Standard deviation is the square root of variance, which brings the unit back to the original scale of the data.

The median calculation has a branching condition: for an odd number of values, the median is the value at position (N+1)/2 in the sorted list. For an even count, it is the average of the values at positions N/2 and N/2+1. A common error is forgetting to sort the list first — the median of 3, 1, 2 is 2, not 1.

A student checking their exam prep answers
Data: 85, 90, 78, 92, 88, 76, 95, 84, 89, 91 — Population mode
Mean is 86.8. The median is 88.5, which is higher than the mean, telling the student the lower scores are pulling the average down. Standard deviation of 5.63 shows the grades are clustered fairly tightly — no wild outliers skewing the picture.
A teacher verifying an answer key for a bimodal data set
Data: 3, 5, 5, 7, 9, 9, 11 — Population mode
Mean is 7, median is 7, and mode shows both 5 and 9 — a bimodal result. Many students expect a single mode answer and would mark this wrong. The range of 8 and standard deviation of 2.449 confirm the spread is symmetric around center.
A data analyst doing a quick sanity check on survey response scores
Data: 1, 2, 2, 3, 4, 4, 4, 5 — Sample mode
Sample mean is 3.125. Switching to sample standard deviation (N-1) gives 1.246 instead of the population value of 1.166 — a meaningful difference on a small data set of 8 responses. This matters when the 8 responses are a sample from a larger population, not the entire population itself.
Expert Unlock
The thing most explanations skip

The formula for sample variance divides by N-1 rather than N because a sample's deviations are measured from the sample mean, not the true population mean. Since the sample mean is itself estimated from the data, one degree of freedom is already used up — dividing by N would systematically underestimate population variance. This correction is called Bessel's correction, and it makes sample variance an unbiased estimator of population variance. Note that sample standard deviation — the square root of this — is still slightly biased as an estimator of population standard deviation, a fact most introductory textbooks skip.

Why does my standard deviation not match what my teacher got?

What is the difference between population and sample standard deviation?
Population standard deviation divides the sum of squared differences by N, the total count of values. Sample standard deviation divides by N-1, which corrects for the fact that a sample tends to underestimate the spread of the full population. For most homework problems, if your data set IS the entire group you are studying, use population. If it is a subset drawn from a larger group, use sample.
How do I calculate the mean, median, and mode by hand?
Mean: add all values together and divide by how many there are. Median: sort the values in order and pick the middle one — or average the two middle values if you have an even count. Mode: find which value appears most often. These three measures of center tell different stories about the same data, which is why homework problems almost always ask for all three.
Why does my data set have no mode?
A data set has no mode when every value appears exactly once — there is no single number that repeats more than the others. This is common with small data sets or precisely measured continuous data. Some textbooks write this as 'no mode' and others write 'mode = none' — both are correct.

Need something this doesn't cover?

Suggest a tool — we'll build it →