Z-Score Calculator: Step-by-Step Guide
- Raw score (x)
- 85
- You entered
- Population mean (μ)
- 75
- You entered
- Population std dev (σ)
- 10
- You entered
This calculator finds the z-score of a data point from its value, the mean, and the standard deviation of the distribution. You enter the raw score (x), the population mean (μ), and the population standard deviation (σ), and it returns the z-score — the number of standard deviations that x lies from the mean. The z-score is used to compare values from different normal distributions or to find probabilities using the standard normal table.
Formula
The z-score is calculated as:
z = (x – μ) / σ
- x – the raw score (the value you want to standardize), same unit as the data.
- μ – the mean of the population (or sample mean if you are standardizing within a sample), same unit as x.
- σ – the standard deviation of the population (or sample standard deviation), same unit as x.
The result z is a dimensionless number. A positive z means x is above the mean; negative means below.
Worked Example
Using the default values: x = 85, μ = 75, σ = 10.
- Subtract the mean from the raw score: 85 – 75 = 10.
- Divide by the standard deviation: 10 ÷ 10 = 1.
- The z-score is 1.00.
This means a score of 85 is exactly one standard deviation above the mean of 75.
When to Use a Z-Score
Use a z-score when you want to:
- Compare a single value across different distributions (e.g., test scores from two different exams).
- Find the probability of a value occurring in a normal distribution (using the standard normal table).
- Identify outliers – values with |z| > 2 or 3 are often considered unusual.
- Standardize data before applying certain statistical methods.
How to Read the Result
The z-score tells you how many standard deviations the raw score is from the mean. For example:
- z = 0 – the value is exactly the mean.
- z = 1.5 – the value is 1.5 standard deviations above the mean.
- z = -2 – the value is 2 standard deviations below the mean.
In a standard normal distribution, about 68% of values lie between z = -1 and z = 1, 95% between -2 and 2, and 99.7% between -3 and 3.
Common Mistakes
- Using sample standard deviation instead of population. If you only have a sample, use the sample standard deviation (n-1 denominator) – but the formula is the same. The calculator assumes you provide the correct σ.
- Mixing units. All three inputs must be in the same unit. If x is in inches, μ and σ must also be in inches.
- Forgetting the parentheses. In a manual calculation, always subtract before dividing: (x – μ) / σ, not x – μ/σ.
- Using the mean of a sample when you have the population mean. The z-score is most meaningful when μ and σ describe the entire population.
- Rounding too early. Keep at least two decimal places in intermediate steps to avoid rounding errors.
Tips
- If you are working with a sample and only have the sample mean and sample standard deviation, you can still compute a z-score, but it is technically a “standardized score” rather than a true z-score for the population.
- For a normal distribution, a z-score of ±1.96 corresponds to the 2.5th and 97.5th percentiles – useful for confidence intervals.
- To find probabilities, look up the z-score in a standard normal table (or use a calculator with normal CDF function).
- If your data is not normally distributed, the z-score still measures distance from the mean, but probability interpretations may not hold.
- Always double-check that you have the correct standard deviation – a small error here changes the z-score significantly.
Troubleshooting
If the result seems too large or too small: Check that you entered the correct mean and standard deviation. A z-score of 10 or more is extremely rare – it usually means you entered the standard deviation as the variance (or vice versa).
If you get a negative z-score when you expected positive: Make sure you subtracted the mean from x (not the other way around). The formula is (x – μ), not (μ – x).
If the calculator shows an error: Ensure the standard deviation is not zero. A zero standard deviation means all values are identical – the z-score is undefined (division by zero).
If you are unsure whether to use population or sample standard deviation: If your data covers the entire group you are studying (e.g., all students in a class), use the population σ. If it is a random sample, use the sample standard deviation (usually denoted s).
Frequently Asked Questions
What is a good z-score? There is no “good” or “bad” – it depends on context. A z-score of 0 means average, positive means above average, negative below. In many fields, |z| > 2 is considered unusual.
Can I use a z-score for non-normal data? You can calculate it, but the usual probability interpretations (like 95% within ±2) only apply if the data is approximately normal.
What is the difference between z-score and t-score? A z-score uses the population standard deviation. A t-score uses the sample standard deviation and is used when the population σ is unknown, typically with small samples.
How do I find the probability from a z-score? Use a standard normal table or a calculator with normal CDF. For example, z = 1.00 corresponds to a cumulative probability of about 0.8413 (84.13% of values are below).
What does a z-score of 1.5 mean? It means the value is 1.5 standard deviations above the mean. In a normal distribution, about 93.3% of values are below it.
Can z-scores be negative? Yes, if the raw score is below the mean. For example, x = 65 with μ = 75 and σ = 10 gives z = -1.0.
Related
Formula used
in x | Raw score (x) | - | 85 | 0 in mu | Population mean (μ) | - | 75 | 0 in sigma | Population std dev (σ) | - | 10 | 0 out z | Z-score | - | (x - mu) / sigma | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.