Statistics Problems Solved Step by Step: Mean to Z-Scores
A statistics math solver is only genuinely useful if you can follow what it did, not just copy the number it gives back. This post works through five common statistics problems by hand, the same way a good solver would show them: mean and median, standard deviation, a probability, a z-score, and a percentile. Each one is solved in full, checked, and stated as a clear final answer, so you have something concrete to compare your own work against the next time a similar problem shows up in an assignment.

Key takeaways
- Mean and median can tell very different stories about the same data set, especially when an extreme value is involved.
- Standard deviation measures how spread out the data is, using every value rather than just the highest and lowest.
- A z-score puts a single value into standard deviation units, which makes it possible to compare across different data sets.
- Percentile tells you where one value ranks compared to the rest of the data, not what raw percentage it represents.
- Checking a statistics answer usually means re-deriving it a slightly different way, not just rereading the same calculation.
How a step-by-step statistics solver checks its own work
A good statistics math solver does the same thing you should do by hand: identify exactly which formula the question calls for, plug in the values carefully, and then verify the result with a quick second calculation, like confirming that all the probabilities in a situation add to 1, or that a standard deviation squared matches the variance it came from. The five examples below follow that same pattern, with the check written out explicitly each time.
Most mistakes in a statistics problem happen at the formula-picking step, not the arithmetic step. Mean, median, standard deviation, probability, z-score, and percentile each answer a different question, and mixing up which one a problem is actually asking for produces a confidently wrong answer built on perfectly correct arithmetic. Reading the question twice, and noting in your own words exactly what it is asking for before picking a formula, prevents most of that confusion before it starts.
Worked examples
Example 1: mean and median with an outlier
A student records the minutes spent on 5 homework problems: 3, 4, 5, 6, and 32. Find the mean and the median.
- Add all five values to find the mean.
- Divide by the number of values, 5.
- Sort the values and take the middle one to find the median.
So the mean is minutes and the median is minutes. Check it by noticing why the two differ so much: the 32-minute problem is an outlier that pulls the mean upward, while the median, unaffected by the size of that one value, stays close to what a typical problem actually took. If a report on this student's homework habits only quoted the mean, it would suggest a typical problem took twice as long as it really did.
Example 2: standard deviation of test scores
Eight students score 70, 70, 70, 70, 90, 90, 90, 90 on a quiz. Find the population standard deviation.
- Find the mean of the eight scores.
- Subtract the mean from each score and square the result.
- Average the eight squared differences (four 100s and four more 100s), then take the square root.
So the standard deviation is . Check it by confirming the variance, 100, is the square of the standard deviation: . This mean and standard deviation are reused in Example 4.
Example 3: a probability from a bag of marbles
A bag holds 4 red marbles, 3 blue marbles, and 3 green marbles. Find the probability of drawing a blue marble at random.
- Find the total number of marbles in the bag.
- Divide the number of blue marbles by the total.
So the probability is , or 30 percent. Check it by adding up the probabilities of all three colors: , which is exactly what a complete set of outcomes should add to.
Example 4: a z-score
Using the class from Example 2, where the mean score was 80 and the standard deviation was 10, find the z-score for a student who scored 95.
- Recall the z-score formula, which compares a value to the mean in standard deviation units.
- Substitute the score, mean, and standard deviation.
- Simplify the numerator, then divide.
So the z-score is , meaning the 95 sits one and a half standard deviations above the mean. Check it by reversing the formula: a z-score of 1.5 times the standard deviation of 10 is 15, and , which matches the original score.
Example 5: a percentile rank
Out of 50 students who took a test, 42 scored lower than you did. Find your percentile rank.
- Use the percentile rank formula: the share of the group that scored below you, turned into a number out of 100.
- Substitute the two known values.
- Divide first, then multiply by 100.
So you are in the th percentile. Check it by working backward: 84 percent of 50 students is , which matches the number of students who scored below you. For the formulas behind these last two examples laid out in one place, see Probability Formulas for Stats Class, With Examples and Statistics Review Sheet: Formulas and When to Use Them.
Common mistakes
- Reporting the mean when a data set has an outlier, when the median would describe a typical value far better.
- Forgetting to take the square root at the end of a standard deviation calculation and stopping at the variance instead.
- Reading a z-score's sign backward, treating a negative z-score as above the mean instead of below it.
- Confusing a percentile with a percentage, since a score of 90 percent and a rank in the 90th percentile answer two different questions.
- Skipping the check step, which for statistics problems is usually just a quick, different way of arriving at the same number.
- Rounding too early in a multi-step calculation, like a standard deviation or a z-score, which can shift the final digit of the answer even when every step in between looks correct.
These same five ideas, mean, median, standard deviation, probability, and their extensions, are covered from the ground up in What Is Statistics? Mean, Median, Spread and Probability, and the sample-versus-population distinction that decides whether you divide by or is covered in Population vs Sample in Statistics, With Examples. Scan your next statistics problem and read every step in AI Math Tutor.
AI Math Tutor is a study aid, not a substitute for a teacher, and it can make mistakes: check every step, not just the answer.
Questions
What is a z-score and what does it tell you?
A z-score tells you how many standard deviations a single value sits above or below the mean. A z-score of 1.5 means the value is one and a half standard deviations above the mean; a negative z-score means the value sits below the mean. It is a way to compare values from data sets that use different scales.
How is a percentile different from a percentage?
A percentage describes a share out of 100, like a raw score. A percentile describes where a value ranks compared to the rest of a data set. Scoring 90 percent on a test is a percentage; scoring higher than 90 percent of the class is being in the 90th percentile, and the two numbers do not have to match.
Do you divide by n or n minus 1 when finding standard deviation?
Divide by n, the total count, when the data is the entire population you care about. Divide by n minus 1 when the data is only a sample meant to estimate a larger population. The examples in this post treat each data set as a complete population, so they divide by n.
Why might a mean and a median from the same data set be so different?
A large gap between the mean and the median usually means the data has at least one extreme value pulling the mean away from where most of the data actually sits. The median barely moves in that situation, since it only depends on which value sits in the middle once everything is sorted.