Hypothesis Test Calculator – t-Test, Chi-Square, Z-Test with P-Value

Identify the null hypothesis, sampling model and test direction before interpreting the test statistic.

Quick Answer

The Student's t-test, developed by William Sealy Gosset in 1908 (published under the pseudonym "Student"), is the most widely used hypothesis test in science.

Reference distributions with shaded tails
5 Test Types P-Value Computed Step-by-Step 95% CI

Hypothesis Test Calculator

Perform one-sample t-tests, two-sample t-tests, Z-tests, proportion tests, and chi-square goodness-of-fit tests instantly. Get the test statistic, exact p-value, critical values, and a full step-by-step solution — all explained in plain English.

Built by He Loves Math for statistics students, researchers, and data analysts who need fast, reliable, explained results.

The Core Formula

Every hypothesis test reduces to: calculate how far your data is from the null hypothesis in standard-error units.

$$\text{Test Statistic} = \frac{\text{Observed} - \text{Hypothesised}}{\text{Standard Error}}$$

Compare to a critical value (or compute the p-value) to decide: is this difference too large to be explained by chance alone?

Hypothesis Test Calculator — 5 Test Types

Select a test type, enter your values, and click Calculate. The calculator shows the test statistic, exact p-value, critical value, confidence interval (where applicable), and a full step-by-step breakdown.

Use σ if known; otherwise use a t-test
Comma-separated non-negative integers
Comma-separated positive numbers. Sum(O) must equal Sum(E)

This is always a right-tailed test (χ² ≥ 0).

—
—

P-values use statistical approximations. Critical values use embedded tables. Always verify important results with statistical software (R, SPSS, Python scipy.stats).

What Is Hypothesis Testing?

Hypothesis testing is one of the most fundamental tools in inferential statistics — the branch of statistics concerned with drawing conclusions about a population from sample data. Every day, scientists, doctors, engineers, and business analysts use hypothesis tests to make evidence-based decisions: Is this drug more effective than a placebo? Does this manufacturing process produce parts within tolerance? Is there a relationship between customer age and product preference?

The core idea is deceptively simple. You start with a default assumption called the null hypothesis (H₀) — usually that there is no effect, no difference, or no relationship. You then collect sample data and ask: if H₀ were true, how likely would it be to observe data as extreme as what we got? If the answer is "very unlikely" (probability below your chosen threshold α), you reject H₀ in favour of the alternative hypothesis (H₁).

Hypothesis testing never proves that H₀ is false. It only tells you how strongly your data evidence against it. This is a crucial philosophical point: you "reject" or "fail to reject" — you never "accept" or "prove."

The 5 Universal Steps of Hypothesis Testing

  1. State the hypotheses. Formulate H₀ (nil hypothesis — the status quo) and H₁ (alternative — what you want to show). For a two-tailed t-test: H₀: μ = μ₀ vs. H₁: μ ≠ μ₀. The alternative determines whether your test is two-tailed, left-tailed, or right-tailed.
  2. Set the significance level (α). Choose α before collecting data — usually 0.05, sometimes 0.01 or 0.10. α is the maximum probability of making a Type I error (falsely rejecting H₀) you are willing to accept. Choosing after seeing the data is "p-hacking" and invalidates the test.
  3. Calculate the test statistic. Use the appropriate formula for your data type and research question. The test statistic converts your observed data into a standardised number that can be compared to a known probability distribution (t, Z, χ², F, etc.).
  4. Determine the p-value and/or critical value. The p-value is \( P(\text{test statistic this extreme} \mid H_0 \text{ true}) \). The critical value is the boundary: if |test statistic| > critical value, reject H₀. Both approaches always give the same decision.
  5. Make a decision and interpret. "Reject H₀" or "Fail to reject H₀." Then translate this statistical decision into a meaningful conclusion in plain language, acknowledging the effect size and practical significance.

Type I and Type II Errors

Type I Error (False Positive)

Rejecting H₀ when H₀ is actually true. Denoted by α — the significance level is literally the probability of making this error. Example: concluding a drug works when it doesn't.

$$P(\text{Type I}) = \alpha$$

Type II Error (False Negative)

Failing to reject H₀ when H₀ is actually false. Denoted by β. Example: concluding a drug doesn't work when it actually does. Power = 1 − β = probability of correctly detecting a real effect.

$$P(\text{Type II}) = \beta \qquad \text{Power} = 1 - \beta$$

There is always a trade-off: decreasing α (being more conservative about Type I errors) increases β (making Type II errors more likely), and vice versa. This is why sample size matters — larger n increases power, allowing you to reduce both types of error simultaneously.

