Online Z-Score Calculator
This free z-score calculator converts a raw score into a standard score using the mean (μ) and standard deviation (σ) of its distribution, and works in reverse, turning a z-score back into the raw score it came from. Results update live as you type: alongside the z-score, the tool returns P(Z < z), P(Z > z), and P(|Z| < z), so you skip z-table lookups. No sign-up, no downloads.
Use it for statistics homework, comparing exam scores, or any time you need to know where one value sits inside a dataset. A z-score expresses distance from the mean in standard-deviation units, which is what makes comparisons across scales possible: a 72 on a test with σ = 5 is far more impressive than a 72 on a test with σ = 15, and the z-score makes that difference explicit.
The Z-Score Formula
The z-score formula is:
z = (x − μ) / σ
where:
- x is the raw score – the individual value you’re measuring (a test result, a part’s diameter).
- μ (mu) is the mean of the population or distribution you’re comparing against.
- σ (sigma) is the standard deviation of that same population.
Reading the result: a z-score of 0 means the value sits exactly at the mean. Positive means above the mean, negative means below, and the magnitude tells you how many standard deviations away. A z-score of 1.5 is 1.5 standard deviations above the mean; −0.8 is 0.8 below it.
The formula can be inverted, which is why the calculator offers two modes:
x = μ + zσ
Use that direction when you know the target position – say, a top-10% cutoff – and need the corresponding raw score.
Population vs. sample. When you’re standardizing values from a sample rather than a full population, substitute the sample mean x̄ and sample standard deviation s for μ and σ. The algebra is identical; only the symbols change.
How to Use the Z-Score Calculator (Step by Step)
- Choose a mode. Select Raw Score → Z-score to convert a value into a standard score, or Z-score → Raw Score to convert a z-value back to its raw score.
- Enter the mean (μ): Type the average of the population or group you’re comparing against.
- Enter the standard deviation (σ): Type the spread of that same population.
- Enter your raw score (x): or, in the second mode, the target z-score.
- Read the results: The calculator instantly returns the z-score (or raw score) plus the three probabilities under the standard normal distribution.
Everything recalculates live as you type – there’s no calculate button. Before you trust the output, double-check that μ and σ describe the same group as your raw score; mixing a sample’s σ with a population value is the most common input error.
Worked Example: Exam Scores
A class of 40 took a statistics exam. The class mean was μ = 70 and the standard deviation was σ = 10. You scored x = 85. Where do you stand?
Step 1: Apply the formula.
z = (85 − 70) / 10 = 15 / 10 = 1.5
Your score is 1.5 standard deviations above the class mean.
Step 2: Read the probabilities from the standard normal distribution:
- P(Z < 1.5) = 0.9332 — roughly 93.3% of the class scored at or below 85. You’re near the 93rd percentile.
- P(Z > 1.5) = 0.0668 — about 6.7% scored higher than you.
- P(|Z| < 1.5) = 0.8664 — 86.6% of all scores fall within 1.5 standard deviations of the mean, i.e. between 55 and 85.
Step 3: Use the reverse direction. A gym awards a badge to lifters whose bench press sits at or above z = 1.28 (the top 10% of a roughly normal distribution). If the club mean is 180 lb with σ = 25 lb, the cutoff raw score is x = 180 + (1.28 × 25) = 212 lb. Verify it: enter z = 1.28, μ = 180, σ = 25 in Z-score → Raw Score mode.
What a Z-Score Tells You (and What It Doesn’t)
Assuming the underlying data is roughly normal, the empirical rule (68–95–99.7) applies:
- About 68.27% of values fall within ±1 standard deviation (|z| < 1)
- About 95.45% within ±2 standard deviations
- About 99.73% within ±3 standard deviations
So |z| > 2 is already unusual (roughly 1 in 20 values), and |z| > 3 is rare (about 1 in 370). One caution: a z-score can be computed for any dataset, but the probability statements above only hold when the distribution is approximately normal — for heavily skewed data (incomes, house prices), a large z-score may be ordinary rather than exceptional.
Common Mistakes When Calculating Z-Scores
- Swapping x and μ. The formula is (x − μ) / σ, not (μ − x) / σ. Reversing the subtraction flips the sign of the z-score: the magnitude is right, the direction is wrong.
- Using the wrong σ. The standard deviation must describe the same population as the mean — plugging a sample’s σ into a population comparison (or the reverse) silently shifts every z-score.
- Reading the z-table from the wrong side. Most tables give the left-tail area P(Z < z). For a right-tail probability, subtract from 1: P(Z > 1.5) = 1 − 0.9332 = 0.0668.
- Assuming normality automatically. The arithmetic works for any data, but the probability interpretation needs a roughly normal distribution.
- Forgetting that z is unitless. z = 1.5 means “1.5 standard deviations above the mean” whether the unit is inches, dollars, or degrees — never attach units to a z-score.
- Treating one z-score as a verdict. A z-score describes one value’s position in one distribution — it says nothing about measurement error or whether the distribution itself has shifted.
Frequently Asked Questions
What is a z-score in statistics?
A z-score (standard score) measures how many standard deviations a value is from the mean of its distribution. Positive means above the mean, negative means below, and zero means exactly at the mean. It’s the standard way to compare values from different datasets measured on different scales.
What is the formula for a z-score?
z = (x − μ) / σ, where x is the raw score, μ is the population mean, and σ is the population standard deviation. For sample data, use the sample mean x̄ and sample standard deviation s in the same formula.
How do I convert a z-score back to a raw score?
Rearrange the formula: x = μ + zσ. Multiply the z-score by the standard deviation and add the mean. For example, with μ = 70 and σ = 10, a z-score of 1.5 corresponds to a raw score of 85.
Can a z-score be negative? What does a negative z-score mean?
Yes. A negative z-score simply means the value is below the mean. A z-score of −1.2 is 1.2 standard deviations below the mean — exactly as extreme as +1.2, just on the other side.
What’s the difference between a z-score and a percentile?
They describe the same position in two different languages. The z-score says how many standard deviations away a value is (1.5); the percentile says what fraction of the distribution falls below it (93.3%). For a normal distribution the two are fully interchangeable — every z-score maps to exactly one percentile.
How do I find the probability from a z-score?
Look the z-value up in a standard normal (z) table to get P(Z < z), or use this calculator, which returns all three probabilities directly. If your table only gives left-tail areas, get the right-tail probability by subtracting from 1.
What’s the difference between a z-score and a t-score?
They use the same formula, but the z-score assumes the population standard deviation is known, while the t-score (t-statistic) is used when you estimate it from a sample. For small samples, the t-distribution’s heavier tails make the t-statistic the correct choice.
Is there a good or bad z-score?
Not on its own — context decides. In a class, z = 1.5 is a strong result; in quality control, any |z| > 3 triggers an investigation. Rule of thumb for roughly normal data: |z| > 2 is unusual, |z| > 3 is rare.