CalcOpenly

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).

Updated Checked against 7 worked examples

Try
Result
Result: 0.97725
Shown to up to 6 decimal places, half-up
As a percentage
97.725%
z-score
2

97.725% of values from this distribution lie below 130. x is 2 standard deviations above the mean.

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 to 50 digits 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 − μ) ÷ σ. Take an exam where the mean mark is 72 and the standard deviation is 8, and a student who scores 84.

  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.

In the calculator, choose P(X < x) with mean 72, SD 8 and x = 84; it returns 0.933193 and shows z = 1.5. 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 from different scales. A 610 on a test with mean 500 and SD 100 has z = (610 − 500) ÷ 100 = 1.1, the 86th percentile. The exam mark of 84 is the stronger result relative to its group, even though 610 is the bigger number.

To go from a z-score back to a raw value, reverse the formula: x = μ + zσ. The student who wants to be in the top 10% needs z = 1.2816, so a mark of 72 + 1.2816 × 8 = 82.25. The calculator's inverse mode, with 90% as the area to the left, returns 82.2524.

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.84134 − 0.06681 = 0.77454, or 77.45%. The P(a < X < b) mode does this subtraction for you.

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 and need interpolation in between; the calculator evaluates Φ directly for any z.

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. A student at the 90th percentile scored higher than 90% of the group, which says nothing about whether they answered 90% of the questions correctly. To set grade boundaries from such cut-offs, the grade curve calculator applies them to a whole class.

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.

Waiting times are a standard case. If the time until the next bus follows an exponential distribution with a mean of 10 minutes, its standard deviation is also 10 minutes. A normal model with those figures predicts that 2.28% of waits exceed 30 minutes (mean + 2σ) and that 15.87% fall below 0 minutes (mean − σ). The exponential model gives 4.98% above 30 minutes, more than twice as many, and none below zero, since a wait cannot be negative.

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 standard deviations of the mean, so at least 75% within 2σ and 88.9% within 3σ. These are floors, much weaker than the normal figures of 95.45% and 99.73%.

Small samples raise a separate issue. When μ and σ are themselves estimated from a handful of values, z-scores still describe position, but probabilities and intervals for the mean should come from Student's t distribution, which the t, chi-square and F distribution calculator covers. Counts, such as the number of defective items in a batch, follow the binomial distribution, available in the binomial and Poisson calculator.

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 choosing the mode.
  • 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); Python 0.5·erfc(−2/√2) = 0.9772498681

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: 68–95–99.7 rule; Python math.erf(1/√2) = 0.6826894921

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); Python statistics.NormalDist(100, 15).inv_cdf(0.95) = 124.6728044

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; Python NormalDist(100, 15).inv_cdf(0.025) and inv_cdf(0.975)

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 exact multiplier for 95% is 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.

How accurate is the normal distribution & z-score calculator?

Accuracy depends on your inputs and the method's assumptions. Decimal arithmetic uses 50 significant digits, but estimates, numerical methods and source data can be less precise; the displayed rounding does not remove those limits. It is checked against 7 worked examples whose answers come from independent sources; for example, “IQ below 130 (z = 2)” is checked against Standard normal table Φ(2.00) = 0.97725 (NIST e-Handbook §1.3.6.7.1); Python 0.5·erfc(−2/√2) = 0.9772498681.

Where does the method come from?

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

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

7 worked examples with independently sourced answers ship with this calculator. They run in the test suite; you can run them here too.

Related calculators

Allow optional Google Analytics to measure page visits? Calculators work either way. Privacy and choices

Optional analytics: off.