The t-Test — When σ Is Unknown

The Student's t-test, developed by William Sealy Gosset in 1908 (published under the pseudonym "Student"), is the most widely used hypothesis test in science. It tests hypotheses about population means when the population standard deviation σ is unknown — which is almost always the case in real research. Use the worked standard deviation steps to follow the deviations from the mean before taking the square root.

One-Sample t-Test

Tests whether a single sample mean differs from a hypothesised value μ₀.

One-Sample t-Test $$t = \frac{\bar{x} - \mu_0}{s/\sqrt{n}} \qquad \text{df} = n - 1$$

Where \(\bar{x}\) = sample mean, \(\mu_0\) = hypothesised population mean, \(s\) = sample standard deviation, \(n\) = sample size, and \(s/\sqrt{n}\) = the standard error of the mean (SEM). Use the central limit theorem calculator to explore how increasing the sample size changes the spread of sample means.

The 95% confidence interval for μ is:

$$\bar{x} \pm t_{\alpha/2,\; n-1} \cdot \frac{s}{\sqrt{n}}$$

Two-Sample Independent t-Test

Tests whether the means of two independent groups differ. There are two versions depending on whether population variances are assumed equal.

Pooled t-Test (Equal Variances) $$t = \frac{\bar{x}_1 - \bar{x}_2}{s_p\sqrt{\dfrac{1}{n_1}+\dfrac{1}{n_2}}} \qquad s_p = \sqrt{\frac{(n_1-1)s_1^2 + (n_2-1)s_2^2}{n_1+n_2-2}} \qquad \text{df} = n_1+n_2-2$$
Welch's t-Test (Unequal Variances — Generally Recommended) $$t = \frac{\bar{x}_1 - \bar{x}_2}{\sqrt{\dfrac{s_1^2}{n_1} + \dfrac{s_2^2}{n_2}}} \qquad \text{df} \approx \frac{\left(\dfrac{s_1^2}{n_1}+\dfrac{s_2^2}{n_2}\right)^2}{\dfrac{(s_1^2/n_1)^2}{n_1-1}+\dfrac{(s_2^2/n_2)^2}{n_2-1}}$$

The Chi-Square Test — For Categorical Data

The chi-square (χ²) test is used when analysing categorical data — data that falls into distinct categories rather than being measured on a continuous scale. It compares observed frequencies to expected frequencies.

Chi-Square Goodness-of-Fit $$\chi^2 = \sum_{i=1}^{k} \frac{(O_i - E_i)^2}{E_i} \qquad \text{df} = k - 1$$

Where \(O_i\) = observed frequency in category \(i\), \(E_i\) = expected frequency in category \(i\), and \(k\) = number of categories. The chi-square statistic is always non-negative (\(\chi^2 \geq 0\)), and the test is always right-tailed — we reject H₀ when χ² is large (large discrepancies between observed and expected).

Key assumption: All expected frequencies \(E_i \geq 5\). If this fails, consider combining adjacent categories or using Fisher's exact test.

The Z-Test — When σ Is Known

Z-Test for Population Mean $$Z = \frac{\bar{x} - \mu_0}{\sigma/\sqrt{n}}$$
Z-Test for Population Proportion $$Z = \frac{\hat{p} - p_0}{\sqrt{p_0(1-p_0)/n}} \qquad \hat{p} = \frac{x}{n}$$

Z-tests are compared to the standard normal distribution (N(0,1)). Common critical values: two-tailed α=0.05 → ±1.960; two-tailed α=0.01 → ±2.576; right-tailed α=0.05 → 1.645. Use the 68–95–99.7 rule calculator to check approximate coverage under a normal model.

P-Value vs Critical Value Approach

Both approaches always lead to the same conclusion. Use whichever you find more intuitive:

ApproachMethodDecision Rule
Critical ValueLook up the critical value for your α and df; compare to |test statistic|Reject H₀ if |test stat| > critical value
P-ValueCompute the probability of the observed test statistic under H₀Reject H₀ if p-value < α
Confidence IntervalCompute the 95% CI for the parameterReject H₀ if μ₀ falls outside the CI (two-tailed only)

Effect Size — Beyond Statistical Significance

Statistical significance tells you whether an effect exists. Effect size tells you how large it is. With large samples, even trivial effects become statistically significant. Always report effect size alongside p-values.

