Normal distribution & z-score calculator

Normal distribution calculator: z-scores, the probability below, above or between values, and the value at any percentile (inverse normal).

Drafted with AI writing toolsUpdated Checked examples: 7

Try
Result
Result: 0.97725
Maximum decimal places: 6; Nearest, ties away from zero
As a percentage
97.725%
z-score
2

97.725% of values from this distribution lie below 130. The z-score is 2; zero is at the mean, negative is below and positive is above.

P(X < 130)

00.010.025075100125150xDensityx = 130
How it's calculated S
  1. Distribution

    X∼N(100, 152)X \sim N(100,\ 15^2)
  2. Standardize

    z=130−10015=2z = \frac{130 - 100}{15} = 2
  3. Area to the left

    P(X<130)=Φ(2)=0.9772498681P(X < 130) = \Phi(2) = 0.9772498681

About the normal distribution & z-score calculator

A normal distribution is fixed by its mean μ and standard deviation σ. The calculator turns a value into a z-score, z = (x − μ)/σ, and reads the area under the bell curve to the left of z from the standard normal cumulative distribution Φ, computed from the error function using 50-digit decimal arithmetic instead of looked up in a printed table. Areas above, between and outside two values follow from Φ; inverse mode runs the other way, from an area to the value x.

The defaults describe IQ scores (mean 100, SD 15): a score of 130 has z = 2, and 97.725% of scores lie below it. The same steps turn test scores into percentiles and give reference ranges; the central 95% of IQ scores runs from 70.6 to 129.4.

The answers are only as good as the normal model. Skewed or heavy-tailed data, such as incomes or waiting times, can put far more than the predicted 0.27% of values beyond 3σ, so check a histogram before trusting far-tail figures.

How to calculate a z-score and its percentile

A z-score counts how many standard deviations a value sits from the mean: z = (x − μ) ÷ σ. On an exam with mean 72 and standard deviation 8, a score of 84 has z = 12 ÷ 8 = 1.5. The normal area to its left, Φ(1.5) = 0.93319, puts it at the 93rd percentile.

  1. Subtract the mean: 84 − 72 = 12 marks above average.
  2. Divide by the standard deviation: z = 12 ÷ 8 = 1.5.
  3. Look up the area to the left of z = 1.5 under the standard normal curve: Φ(1.5) = 0.93319.
  4. Read it as a percentile: the score is at about the 93rd percentile, and the normal model puts 6.68% of students above it.

Scores below the mean give negative z-scores. A mark of 60 has z = (60 − 72) ÷ 8 = −1.5, and Φ(−1.5) = 0.06681 puts it near the 7th percentile.

Because z has no units, it compares results on different scales. A 610 on a test with mean 500 and SD 100 has z = 1.1, the 86th percentile, so the exam mark of 84, at z = 1.5, is the stronger result even though 610 is the bigger number.

To go from a z-score back to a raw value, reverse the formula: x = μ + zσ. A student aiming for the top 10% needs z = 1.2816, so a mark of 72 + 1.2816 × 8 = 82.25, or 82.2524 with z carried to more digits.

The 68–95–99.7 rule, extended

The rule gives the share of a normal distribution within 1, 2 and 3 standard deviations of the mean. For the exam, 68% of marks fall between 64 and 80 and 95% between 56 and 88. Further out, the tails thin quickly:

Within ±kσShare insideShare outsideAbout 1 value in
1σ68.27%31.73%3
1.5σ86.64%13.36%7
2σ95.45%4.55%22
2.5σ98.76%1.24%81
3σ99.73%0.27%370
4σ99.9937%0.0063%15,787
5σ99.99994%0.000057%1,744,278
6σ99.9999998%0.000000197%506,797,346

The "share outside" column is split equally between the two tails, so only half of it lies above the mean. About 1 value in 44 is more than 2σ above the mean, not 1 in 22.

