ThisCalculator

Everyday

Z Score Calculator: Formula & How to Use It

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

Z Score Calculator: Formula & How to Use It

A z score calculator works out how many standard deviations a given value sits above or below the mean of a data set. You enter the raw score, the population mean, and the population standard deviation, and the calculator returns the z score plus the probability of a value falling below it. The formula is straightforward: z = (x − μ) / σ.

Formula

The z score formula is written as:

z = (x − μ) / σ

Where:

  • x = the raw score you are standardizing (same unit as the data)
  • μ = the population mean (same unit as the data)
  • σ = the population standard deviation (same unit as the data)
  • z = the number of standard deviations x is from the mean (unitless)

A positive z means the raw score is above the mean; a negative z means it is below. A z of 0 means the score equals the mean exactly.

Worked Example

Using the default values from the calculator above: x = 85, μ = 70, σ = 10.

  1. Subtract the mean from the raw score: 85 − 70 = 15
  2. Divide by the standard deviation: 15 ÷ 10 = 1.5
  3. The z score is 1.50

That means a score of 85 is 1.5 standard deviations above the mean of 70. The probability of a randomly chosen value being below 85 is about 93.32% (assuming a normal distribution).

What the Z Score Tells You

The z score is a way to compare values from different distributions or to locate a single value within its own distribution. For example, if one test has a mean of 50 and a standard deviation of 5, a score of 60 gives a z of 2.0. On another test with a mean of 100 and a standard deviation of 20, a score of 130 also gives a z of 1.5. The z scores let you compare performance across the two tests even though the raw scales differ.

In a normal distribution, specific z scores correspond to fixed percentiles:

  • z = −1.96 → 2.5th percentile
  • z = −1 → 15.9th percentile
  • z = 0 → 50th percentile
  • z = 1 → 84.1st percentile
  • z = 1.96 → 97.5th percentile

These are used in statistics to identify outliers (often z beyond ±2 or ±3) and to construct confidence intervals.

When to Use a Z Score vs. a T Score

Use a z score when you know the population standard deviation. That is rare in real research—you usually only have a sample. If you have a sample standard deviation (denoted s) and a sample size under about 30, a t score is more appropriate. The t distribution has heavier tails, which accounts for the extra uncertainty from estimating σ. Many statistical calculators offer both; if you only have sample data, look for a t score calculator instead.

For large samples (n > 30), the t and z values are nearly identical, so the choice matters less. But for small samples, using a z score when you should use a t score will overstate how extreme a value is.

Common Mistakes and Misconceptions

One frequent error is using the sample standard deviation instead of the population standard deviation. The formula is the same, but the interpretation changes: with a sample, you are standardizing relative to the sample, not the whole population. Another mistake is mixing units—if the mean is in kilograms and the raw score is in pounds, the z score is meaningless.

A common misconception is that a z score of 2 means the value is “twice the mean.� It does not. It means the value is two standard deviations above the mean, which could be far more than double if the standard deviation is large. Also, the probability below a z score is only valid if the underlying distribution is approximately normal. For skewed data, the z score still describes distance from the mean, but the percentile interpretation is unreliable.

How to Read the Result

The first output is the z score itself—a unitless number. The second output is the cumulative probability, shown as a percentage. That percentage tells you the proportion of the population expected to fall below that raw score. For example, with the defaults, a z of 1.50 gives 93.32%, meaning about 93% of values are lower than 85.

If you need the probability above the score, subtract the below-probability from 100%. If you need the probability between two z scores, calculate both and subtract the smaller from the larger.

Limitations of the Z Score Formula

The z score itself is a simple algebraic transformation and always works. The limitation comes from the probability interpretation, which assumes a normal distribution. If the data are heavily skewed or have outliers, the z score may still be computed, but the percentile estimate will be inaccurate. Also, the formula requires the population parameters (μ and σ). When those are unknown and estimated from a sample, the result is technically a t score, not a z score.

Another limitation: z scores are sensitive to outliers. A single extreme value can inflate the standard deviation, making all other z scores smaller in magnitude. Always check the distribution before relying on z-based percentiles.

Frequently Asked Questions

What is a good z score?

There is no universal “good� value. In many fields, a z score beyond ±2 is considered unusual, and beyond ±3 is often treated as an outlier. But the context matters: a z of 1.5 is above average but not extreme, while a z of −2.5 is well below average. The percentile is more interpretable than the raw z.

Can a z score be negative?

Yes. A negative z score simply means the raw score is below the mean. For example, if the mean is 70 and the standard deviation is 10, a score of 55 gives z = (55 − 70) / 10 = −1.5. The sign tells you the direction; the absolute value tells you how far.

What is the difference between z score and standard deviation?

Standard deviation (σ) is a measure of spread in the original units. A z score is a standardized value that expresses how many standard deviations a particular score is from the mean. In other words, the z score uses the standard deviation as a unit of measurement.

How do I find the probability from a z score?

You can use a standard normal table (also called a z table) or a calculator that computes the cumulative distribution function. The table gives the area to the left of the z score. For z = 1.50, the table shows 0.9332, or 93.32%. The calculator above does this automatically.

Can I use a z score for non-normal data?

You can compute the z score for any data point, but the percentile interpretation is only valid for normal distributions. For skewed data, the z score still measures distance from the mean, but you cannot accurately convert it to a percentile without knowing the actual distribution shape.

Related

Formula used
in x | Raw score (x) | - | 85 | 0
in mu | Population mean (μ) | - | 70 | 0
in sigma | Population standard deviation (σ) | - | 10 | 0
out z | Z score | z | (x - mu) / sigma | 2
out p_below | Probability below | % | 0.5 * (1 + erf((x - mu) / (sigma * sqrt(2)))) * 100 | 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.