Normal Probability Between Two X Values Calculator

Normal Probability Between Two X Values Calculator

Emerging AI Skill PRO

Enter Calculation

Formula

P(a≤X≤b)=Φ(zb)−Φ(za)where{za=Lower (a)−Mean (μ)SD (σ)zb=Upper (b)−Mean (μ)SD (σ)\begin{gathered} P(a \le X \le b) = \Phi(z_b) - \Phi(z_a) \\[1.5em] \text{where}\quad \left\{ \begin{aligned} z_a &= \dfrac{\text{Lower (a)} - {{\text{Mean }(\mu)}}}{{{\text{SD }(\sigma)}}} \\[0.4em] z_b &= \dfrac{\text{Upper (b)} - {{\text{Mean }(\mu)}}}{{{\text{SD }(\sigma)}}} \end{aligned} \right. \end{gathered}
Usage stats

Advertisement

Results

P(a < X < b)
0.495015
49.5015% of the distribution
Lower z-score (a) -0.6667
Upper z-score (b) 0.6667

Report an error on this page

What this calculator does

This tool computes the probability that a normally distributed random variable X falls between two values, a and b — written \(P(a < X < b)\). You supply the distribution mean (μ), standard deviation (σ), and the two boundary values. The calculator standardizes each boundary into a z-score and uses the standard normal cumulative distribution function Φ to return the exact area under the bell curve between them.

Normal distribution bell curve with the area between two x values a and b shaded
The probability \(P(a<X<b)\) is the shaded area under the normal curve between a and b.

How to use it

Enter the mean and standard deviation of your distribution, then type the lower value a and the upper value b. Press calculate. The result shows the probability as a decimal (0 to 1) and as a percentage, along with the two z-scores. If you enter the values out of order, the calculator automatically treats the smaller one as a and the larger as b.

The formula explained

The probability between a and b equals the CDF at b minus the CDF at a: $$P(a < X < b) = \Phi\!\left(\frac{b-\mu}{\sigma}\right) - \Phi\!\left(\frac{a-\mu}{\sigma}\right).$$ The term \(\frac{x-\mu}{\sigma}\) converts a raw score into a z-score — the number of standard deviations from the mean. \(\Phi(z)\) gives the cumulative area to the left of z under the standard normal curve. Subtracting the two cumulative areas leaves the area strictly between a and b. This calculator evaluates \(\Phi\) using a high-accuracy error-function approximation.

Advertisement
Subtraction of two cumulative normal areas to give the area between a and b
The between-area equals the area left of b minus the area left of a.

Worked example

Suppose IQ scores are normal with \(\mu = 100\) and \(\sigma = 15\), and you want \(P(85 < X < 115)\). The z-scores are $$z_a = \frac{85-100}{15} = -1 \qquad z_b = \frac{115-100}{15} = +1.$$ \(\Phi(1) \approx 0.8413\) and \(\Phi(-1) \approx 0.1587\), so the probability $$\approx 0.8413 - 0.1587 = 0.6827,$$ or about 68.3% — the familiar one-standard-deviation rule.

Common Normal Probabilities and Z-Score Reference

For a standard normal variable \(Z\) (mean 0, standard deviation 1), the probability of falling within \(z\) standard deviations of the mean is \(P(-z<Z<z)=2\Phi(z)-1\). These values hold for any normal distribution once x is converted to a z-score.

z P(-z < Z < z) Percentage
1 0.6827 68.27%
1.645 0.9000 90.00%
1.96 0.9500 95.00%
2 0.9545 95.45%
2.576 0.9900 99.00%
3 0.9973 99.73%

The 68-95-99.7 rule

  • About 68% of values lie within \(\mu \pm 1\sigma\).
  • About 95% lie within \(\mu \pm 2\sigma\) (more precisely 95.45%).
  • About 99.7% lie within \(\mu \pm 3\sigma\) (more precisely 99.73%).

The values 1.645, 1.96 and 2.576 are rounded to three decimals, so the probabilities for them are rounded as well.

Advertisement

Interpreting Your Probability

The result \(P(a<X<b)\) is the proportion of the distribution that lies between \(a\) and \(b\). A result of 0.8186 means that about 81.86% of observations are expected to fall in that range. Equivalently, a randomly chosen observation has that chance of landing there.

A z-score tells you how many standard deviations a value is from the mean. \(z=0\) is the mean, \(z=2\) is two standard deviations above it, and \(z=-1\) is one below it. Comparing \(z_a\) and \(z_b\) shows how wide your interval is in standard-deviation units.

You can compare your answer with the empirical rule. An interval of \(\mu\pm1\sigma\) gives about 0.68, \(\mu\pm2\sigma\) about 0.95 and \(\mu\pm3\sigma\) about 0.997. If your interval is narrower than one of these, expect a smaller probability.

  • Very small values (for example below 0.01) mean the interval is narrow or far out in a tail. Such outcomes are rare under this model.
  • Values near 1 mean the interval covers almost all of the distribution. The remaining probability lies in the tails outside \(a\) and \(b\).

The calculation assumes the variable really is normally distributed with the mean and standard deviation you entered. Real data may be skewed or have heavier tails, which makes tail probabilities less reliable. Check the assumption with a histogram or a normal probability plot. If you estimated \(\mu\) and \(\sigma\) from a small sample, the result is only approximate.

FAQ

Does it matter if I use < or ≤? No. For a continuous normal distribution the probability at any single point is zero, so \(P(a < X < b)\) and \(P(a \le X \le b)\) are identical.

What if my standard deviation is 0? A standard deviation must be positive; with \(\sigma = 0\) the distribution is not defined, so the calculator returns 0.

How accurate is the result? The CDF is computed with the Abramowitz & Stegun approximation, accurate to roughly 7 decimal places — more than enough for typical statistics work.

Last updated:

Most popular in Math and Statistics

View all Math and Statistics calculators