Maths

Z-Score Calculator

Find how many standard deviations a value is from the mean, with the normal probabilities below and above it.

By Nitin Raturi · Last reviewed

Your value

How to use the Z-Score Calculator

Find how many standard deviations a value is from the mean, and the normal probabilities.

  1. Enter the value.
  2. Enter the mean and the standard deviation.
  3. Read the z-score and the share of values below and above it.

Good to know

  • A positive z is above the mean; a negative z is below it.
  • For a sample, use the sample mean and sample standard deviation.

Use the same unit for the value, mean and standard deviation.

Value (x)

The score or measurement you want to place on the distribution.

How to fill it in

  • Enter a number in the same unit as the mean.

Example

A score of 85 with mean 70 and σ 10 has z = 1.5.

Mean (μ)

The average of the whole group or distribution.

How to fill it in

  • Enter the mean in the same unit as the value.

Example

With the same mean, a score of 55 has z = −1.5.

Standard deviation (σ)

How spread out the values are around the mean.

How to fill it in

  • Enter a number above 0, in the same unit as the value.

Example

About 93.31928% of a normal distribution lies below z = 1.5.

Keep in mind: The probabilities assume the values follow a normal (bell-shaped) distribution.

Z-score

1.5

85 is 1.5 standard deviations above the mean. In a normal distribution, 93.31928% of values lie below it.

P(X < x)
0.933193
P(X > x)
0.066807
Within ±1.5 σ
86.63856%

z = (x − μ) ÷ σ. Probabilities assume a normal distribution. Rounded to six decimals for display.

How this calculator works

  1. Step 1Distancex − μHow far the value is from the mean.
  2. Step 2Z-score÷ σMeasure that distance in standard deviations.
  3. Step 3ProbabilityΦ(z)The share of a normal distribution below z.

A z-score says how many standard deviations a value lies from the mean. It lets you compare values measured on different scales.

If the values follow a normal distribution, the z-score also gives the share of values below and above, worked out without lookup tables.

Worked example: a score of 85

Z-score of 85 when μ = 70 and σ = 10
Z-score
z = (x − μ) ÷ σ
  • xValue 85
  • μMean 70
  • σStandard deviation 10
  1. Distance from the mean85 − 7015
  2. Z-score15 ÷ 101.5
  3. Share belowΦ(1.5)93.31928%

So 85 is 1.5 standard deviations above the mean. A score of 55 in the same test has z = −1.5, the mirror image.

The 68–95–99.7 rule

  • Within 1 σ68.268949%
  • Within 2 σ95.449974%
  • Within 3 σ99.73002%
Share of a normal distribution within k standard deviations of the mean

Read the result

z = 1.96 leaves 2.49979% in the upper tail, which is why 1.96 appears in 95% confidence intervals.

P(X < x) is the percentile as a fraction. P(X > x) is the upper tail, worked out directly so tiny tails stay accurate.

Assumptions and limits

  • Normal shapeProbabilities assume a bell-shaped distribution.
  • σ above 0A zero spread has no z-score.
  • Same unitValue, mean and σ must share a unit.
  • DisplaySix decimals, or scientific notation for tiny tails.

A z-score places one value on the normal curve. Probabilities and tests build on it.

For the chance between two values, use the normal distribution calculator. The p-value calculator turns a test statistic into a p-value, and the standard deviation calculator finds the spread from raw data.

Common mistakes

  • Mistake: Dividing by the variance.

    Instead: Divide by the standard deviation, its square root.

  • Mistake: Reading Φ(z) as the upper tail.

    Instead: Φ(z) is the share below; the upper tail is 1 − Φ(z).

  • Mistake: Using normal probabilities for skewed data.

    Instead: Check the shape first; z itself still works.

Checking the method

Every golden case is re-worked with exact fractions for z and the C library's erfc for probabilities.

The calculator uses a power series near the mean and a continued fraction in the tails. An independent script checks both to 12 significant digits.

Read how we test our calculators, or browse more maths calculators.

Frequently asked questions

What is the z-score formula?

z = (x − μ) ÷ σ. A score of 85 with mean 70 and σ 10 gives z = 1.5.

How do I turn a z-score into a percentile?

For a normal distribution, the percentile is Φ(z): z = 1.5 puts 93.31928% of values below.

What does a negative z-score mean?

The value is below the mean. z = −1 means one standard deviation below.

Why is 1.96 special?

2.49979% of a normal distribution lies above z = 1.96, so ±1.96 encloses 95%.

What share of values lies within one standard deviation?

About 68.268949% for a normal distribution, the first part of the 68–95–99.7 rule.

Sources and methodology

The formulas are standard time-value-of-money results. We check every figure against golden values worked out independently, by closed form and by month-by-month simulation; see the methodology.

Written and maintained by Nitin Raturi, a software engineer (about the author). Last reviewed 3 Nov 2026; next review due by . Found an error? Tell us.

Changelog

  • : Initial release.