Intervals that are not symmetric need two lookups. The share of exam marks between 60 and 80 runs from z = −1.5 to z = 1, so it is Φ(1) − Φ(−1.5) = 0.841345 − 0.066807 = 0.774538, or 77.45%.

Z-table: area to the left of z

A cumulative z-table gives Φ(z), the share of the distribution below z. The table below lists it for positive z with the two related areas beside it.

zArea below z, Φ(z)Area above zArea between −z and z
0.000.500000.500000.00000
0.250.598710.401290.19741
0.500.691460.308540.38292
0.750.773370.226630.54675
1.000.841340.158660.68269
1.250.894350.105650.78870
1.500.933190.066810.86639
1.750.959940.040060.91988
2.000.977250.022750.95450
2.250.987780.012220.97555
2.500.993790.006210.98758
2.750.997020.002980.99404
3.000.998650.001350.99730
3.500.999770.000230.99953

For a negative z, use the symmetry of the curve: Φ(−z) = 1 − Φ(z). So Φ(−1.5) = 1 − 0.93319 = 0.06681, the area above +1.5. Printed tables stop at two decimal places of z, so values in between need interpolation.

Percentiles and cut-offs

Working backwards from a percentile to a value is the inverse normal problem. Find the z for the percentile, then convert with x = μ + zσ.

Percentilez
1st−2.3263
5th−1.6449
10th−1.2816
20th−0.8416
25th−0.6745
50th0
75th0.6745
80th0.8416
90th1.2816
95th1.6449
99th2.3263
99.5th2.5758

For the exam, the lowest 5% of marks fall below 72 − 1.6449 × 8 = 58.84, and the middle half lies between the 25th and 75th percentiles, 72 ± 0.6745 × 8, or 66.60 to 77.40.

A percentile is a rank, not a mark: the 90th percentile beats 90% of the group, whatever share of the questions it got right. To rescale a whole class to a new mean and standard deviation instead, use the grade curve calculator.

When data are not normal

A z-score can be computed for any data set, but turning it into a percentile through Φ assumes the bell shape. Skewed data break that assumption in both tails at once.

Take bus waits that follow an exponential distribution, with mean and SD both 10 minutes. A normal model predicts 2.28% of waits above 30 minutes and 15.87% below 0; the exponential gives 4.98% above 30, more than twice as many, and none below 0.

Before trusting a percentile, check the data:

  • Look at the histogram and skewness. The descriptive statistics calculator draws both; a skewness beyond about ±1 is a warning.
  • Use a normal probability plot. Data from a normal distribution fall close to a straight line; curvature signals skew and bends at the ends signal heavy or light tails (NIST/SEMATECH e-Handbook, §1.3.3.21).
  • Fall back on a guaranteed bound. Chebyshev's inequality holds for any distribution: at least 1 − 1/k² of values lie within k SDs of the mean, so at least 75% within 2σ and 88.9% within 3σ, against 95.45% and 99.73% for the normal.

With μ and σ estimated from a small sample, probabilities and intervals for the mean come from Student's t, in the t, chi-square and F distribution calculator. Counts, such as defective items in a batch, follow the binomial distribution.

Mistakes that change the answer

  • Dividing by the variance. z uses the standard deviation. For the exam, 12 ÷ 64 gives z = 0.1875 and a 57th percentile instead of the 93rd.
  • Reading the wrong tail. "Scored higher than 84" is P(X > 84) = 6.68%, the complement of P(X < 84). Sketch the curve and shade the area before looking anything up.
  • Rounding z before the lookup. z = 1.96 and z = 2 differ by 0.04, but the areas above them are 2.50% and 2.28%, and the second is 9% smaller. Carry z to at least two decimal places.
  • Worrying about < versus ≤. For a continuous distribution the chance of hitting one exact value is zero, so P(X < 84) and P(X ≤ 84) are equal.

Worked examples

IQ below 130 (z = 2)