Cohen's d (for t-tests) $$d = \frac{\bar{x} - \mu_0}{s} \qquad \text{Benchmarks: } d=0.2 \text{ (small)},\; 0.5 \text{ (medium)},\; 0.8 \text{ (large)}$$
Cramér's V (for chi-square) $$V = \sqrt{\frac{\chi^2}{n \cdot \min(r-1,\; c-1)}} \qquad V=0.1 \text{ (small)},\; 0.3 \text{ (medium)},\; 0.5 \text{ (large)}$$

Quick Reference: Which Test to Use?

Research QuestionData TypeTestStatistic
Is sample mean different from a known value? (σ unknown)ContinuousOne-sample t-testt with df=n−1
Is sample mean different from a known value? (σ known)ContinuousZ-test for meanZ ~ N(0,1)
Do two independent groups have different means?ContinuousTwo-sample t-testt with df=n₁+n₂−2
Is a sample proportion different from a known value?Binary/proportionOne-proportion Z-testZ ~ N(0,1)
Does observed distribution match expected?CategoricalChi-square GoFχ² with df=k−1
Are two categorical variables independent?CategoricalChi-square test of independenceχ² with df=(r−1)(c−1)
Do ≥3 independent groups have different means?ContinuousOne-way ANOVA (F-test)F with df=(k−1, N−k)

Frequently Asked Questions

What is a hypothesis test?

A hypothesis test is a formal statistical procedure for evaluating whether sample data provides sufficient evidence to reject a default assumption (the null hypothesis, H₀). Using a test statistic and a chosen significance level α, you determine whether observed differences are large enough to be considered statistically significant — i.e., unlikely to have occurred by random chance if H₀ were true.

What does the p-value actually mean?

The p-value is the probability of observing a test statistic as extreme as (or more extreme than) your calculated value, assuming H₀ is true. It is NOT the probability that H₀ is true, nor the probability your result is due to chance. A p-value of 0.03 means: if H₀ were true, there's only a 3% chance of getting data this extreme. Since 3% < 5% (α), you reject H₀.

When should I use a t-test vs a Z-test?

Use a Z-test when the population standard deviation (σ) is known. This is rare in practice — usually σ is unknown. Use a t-test when σ must be estimated from the sample standard deviation (s). For large samples (n ≥ 30), the t-distribution closely approximates the normal distribution, so the choice matters less.

What are Type I and Type II errors?

Type I error (false positive): rejecting H₀ when it is true. Probability = α. Type II error (false negative): failing to reject H₀ when it is false. Probability = β. Statistical power = 1 − β = probability of correctly detecting a real effect. Increasing sample size increases power while keeping α fixed.

What are degrees of freedom?

Degrees of freedom (df) is the number of values in a calculation that are free to vary. For a one-sample t-test: df = n − 1 (one df is "used up" estimating the mean). For a two-sample pooled t-test: df = n₁ + n₂ − 2. For chi-square GoF: df = k − 1 (k = categories). Higher df means less uncertainty in the estimated variance and more precise critical values.

What is statistical significance?

