Skip to content
induwara.lk
induwara.lkStatistics · Probability

Normal Distribution Calculator

Enter a mean and standard deviation to get the z-score, the left, right and two-tailed probability for any value, the area between two points, or the value at any percentile, with the bell curve shaded and every step shown. No signup, runs in your browser.

By Induwara AshinsanaUpdated Jun 12, 2026
Normal distributionprobabilities, percentiles & p-values
NIST tables · cross-checked

Centre of the distribution.

Spread; must be greater than 0.

The point you want the probability for.

Which tail?
Examples
-3σ-2σ-1σμ+1σ+2σ+3σ
Standard normal curve, shaded area is the probability above.
z-score
2
percentile 97.72
P(X < x) left
97.72%
0.97725
P(X > x) right
2.28%
0.02275
Two-tailed p-value
0.0455
4.55%

About 97.725% of values fall below 130 (the 97.72499th percentile).

Show working

  1. z = (x − μ) / σ = (130 − 100) / 15 = 2
  2. Φ(z) = 0.97725 → P(X < 130) = 97.725%
  3. P(X > 130) = 1 − Φ(z) = 2.275%
  4. two-tailed p = 2·[1 − Φ(|z|)] = 0.0455
  5. percentile = 100·Φ(z) = 97.72499

Empirical (68–95–99.7) rule

±1σ
68.27%
±2σ
95.45%
±3σ
99.73%
Sources cited

How it works

Every question about a normal distribution N(μ, σ²) reduces to one function: the standard-normal cumulative distribution Φ. Because the normal family is a location–scale family, a raw value x is first standardised into a z-score (NIST §1.3.6.6.1):

z = (x − μ) / σ

The z-score is how many standard deviations the value sits from the mean. Once you have z, the left-tail probability is P(X < x) = Φ(z), and everything else follows:

  • Right tail: P(X > x) = 1 − Φ(z)
  • Two-tailed p-value: 2 · [1 − Φ(|z|)]
  • Percentile of x: 100 · Φ(z)
  • Between a and b: Φ(z_b) − Φ(z_a)
  • Value at percentile p: x = μ + σ · Φ⁻¹(p)

Φ(z) is evaluated from the error function using the Abramowitz & Stegun §7.1.26 rational approximation, where Φ(z) = ½ · [1 + erf(z / √2)]. Its maximum absolute error is 1.5 × 10⁻⁷, finer than any printed Z-table and accurate deep into the tails where tables stop. The inverse, Φ⁻¹(p), uses Peter Acklam's rational approximation refined by a single Halley step against that same Φ, so pushing a percentile out and back round-trips exactly. Values on this page were cross-checked against the NIST/SEMATECH standard-normal table (§1.3.6.7.1), which lists Φ(1.96) = 0.9750 and Φ(2.00) = 0.9772, both reproduced to the displayed digits.

As a built-in sanity anchor the tool also shows the empirical (68–95–99.7) rule: the exact central coverages Φ(1) − Φ(−1) = 0.6827, Φ(2) − Φ(−2) = 0.9545 and Φ(3) − Φ(−3) = 0.9973. The shaded bell curve is drawn deterministically from the density φ(z) = (1/√(2π)) e^(−z²/2), so the picture and the numbers always agree.

Worked examples

Probability below a value, IQ scale

μ = 100, σ = 15, x = 130

  1. z = (130 − 100) / 15 = 30 / 15 = 2.0
  2. Φ(2.0) = 0.97725 → P(X < 130) = 97.725% (≈ 97.7th percentile)
  3. P(X > 130) = 1 − 0.97725 = 2.275%
  4. Two-tailed p = 2 × (1 − 0.97725) = 0.0455
  5. Reading: about 97.7% of the population scores below 130.

Value from a probability, 90th percentile of an exam

μ = 500, σ = 100, p = 0.90

  1. Φ⁻¹(0.90) = 1.28155
  2. x = 500 + 100 × 1.28155 = 628.16
  3. Reading: the mark at the 90th percentile is ≈ 628.

Probability between two values, the classic 95% band

Standard normal: μ = 0, σ = 1, a = −1.96, b = 1.96

  1. z_a = −1.96, z_b = 1.96
  2. Φ(1.96) = 0.97500, Φ(−1.96) = 0.02500
  3. P(−1.96 < Z < 1.96) = 0.97500 − 0.02500 = 0.95000 → 95.0%
  4. Reading: 95% of a standard normal lies within ±1.96σ, the value behind every 95% confidence interval.

Frequently asked questions

Sources & references

Related tools

Comments & feedback

Spotted a bug or want an improvement? Tell us, our team reviews every comment, and good ideas get built. Comments are public and anonymous.

Found a bug, edge case, or want to suggest an improvement?

Email me at [email protected] , most fixes ship within 24 hours.