Find
P(X < x)
Mean μ
100
Standard deviation σ
15
Value x
130
Result
0.97725
z-score
2

Checked against: Standard normal table Φ(2.00) = 0.97725 (NIST e-Handbook §1.3.6.7.1)

Within one SD (85 to 115)

Find
P(a < X < b)
Mean μ
100
Standard deviation σ
15
Lower value a
85
Upper value b
115
Result
0.682689
z-score
-1
z-score of b
1

Checked against: Independent calculation

95th percentile of IQ

Find
x for a given area (inverse)
Mean μ
100
Standard deviation σ
15
Area given
Left of x (percentile)
Area
95%
Result
124.672804

Checked against: z₀.₉₅ = 1.644854 (z table)

Central 95% of IQ

Find
x for a given area (inverse)
Mean μ
100
Standard deviation σ
15
Area given
Central, between μ − d and μ + d
Area
95%
Lower value μ − d
70.60054
Upper value μ + d
129.39946

Checked against: z₀.₉₇₅ = 1.959964

Questions

How do you calculate a z-score?

Subtract the mean and divide by the standard deviation: z = (x − μ)/σ. An IQ of 130 on a scale with mean 100 and SD 15 gives z = (130 − 100)/15 = 2, two standard deviations above average. A negative z-score lies below the mean, and z = 0 is exactly at the mean. The z-score has no units, so scores from different tests can be compared on it.

What is the 68–95–99.7 rule?

In a normal distribution, 68.27% of values lie within 1 standard deviation of the mean, 95.45% within 2 and 99.73% within 3. For IQ (mean 100, SD 15) that puts about 68% of people between 85 and 115 and 95% between 70 and 130. The multiplier for a central 95% area is approximately 1.959964, usually rounded to 1.96, not 2, which is why 1.96 appears in confidence intervals.

What percentile is a z-score of 1?

The 84.13th percentile. A percentile is the area to the left of z, Φ(z), times 100. Other common values: z = 1.645 is the 95th percentile, z = 1.96 the 97.5th, z = 2 the 97.72nd and z = −1 the 15.87th. To look any up here, choose P(X < x), set the mean to 0 and the SD to 1, and enter the z-score as x.

Why does my z table give 0.4772 for z = 2 instead of 0.9772?

Your table lists the area from 0 to z, not from minus infinity. The standard normal table in the NIST/SEMATECH e-Handbook (§1.3.6.7.1) is of this kind: it gives 0.47725 for z = 2.00, and adding the 0.5 below the mean gives Φ(2) = 0.97725. Cumulative tables, and this calculator's P(X < x), give 0.97725 directly.

What z-score corresponds to 95% confidence?

1.96 for a two-sided 95% interval, because 2.5% of the area lies beyond each of −1.96 and +1.96. A one-sided 95% bound uses 1.645. The two-sided values for 90% and 99% are 1.645 and 2.576. Choose 'x for a given area', set the mean to 0 and the SD to 1, and pick the central area to reproduce them.

About this calculator

z=x−μσ,P(X<x)=Φ(z)=12[1+erf⁡ ⁣(z2)]z = \frac{x - \mu}{\sigma},\qquad P(X < x) = \Phi(z) = \tfrac12\left[1 + \operatorname{erf}\!\left(\tfrac{z}{\sqrt2}\right)\right]

Sources

  1. NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.6.6.1 Normal distribution and §1.3.6.7.1 cumulative normal table
  2. Abramowitz & Stegun, Handbook of Mathematical Functions, §26.2 (normal probability function)

Checked against references

This calculator includes 7 worked examples with independently sourced answers. They run in the test suite, and you can run them here too.

Put this calculator on your site

Paste this where you want the calculator to appear. It is free to use, it stays in step with corrections made here, and the credit line below it links back so your readers can find the full version.

Height
Preview the embed

Keep the credit line. It is the only condition, and it is what keeps these calculators free.