A result is statistically significant when p < α, meaning the observed effect is unlikely under H₀. Statistical significance only indicates that an effect exists — it says nothing about its size or practical importance. A large sample can make a tiny difference statistically significant. Always pair significance with effect size (Cohen's d, odds ratio, etc.).

What is two-tailed vs one-tailed testing?

Two-tailed tests detect differences in either direction (μ ≠ μ₀). One-tailed tests detect differences in only one direction (μ > μ₀ or μ < μ₀). Two-tailed tests are more conservative (harder to reject H₀) and are generally preferred unless there is a strong theoretical reason to expect a specific direction — and that reason must be stated before seeing the data.

What does "fail to reject" mean?

"Fail to reject H₀" means your data does not provide sufficient evidence to conclude that H₁ is true at your chosen α level. It does NOT mean H₀ is true or proven correct. It is possible that H₀ is false but your sample was too small, the effect is too small, or there is too much variability to detect it — all scenarios leading to a Type II error.

Advertisement

Build a one-sample t statistic

A sample of 16 independent observations has mean 52 and sample standard deviation 8. Test a population mean of 50 under an appropriate one-sample t model. The standard error is 8 divided by four, or 2. The statistic is the observed difference of 2 divided by its standard error of 2, giving 1. Use 15 degrees of freedom and the direction stated in the research question when reading a p-value. Keep the difference of two original measurement units in the report as well: the standardized statistic no longer carries that unit.

Moving Toward Normality

Let’s take a look at a histogram for the dataset in our section opener:
A histogram titled, results of 10 coin flips. The horizontal axis representing the number of heads ranges from 40 to 55, in increments of 1. The vertical axis representing frequency ranges from 0 to 2, in increments of 1. The histogram infers the following data. 40 to 41: 1. 42 to 43: 1. 47 to 48: 1. 50 to 51: 1. 51 to 52: 1. 52 to 53: 2. 53 to 54: 1. 54 to 55: 2.
This is interesting, but the data seem pretty sparse. There were no trials where you saw between 43 and 47 heads, for example. Those results don’t seem impossible; we just didn’t flip enough times to give them a chance to pop up. So, let’s do it again, but this time we'll perform 100 coin flips 100 times. Rather than review all 100 results, which could be overwhelming, let's instead visualize the resulting histogram.
A histogram titled, results of 100 coin flips. The horizontal axis representing the number of heads ranges from 35 to 71, in increments of 1. The vertical axis representing frequency ranges from 0 to 15, in increments of 5. The histogram infers the following data. 35 to 36: 1. 37 to 38: 1. 39 to 40: 1. 40 to 41: 1. 41 to 42: 1. 42 to 43: 3. 43 to 44: 1. 44 to 45: 6. 45 to 46: 4. 46 to 47: 7. 47 to 48: 10. 48 to 49: 6. 49 to 50: 7. 50 to 51: 13. 51 to 52: 5. 52 to 53: 5. 53 to 54: 7. 54 to 55: 5. 55 to 56: 3. 56 to 57: 4. 57 to 58: 2. 58 to 59: 2. 59 to 60: 2. 61 to 62: 2. 62 to 63: 1. 70 to 71: 1. Note: all values are approximate.
From the histogram, we see that most of the trials resulted in between, say, 44 and 56 heads. There were some more unusual results: one trial resulted in 70 heads, which seems really unlikely (though still possible!). But we’re starting to maybe get a sense of the distribution. More data would help, though. Let’s simulate another 900 trials and add them to the histogram!
A histogram titled, results of 1000 coin flips. The horizontal axis representing the number of heads ranges from 35 to 71, in increments of 1. The vertical axis representing frequency ranges from 0 to 100, in increments of 25. The histogram infers the following data. 35 to 36: 2. 37 to 38: 4. 38 to 39: 3. 39 to 40: 9. 40 to 41: 12. 41 to 42: 10. 42 to 43: 24. 43 to 44: 33. 44 to 45: 40. 45 to 46: 55. 46 to 47: 50. 47 to 48: 73. 48 to 49: 71. 49 to 50: 83. 50 to 51: 81. 51 to 52: 85. 52 to 53: 75. 53 to 54: 58. 54 to 55: 52. 55 to 56: 38. 56 to 57: 45. 57 to 58: 27. 58 to 59: 24. 59 to 60: 13. 60 to 61: 13. 61 to 62: 13. 62 to 63: 5. 63 to 64: 3. 64 to 65: 2. 65 to 66: 2. 66 to 67: 2. 68 to 69: 2. 70 to 71: 2. Note: all values are approximate.
We can still see that 70 is a really unusual observation, though we came close in another trial (one that had 68 heads). Now, the distribution is coming more into focus: It looks quite symmetric and bell-shaped. Let’s just go ahead and take this thought experiment to an extreme conclusion: 10,000 trials.
A histogram titled, results of 10,000 coin flips. The horizontal axis representing the number of heads ranges from 30 to 70, in increments of 1. The vertical axis representing frequency ranges from 0 to 1000, in increments of 250. The histogram infers the following data. 30 to 31: 5. 33 to 34: 5. 34 to 35: 5. 35 to 36: 10. 36 to 37: 15. 37 to 38: 15. 38 to 39: 35. 39 to 40: 60. 40 to 41: 100. 41 to 42: 160. 42 to 43: 245. 43 to 44: 270. 44 to 45: 320. 45 to 46: 530. 46 to 47: 540. 47 to 48: 620. 48 to 49: 710. 49 to 50: 820. 50 to 51: 800. 51 to 52: 790. 52 to 53: 680. 53 to 54: 660. 54 to 55: 620. 55 to 56: 470. 56 to 57: 440. 57 to 58: 310. 58 to 59: 230. 59 to 60: 200. 60 to 61: 150. 61 to 62: 120. 62 to 63: 100. 63 to 64: 50. 64 to 65: 40. 65 to 66: 10. 66 to 67: 10. 67 to 68: 8. 68 to 69: 8. 69 to 70: 5. 70 to 71: 5. Note: all values are approximate.
The distribution is pretty clear now. Distributions that are symmetric and bell-shaped like this pop up in all sorts of natural phenomena, such as the heights of people in a population, the circumferences of eggs of a particular bird species, and the numbers of leaves on mature trees of a particular species. All of these have bell-shaped distributions. Additionally, the results of many types of repeated experiments generally follow this same pattern, as we saw with the coin-flipping example; this fact is the basis for much of the work done by statisticians. It’s a fact that’s important enough to have its own name: the Central Limit Theorem.

The Normal Distribution

In the coin flipping example above, the distribution of the number of heads for 10,000 trials was close to perfectly symmetric and bell-shaped:
A combinational graph titled, results of 100 flips. The combinational graph includes a histogram and a normal distribution curve. The horizontal axis representing the number of heads ranges from 30 to 70, in increments of 10. The vertical axis representing frequency ranges from 0 to 800, in increments of 200. The histogram shows bars of varying heights. A normal distribution curve is drawn across the heights of the bars and it infers the following data. The curve begins at (30, 0), has a peak value at (48, 780), and ends at (70, 0).
Because distributions with this shape appear so often, we have a special name for them: normal distributions. Normal distributions can be completely described using two numbers we’ve seen before: the mean of the data and the standard deviation of the data. You may remember that we described the mean as a measure of centrality; for a normal distribution, the mean tells us exactly where the center of the distribution falls. The peak of the distribution happens at the mean (and, because the distribution is symmetric, it’s also the median). The standard deviation is a measure of dispersion; for a normal distribution, it tells us how spread out the histogram looks. To illustrate these points, let’s look at some examples.

Identifying the Mean of a Normal Distribution

This graph shows three normal distributions. What are their means?
A graph shows three normal distribution curves. The horizontal axis ranges from negative 1 to 5, in increments of 1. The three curves are described as follows. The first curve (red) begins at negative 1, has a peak value at 1, and ends at 3. The second curve (blue) begins at 0, has a peak value at 2, and ends at 4. The third curve (yellow) begins at 1, has a peak value at 3, and ends at 5. The three curves overlap each other and their peaks are of equal height.
Solution
Step 1: Take a look at the three curves on the graph. Since the mean of a normal distribution occurs at the peak, we should look for the highest point on each distribution. Let’s draw a line from each curve's peak down to the axis, so we can see where these peaks occur:
A graph shows three normal distribution curves. The horizontal axis ranges from negative 1 to 5, in increments of 1. The three curves are described as follows. The first curve (red) begins at negative 1, has a peak value at 1, and ends at 3. The second curve (blue) begins at 0, has a peak value at 2, and ends at 4. The third curve (yellow) begins at 1, has a peak value at 3, and ends at 5. The three curves overlap each other and their peaks are of equal height. A vertical dashed line is drawn from each peak to the horizontal axis.
Step 2: The peak of the red (leftmost) distribution occurs over the number 1 on the horizontal axis. Thus, the mean of the red distribution is 1. Similarly, the mean of the blue (middle) distribution is 2, and the mean of the yellow (rightmost) distribution is 3.

Identifying the Standard Deviation of a Normal Distribution

This graph shows three distributions, all with mean 2. What are their standard deviations?
A graph shows three normal distribution curves. The horizontal axis ranges from negative 4 to 10, in increments of 2. The three curves are described as follows. The first curve (red) begins before negative 4, has a peak value at 2, and ends at 10. The second curve (blue) begins before negative 4, has a peak value at 2, and ends at 10. The third curve (yellow) begins before negative 4, has a peak value at 2, and ends after 10. The first curve has the highest peak and the third curve has the lowest peak.
Solution
Step 1: Identifying the standard deviation from a graph can be a little bit tricky. Let’s focus in on the yellow (lowest peaked) curve:
A normal distribution curve. The horizontal axis ranges from negative 5 to 10, in increments of 1. The curve begins before negative 5, has a peak value at 2, and ends at 10.
Step 2: Notice that the graph curves downward in the middle, and curves upwards on the ends. Highlighted in red is the part that curves downward and in green, the part that curves upward:
A normal distribution curve. The horizontal axis ranges from negative 5 to 10, in increments of 1. The curve begins before negative 5, has a peak value at 2, and ends at 10. On the curve, from negative 1 to 5 is highlighted and it represents inflection points.
Step 3: The places where the graph changes from curving up to curving down (or vice versa) are called inflection points. Let’s identify where those occur by dropping a line straight down from each:
A normal distribution curve. The horizontal axis ranges from negative 5 to 10, in increments of 1. The curve begins before negative 5, has a peak value at 2, and ends at 10. On the curve, from negative 1 to 5 is highlighted and it represents inflection points. Dashed vertical lines are drawn from negative 1, 2, and 5 to meet the curve.
Step 4: We can estimate that the inflection points occur at x=-1 and x=5; the mean is at x=2 (as shown by the middle dotted line). The difference between the mean and the location of either inflection point is the standard deviation; since 5-2=2-(-1)=3, we conclude that the standard deviation of the green distribution is 3.
Step 5: Now, looking at the other two graphs, let's first identify the inflection points:
A graph shows two normal distribution curves. The horizontal axis ranges from negative 5 to 10, in increments of 1. The two curves are described as follows. The first curve (red) begins at negative 5, has a peak value at 2, and ends at 10. The second curve (blue) begins at negative 5, has a peak value at 2, and ends at 10. The first curve (red) has a higher peak than the second curve (blue).
Step 6: The red (tallest peaked) distribution has inflection points at 1 and 3, and the mean is 2. Thus, the standard deviation of the red distribution is 3-2=2-1=1. The blue (lower peaked) distribution has inflection points at 0 and 4, and its mean is also 2. So, the standard deviation of the blue distribution is 2.
Let’s put it all together to identify a completely unknown normal distribution.

Identifying the Mean and Standard Deviation of a Normal Distribution

Using the graph, identify the mean and standard deviation of the normal distribution.
A normal distribution curve. The horizontal axis ranges from 45 to 70, in increments of 1. The curve begins at 45, has a peak value at 55, and ends at 70.
Solution
Step 1: Let’s start by putting dots on the graph at the peak and at the inflection points, then drop lines from those points straight down to the axis:
A normal distribution curve. The horizontal axis ranges from 45 to 70, in increments of 1. The curve begins at 45, has a peak value at 55, and ends at 70. Dashed vertical lines are drawn from 52, 55, and 58 to meet the curve.
Step 2: From the red (middle) line, we can see that the mean of this distribution is 55. The blue (outermost) lines are each 3 units away from the mean (at 52 and 58), so the standard deviation is 3.

Properties of Normal Distributions: The 68-95-99.7 Rule

The most important property of normal distributions is tied to its standard deviation. If a dataset is perfectly normally distributed, then 68% of the data values will fall within one standard deviation of the mean. For example, suppose we have a set of data that follows the normal distribution with mean 400 and standard deviation 100. This means 68% of the data would fall between the values of 300 (one standard deviation below the mean: 400-100=300) and 500 (one standard deviation above the mean: 400+100=500). Looking at the histogram below, the shaded area represents 68% of the total area under the graph and above the axis:
A normal distribution curve. The horizontal axis ranges from 0 to 800, in increments of 50. The curve begins at 0, has a peak value at 400, and ends at 800. The region from 300 to 500 is shaded and marked 68 percent. The regions to the left and right of the shaded region are marked 16 percent, each.
Since 68% of the area is in the shaded region, this means that 100% − 68% = 32% of the area is found in the unshaded regions. We know that the distribution is symmetric, so that 32% must be divided evenly into the two unshaded tails: 16% in each.
Of course, datasets in the real world are never perfect; when dealing with actual data that seem to follow a symmetric, bell-shaped distribution, we’ll give ourselves a little bit of wiggle room and say that approximately 68% of the data fall within one standard deviation of the mean.
The rule for one standard deviation can be extended to two standard deviations. Approximately 95% of a normally distributed dataset will fall within 2 standard deviations of the mean. If the mean is 400 and the standard deviation is 100, that means 95% calculation describes the way we compute standardized scores. (two standard deviations below the mean: 400–2×100=200) and 600 (two standard deviations above the mean: 400+2×100=600). We can visualize this in the following histogram:
A normal distribution curve. The horizontal axis ranges from 0 to 800, in increments of 50. The curve begins at 0, has a peak value at 400, and ends at 800. The region from 200 to 600 is shaded and marked 95 percent. The regions to the left and right of the shaded region are marked 2.5 percent, each.
As before, since 95% of the data are in the shaded area, that leaves 5% of the data to go into the unshaded tails. Since the histogram is symmetric, half of the 5% (that’s 2.5%) is in each.
We can even take this one step further: 99.7% of normally distributed data fall within 3 standard deviations of the mean. In this example, we’d see 99.7% of the data between 100 (calculated as 400–3×100=100) and 700 (calculated as 400+3×100=700). We can see this in the histogram below, although you may need to squint to find the unshaded bits in the tails!
A normal distribution curve. The horizontal axis ranges from 0 to 800, in increments of 50. The curve begins at 0, has a peak value at 400, and ends at 800. The region from 100 to 700 is shaded and marked 99.7 percent. The regions to the left and right of the shaded region are marked 0.15 percent, each.
This observation is formally known as the 68-95-99.7 Rule.

Using the 68-95-99.7 Rule to Find Percentages

  1. If data are normally distributed with mean 8 and standard deviation 2, what percent of the data falls between 4 and 12?
  2. If data are normally distributed with mean 25 and standard deviation 5, what percent of the data falls between 20 and 30?
  3. If data are normally distributed with mean 200 and standard deviation 15, what percent of the data falls between 155 and 245?
Solution
  1. Let’s look at a table that sets out the data values that are even multiples of the standard deviation (SD) above and below the mean:
    mean-3×SD mean-2×SD mean-1×SD Mean mean+1×SD mean+2×SD mean+3×SD
    2 4 6 8 10 12 14
    Since 4 and 12 represent two standard deviations above and below the mean, we conclude that 95% of the data will fall between them.
  2. Let’s build another table:
    mean-3×SD mean-2×SD mean-1×SD Mean mean+1×SD mean+2×SD mean+3×SD
    10 15 20 25 30 35 40
    We can see that 20 and 30 represent one standard deviation above and below the mean, so 68% of the data fall in that range.
  3. Let’s make one more table:
    mean-3×SD mean-2×SD mean−1×SD Mean mean+1×SD mean+2×SD mean+3×SD
    155 170 185 200 215 230 245
    Since 155 and 245 are three standard deviations above and below the mean, we know that 99.7% of the data will fall between them.

Using the 68-95-99.7 Rule to Find Data Values

  1. If data are distributed normally with mean 100 and standard deviation 20, between what two values will 68% of the data fall?
  2. If data are distributed normally with mean 0 and standard deviation 15, between what two values will 95% of the data fall?
  3. If data are distributed normally with mean 14 and standard deviation 2, between what two values will 99.7% of the data fall?
Solution
  1. The 68-95-99.7 Rule tells us that 68% of the data will fall within one standard deviation of the mean. So, to find the values we seek, we’ll add and subtract one standard deviation from the mean: 100-1×20=80 and 100+1×20=120. Thus, we know that 68% of the data fall between 80 and 120.
  2. Using the 68-95-99.7 Rule again, we know that 95% of the data will fall within 2 standard deviations of the mean. Let’s add and subtract two standard deviations from that mean: 0-2×15=-30 and 0+2×15=30. So, 95% of the data will fall between -30 and 30.
  3. Once again, the 68-95-99.7 Rule tells us that 99.7% of the data will fall within three standard deviations of the mean. So, let’s add and subtract three standard deviations from the mean: and 14+3×2=20. Thus, we conclude that 99.7% of the data will fall between 8 and 20.
There are more problems we can solve using the 68-95-99.7 Rule. but first we must understand what the rule implies. Remember, the rule says that 68% of the data falls within one standard deviation of the mean. Thus, with normally distributed data with mean 100 and standard deviation 10, we have this distribution:
A normal distribution curve. The horizontal axis ranges from 60 to 140, in increments of 5. The curve begins at 60, has a peak value at 100, and ends at 140. The region from 90 to 110 is shaded in blue and marked 68 percent.
Since we know that 68% of the data lie within one standard deviation of the mean, the implication is that 32% of the data must fall beyond one standard deviation away from the mean. Since the histogram is symmetric, we can conclude that half of the 32% (or 16%) is more than one standard deviation above the mean and the other half is more than one standard deviation below the mean:
A normal distribution curve. The horizontal axis ranges from 60 to 140, in increments of 5. The curve begins at 60, has a peak value at 100, and ends at 140. The region from 90 to 110 is shaded in blue and marked 68 percent. The region to the left and right of the shaded region inside the curve is shaded in red. The region from 60 to 90 is marked 16 percent. The region from 110 to 140 is marked 16 percent.
Further, we know that the middle 68% can be split in half at the peak of the histogram, leaving 34% on either side:
A normal distribution curve. The horizontal axis ranges from 60 to 140, in increments of 5. The curve begins at 60, has a peak value at 100, and ends at 140. A vertical line is drawn at 100. The region from 90 to 100 and 100 to 110 are shaded in blue and marked 34 percent, each. The region to the left and right of the shaded region inside the curve is shaded in red. The region from 60 to 90 is marked 16 percent. The region from 110 to 140 is marked 16 percent.
So, just the “68” part of the 68-95-99.7 Rule gives us four other proportions in addition to the 68% in the rule. Similarly, the “95” and “99.7” parts each give us four more proportions:
A normal distribution curve. The horizontal axis ranges from 60 to 140, in increments of 5. The curve begins at 60, has a peak value at 100, and ends at 140. A vertical line is drawn at 100. The region from 80 to 120 is shaded in blue. The region from 80 to 100 and 100 to 120 are marked 47.5 percent, each. The region to the left and right of the shaded region inside the curve is shaded in red. The region from 60 to 80 is marked 2.5 percent. The region from 120 to 140 is marked 2.5 percent.
A normal distribution curve. The horizontal axis ranges from 60 to 140, in increments of 5. The curve begins at 60, has a peak value at 100, and ends at 140. A vertical line is drawn at 100. The region from 70 to 130 is shaded in blue. The region from 70 to 100 and 100 to 130 is marked 49.85 percent, each. The region to the left and right of the shaded region inside the curve is shaded. The region from 60 to 70 is marked 0.15 percent. The region from 130 to 140 is marked 0.15 percent.
We can put all these together to find even more complicated proportions. For example, since the proportion between 100 and 120 is 47.5% and the proportion between 100 and 110 is 34%, we can subtract to find that the proportion between 110 and 120 is 47.5-34=13.5%:
A normal distribution curve. The horizontal axis ranges from 60 to 140, in increments of 5. The curve begins at 60, has a peak value at 100, and ends at 140. A vertical line is drawn at 100. The region from 100 to 110 is shaded in blue. The region from 110 to 120 is shaded in red. The total shaded region from 100 to 120 is marked 47.5 percent. The shaded region from 100 to 110 is marked 34 percent. The shaded region from 110 to 120 is marked 13.5 percent.

Finding Other Proportions Using the 68-95-99.7 Rule

Assume that we have data that are normally distributed with mean 80 and standard deviation 3.
  1. What proportion of the data will be greater than 86?
  2. What proportion of the data will be between 74 and 77?
  3. What proportion of the data will be between 74 and 83?
Solution
Before we can answer these questions, we must mark off sections that are multiples of the standard deviation away from the mean:
A normal distribution curve. The horizontal axis ranges from 70 to 90, in increments of 1. The curve begins at 70, has a peak value at 80, and ends at 90. Five vertical lines are drawn at 74, 77, 80, 83, and 86.
  1. To figure out what proportion of the data will be greater than 86, let's start by shading in the area of data that are above 86 in our figure, or the data more than two standard deviations above the mean.
    A normal distribution curve. The horizontal axis ranges from 70 to 90, in increments of 1. The curve begins at 70, has a peak value at 80, and ends at 90. Five vertical lines are drawn at 74, 77, 80, 83, and 86. The region to the right of the line at 86 is shaded in blue.
    We saw in diagram that this proportion is 2.5%.
  2. To figure out what proportion of the data will be between 74 and 77, let's start by shading in that area of data. These are data that are more than one but less than two standard deviations below the mean.
    A normal distribution curve. The horizontal axis ranges from 70 to 90, in increments of 1. The curve begins at 70, has a peak value at 80, and ends at 90. Five vertical lines are drawn at 74, 77, 80, 83, and 86. The region in between lines, 74 and 77 is shaded in blue.
    From diagram, we know that the proportion of data less than two standard deviations below the mean is 47.5%. And, from YOUR TURN 8.33, we know that 34% of the data is less than one standard deviation below the mean:
    A normal distribution curve. The horizontal axis ranges from 70 to 90, in increments of 1. The curve begins at 70, has a peak value at 80, and ends at 90. The region from 74 to 77 is shaded in blue. The region from 77 to 80 is shaded in red. The total shaded region from 74 to 80 is marked 47.5 percent. The shaded region from 74 to 77 is marked 13.5 percent. The shaded region from 77 to 80 is marked 34 percent.
    Subtracting, we see that the proportion of data between 74 and 77 is 13.5%.
  3. To figure out what proportion of the data will be between 74 and 83, let's start by shading in that area of data in our figure.
    A normal distribution curve. The horizontal axis ranges from 70 to 90, in increments of 1. The curve begins at 70, has a peak value at 80, and ends at 90. Five vertical lines are drawn at 74, 77, 80, 83, and 86. The region from 74 to 83 is shaded in blue.
    Next, we'll break this region into two pieces at the mean:
    A normal distribution curve. The horizontal axis ranges from 70 to 90, in increments of 1. The curve begins at 70, has a peak value at 80, and ends at 90. The region from 74 to 80 is shaded in blue. The region from 80 to 83 is shaded in red.
    From diagram, we know the blue (leftmost) region represents 47.5% of the data. And, using YOUR TURN 8.33, we get that the red (rightmost) region covers 34% of the data. Adding those together, the proportion we want is 81.5%.