Z-Score Calculator

A z-score tells you how many standard deviations a value lies above or below the mean: z = (x − μ) ÷ σ. For x = 85, mean = 70 and standard deviation = 10, the z-score is 1.5, which puts the value at about the 93.32nd percentile.

Last updated · By · Runs in your browser, nothing is uploaded

Result

Step-by-Step Solution

Enter your values above to see the full working.

What Is a Z-Score?

A z-score, also called a standard score, converts a raw value into the number of standard deviations it sits from the mean. A z-score of 0 means the value equals the mean, +1 means one standard deviation above it, and −2 means two below it.

This conversion is useful because it puts different measurements on a common scale. A score of 85 on one test and 640 on another cannot be compared directly, but their z-scores can. Z-scores also connect directly to probability: for roughly bell-shaped data, a z-score tells you what share of values fall below a given point.

How to Read a Z-Score

Z-scoreMeaningShare of a normal distribution below it
−3Extremely low0.13%
−2Unusually low2.28%
−1Somewhat below average15.87%
0Exactly average50%
+1Somewhat above average84.13%
+1.5Clearly above average93.32%
+2Unusually high97.72%
+3Extremely high99.87%

A common rule of thumb treats values with a z-score beyond ±2 as unusual and beyond ±3 as very rare, although the right threshold depends on the context.

Z-Score Formula

z = (x − μ) ÷ σ
  • z is the z-score you are calculating.
  • x is the individual value you want to standardise.
  • μ (mu) is the mean of the population. For sample data, use the sample mean x̄.
  • σ (sigma) is the standard deviation. For sample data, use the sample standard deviation s.

You can also run the formula backwards to find the raw value for a given z-score:

x = μ + z × σ

For the z-score of a sample mean rather than a single value, divide by the standard error: z = (x̄ − μ) ÷ (σ ÷ √n). You can get the standard deviation from our standard deviation calculator.

Worked Example: Calculating a Z-Score and Percentile

A student scores 85 on a test where the class mean is 70 and the standard deviation is 10.

  1. Find the distance from the mean: 85 − 70 = 15.
  2. Divide by the standard deviation: 15 ÷ 10 = 1.5.
  3. Convert to a percentile: the area under the standard normal curve to the left of z = 1.5 is 0.9332, so the student scored higher than about 93.32% of the class.
  4. Check by reversing: 70 + 1.5 × 10 = 85.

Comparing Two Different Tests

Maya scored 85 on a test with mean 70 and standard deviation 10. Leo scored 640 on an exam with mean 500 and standard deviation 100.

Raw scoreMeanStd. deviationZ-score
Maya8570101.5
Leo6405001001.4

Leo’s raw number is much bigger, but Maya’s result is slightly stronger relative to her group. That is exactly the kind of comparison z-scores make possible.

How to Use This Z-Score Calculator

  1. Enter the value x you want to standardise.
  2. Enter the mean μ of the dataset or population.
  3. Enter the standard deviation σ. It must be greater than zero.
  4. Read the z-score and the percentile (the area to the left of z) instantly. The step-by-step solution shows the substitution.

If you only have raw data and not the mean and standard deviation, calculate those first with the mean, median and mode calculator and the standard deviation calculator. To go from a z-score to a probability for a hypothesis test, use the p-value from z-score calculator.

Real-World Uses of Z-Scores

  • Education: comparing a student’s results across subjects or against national norms, such as SAT or IQ scores.
  • Medicine: paediatric growth charts report height and weight as z-scores relative to children of the same age, and bone density results are reported the same way.
  • Finance: analysts use z-scores to flag returns or trading volumes that sit unusually far from normal, and credit models use standardised ratios.
  • Quality control: a measurement with a z-score beyond ±3 from the process mean triggers investigation.
  • Data science: standardising variables to z-scores puts features on the same scale before clustering or regression, and flags outliers during cleaning.

Z-Scores and Hypothesis Testing

In a z-test, the test statistic is itself a z-score: how many standard errors the sample mean sits from the value claimed by the null hypothesis. A statistic of 1.96 or more (in absolute value) corresponds to a two-sided p-value of 0.05 or less. Use the p-value from z-score calculator to convert it.

What Are the Most Common Mistakes With the Z-Score Calculator?

  • Applying percentiles to non-normal data. The percentile conversion assumes a bell-shaped distribution. For skewed data, a z-score still measures distance but the percentile will be wrong.
  • Using the wrong standard deviation. Make sure σ describes individual values. If you are standardising a sample mean, divide σ by √n.
  • Mixing up sample and population values. Use population μ and σ when you have them, and sample x̄ and s otherwise.
  • Ignoring the sign. A negative z-score is below the mean, not “wrong”. Its percentile will be under 50%.
  • Treating ±2 as a hard rule. Roughly 5% of values in a normal distribution fall beyond ±2 by chance alone.
  • Entering σ = 0. If every value is identical, the standard deviation is zero and the z-score is undefined.

Where Can You Verify These Formulas?

The definitions and formulas on this page follow standard references. Check them against these sources:

Built and maintained by S. Dilshan. Found a mistake? Email [email protected] with the page address.

Frequently Asked Questions

What is the z-score formula?

z = (x − μ) ÷ σ, where x is the value, μ is the mean and σ is the standard deviation. For sample data use the sample mean and sample standard deviation instead.

What does a negative z-score mean?

A negative z-score means the value is below the mean. A z-score of −1 is one standard deviation below the mean, which corresponds to about the 15.87th percentile in a normal distribution.

How do I convert a z-score to a percentile?

Find the area under the standard normal curve to the left of the z-score. A z-score of 1.5 gives 0.9332, or the 93.32nd percentile. This calculator does the conversion for you.

What is a good or unusual z-score?

There is no universal “good” value because it depends on context. Values between −2 and +2 are typical for roughly normal data, and values beyond ±3 are rare, occurring in about 0.3% of cases.

Can a z-score be greater than 3?

Yes. Z-scores can be any real number. Values beyond ±3 are uncommon in normal data and are often investigated as potential outliers.

What is the difference between a z-score and a t-score?

A z-score uses the known population standard deviation, while a t-score uses the sample standard deviation and the t-distribution, which has heavier tails for small samples. “T-score” is also used in bone density and some psychological tests for a rescaled z-score with mean 50 and standard deviation 10.