Z-Score Calculator

Convert a value to a z-score from the mean and standard deviation, look up the probability below or above any z (its percentile and p-value), find the critical z for a probability such as 0.05, or work out the share of a normal distribution between two values. Each result comes with the shaded normal curve and a sentence to copy.

Calculate

Load a worked example

z-score

2.000

z = (130 − 100) / 15. Higher than 97.72% of a normal distribution.

−3−2−10123
Below z, P(Z < z)
0.9772
percentile 97.7
Above z, P(Z > z)
0.0228
Two-tailed p, P(|Z| > |z|)
0.0455
Between −|z| and |z|
0.9545

Report it like this

A value of 130 is 2.00 standard deviations above the mean (z = 2.00). In a normal distribution with mean 100 and SD 15, 97.72% of values lie below it and 2.28% above it.

How to use the calculator

  • Value to z: enter the value, the mean and the standard deviation. You get the z-score, the share of the distribution below it (its percentile) and the one- and two-tailed probabilities.
  • z to p: enter a z-score you already have, for example from a test statistic, to get the probability below, above and in both tails. This replaces a printed z table.
  • p to z: enter a probability and say whether it lies below z, above z or is split between the two tails. Use it to find critical values such as 1.96 for a two-tailed 0.05.
  • Between: enter two values with the mean and SD to get the probability of a value falling between them.

Z-score formula

z = (x − μ) / σ

A z-score says how many standard deviations a value lies above (positive) or below (negative) the mean. Subtract the mean from the value and divide by the standard deviation. A z of 0 is exactly at the mean; a z of 2 is two standard deviations above it.

If the data are normally distributed, the z-score converts directly into a probability with the standard normal distribution: Φ(z) is the share of values below z and 1 − Φ(z) the share above. When the mean and SD come from a sample rather than the whole population, the same formula gives a standardized score, but probabilities for small samples are better taken from the t distribution, which the p-value calculator also covers.

Worked examples

  • IQ of 130 (the default): with mean 100 and SD 15, z = (130 − 100) / 15 = 2.00. 97.72% of a normal distribution lies below z = 2, so the score is higher than about 98% of people; 2.28% score higher.
  • Percentile of z = −1.5: 6.68% of values lie below, so the value is at roughly the 7th percentile.
  • Critical value: a two-tailed probability of 0.05 gives z = ±1.960, with 2.5% in each tail. A one-tailed 0.05 gives 1.645.
  • Between 85 and 115: with mean 100 and SD 15, these are z = −1 and z = 1, and 68.27% of values fall between them. Between 70 and 130 (z = ±2) the share is 95.45%.

Common z-values and the z table

These critical values of the standard normal distribution are used for confidence intervals and two-tailed tests:

Critical z-values for common confidence levels
Confidence levelCritical z (two-tailed)α
90%±1.6450.10
95%±1.9600.05
98%±2.3260.02
99%±2.5760.01
99.9%±3.2910.001

As a rule of thumb, about 68% of a normal distribution lies within one SD of the mean, 95% within two and 99.7% within three. A z-score beyond ±3 is unusual and worth checking as a possible outlier or data entry error. The confidence interval calculator uses these critical values for proportions and the t distribution for means.

How to report a z-score

For a standardized score, give z to two decimals with the reference mean and SD. For a z test, give the statistic and the exact p-value:

The child’s height was 1.8 SD below the mean for age and sex (z = −1.80). The difference in proportions was significant, z = 2.45, p = .014.

In bone densitometry the comparison with young adults is called the T-score and the comparison with people of the same age the Z-score; both are computed with the same formula against different reference groups.

Questions

How do you calculate a z-score?
Subtract the mean from the value and divide by the standard deviation: z = (x − μ) / σ. A score of 130 with a mean of 100 and an SD of 15 gives z = 30 / 15 = 2.
How do I convert a z-score to a percentile?
Find the probability below z in the standard normal distribution, Φ(z), and multiply by 100. z = 2 gives 0.9772, the 97.7th percentile; z = 0 is the 50th percentile and z = −1 about the 16th.
How do I get a p-value from a z-score?
For a two-tailed test, the p-value is twice the probability beyond |z|: p = 2 × (1 − Φ(|z|)). z = 1.96 gives p = 0.050 and z = 2.58 gives p = 0.010. For a one-tailed test, use the probability in the tail of the hypothesis only.
What z-score is significant at 0.05?
For a two-tailed test at α = 0.05 the critical z is ±1.96, so any z beyond 1.96 or −1.96 is significant. For a one-tailed test at 0.05 the critical value is 1.645.
Can a z-score be negative?
Yes. A negative z-score means the value is below the mean. z = −1.5 means one and a half standard deviations below the mean, at about the 7th percentile.
What is the difference between a z-score and a t-score?
A z-score uses a known population SD and the normal distribution. A t statistic uses an SD estimated from the sample and the t distribution, which has heavier tails for small samples. With more than about 30 observations the two give similar p-values.

Sources