TapCub is live — analytics, insights and live chat, free on one platform
Analytics

When Do You Reject the Null Hypothesis? Three Rules and One Worked Test

You reject the null hypothesis when p ≤ alpha. The critical-value rule and the confidence-interval rule give the same answer. One conversion test worked three ways, plus what "fail to reject" really means.

Lin Zhou Published Nov 28, 2026 15 min read Analytics
Sample data: Test B (z = 2.18) clears the 0.05 and 0.10 thresholds but not 0.01; Test C (z = 1.48) clears none of them, so H0 is not rejected at any common alpha.Sample data

You reject the null hypothesis when the p-value is less than or equal to the significance level you chose in advance, usually 0.05. Two other checks give the same answer: the test statistic is beyond the critical value, or the confidence interval excludes the null value. If none of them is met, you fail to reject H0, which is not the same as accepting it.

What you will learn

  • Reject H0 when p ≤ alpha; |z| beyond the critical value and a CI that excludes 0 are the same rule
  • The three rules only split when the test and the interval use different standard errors
  • Fail to reject is not accept: a test with 32% power misses most real lifts of the size it was meant to find

What does it mean to reject the null hypothesis?

A hypothesis test starts from a null hypothesis (H0): the claim of no difference or no effect, such as "the new checkout converts at the same rate as the old one". Rejecting H0 means the data you collected would be unusual enough if H0 were true that you stop treating H0 as a working assumption. It does not mean you proved the alternative, and it does not tell you how big or useful the difference is.

The decision is made against a threshold you fix before looking at the data: the significance level, alpha (α). NIST's Engineering Statistics Handbook describes alpha as the risk you accept of rejecting a null hypothesis that is actually true; that risk is the Type I error. With α = 0.05, a true null is wrongly rejected in about 5% of tests run this way.

So the full answer to "when do you reject the null hypothesis?" is: when the evidence crosses a line you drew in advance, and you can check that line in three equivalent ways. This guide shows the three rules on one conversion test, explains why they cannot disagree when they use the same inputs, and covers the other outcome: what "fail to reject" means and why it is not the same as accepting H0.

The three decision rules

All three rules start from the same pieces: the observed difference, its standard error, and alpha.

RuleYou reject H0 whenWhat you need
p-value rulep ≤ αThe test statistic and its distribution
Critical-value ruleThe test statistic is beyond the critical value (two-tailed: \z\> z₁₋α/₂)A critical-value table
Confidence-interval ruleThe (1 − α) confidence interval for the difference does not contain the null value (0 for a difference)Difference ± critical value × standard error

The p-value is the probability, computed assuming H0 is true, of a result at least as extreme as the one observed. The critical value is the cut-off on the test statistic's scale that leaves exactly α in the rejection region. The confidence interval is the range of differences that the data do not rule out at the chosen level.

For a z-test, the critical values come from the standard normal distribution. The values below are read from the NIST normal distribution table:

AlphaOne-tailed critical zTwo-tailed critical \z\Matching confidence level
0.101.2821.64590%
0.051.6451.96095%
0.012.3262.57699%

A two-tailed test splits alpha between both tails, so each tail holds α/2. That is why the two-tailed critical value at α = 0.05 (1.960) equals the one-tailed critical value at α = 0.025.

Worked test: 4.0% vs 4.9% conversion

Sample data: a store shows two versions of a product page to separate random halves of its visitors for two weeks. The question is whether version B converts at a different rate from version A. Alpha is set to 0.05, two-tailed, before the test starts.

  • Version A: 5,000 visitors, 200 orders. p̂A = 200 ÷ 5,000 = 4.0%.
  • Version B: 5,000 visitors, 245 orders. p̂B = 245 ÷ 5,000 = 4.9%.
  • Observed difference: 4.9% − 4.0% = 0.9 percentage points (a 22.5% relative lift).

H0: pB − pA = 0. H1: pB − pA ≠ 0.

Step 1: standard error. The two-proportion z-test pools the samples under H0, following the NIST formula. Pooled rate: (200 + 245) ÷ 10,000 = 4.45%. Standard error: √(0.0445 × 0.9555 × (1/5,000 + 1/5,000)) = 0.004124.

Step 2: test statistic. z = 0.009 ÷ 0.004124 = 2.18.

Rule 1, p-value. The two-tailed p-value for z = 2.18 is 0.029. Since 0.029 ≤ 0.05, reject H0.

Rule 2, critical value. |z| = 2.18 is beyond the two-tailed critical value 1.960. Reject H0.

Rule 3, confidence interval. Difference ± 1.960 × SE = 0.009 ± 0.00808, so the 95% interval runs from +0.09 to +1.71 percentage points. It does not contain 0. Reject H0.

All three rules give the same decision, and each one adds something. The p-value says how surprising the data are under H0. The critical value gives a quick yes or no. The interval tells you the plausible size of the lift: anywhere from almost nothing (+0.09 points) to a large gain (+1.71 points). That spread matters for the business decision even though the statistical decision is clear.

app.tapcub.com

Test statistics against two-tailed critical values

|z|
Critical value, α = 0.012.576
Test B: 4.0% vs 4.9%2.18
Critical value, α = 0.051.960
Critical value, α = 0.101.645
Test C: 4.0% vs 4.6%1.48
Sample data
Sample data: Test B (z = 2.18) clears the 0.05 and 0.10 thresholds but not 0.01; Test C (z = 1.48) clears none of them, so H0 is not rejected at any common alpha.

Why the three rules always agree

The rules are the same inequality written three ways. Take a two-tailed z-test with difference d and standard error SE:

  • p ≤ α is equivalent to |z| ≥ z₁₋α/₂, because the p-value is a decreasing function of |z|.
  • |d ÷ SE| ≥ z₁₋α/₂ is equivalent to |d| ≥ z₁₋α/₂ × SE.
  • |d| ≥ z₁₋α/₂ × SE means the interval d ± z₁₋α/₂ × SE does not reach 0.

So whenever you use the same standard error, the same alpha and the same number of tails, the three rules cannot disagree. NIST's handbook makes the same link from the other side: a confidence level of 1 − α can be read as the counterpart of a significance level α.

There is one practical exception worth knowing. Many tools run the test with the pooled standard error but print a confidence interval built from the unpooled standard error √(p̂A(1 − p̂A)/nA + p̂B(1 − p̂B)/nB). When the groups are very unequal and the result sits right at the threshold, the two can split. Sample data: 80 orders from 2,000 visitors (4.0%) against 400 from 8,000 (5.0%). The pooled test gives z = 1.87 and p = 0.061, so do not reject at 0.05; the unpooled 95% interval is +0.02 to +1.98 points, which just excludes 0. In the worked test above, with equal groups, the two standard errors are 0.004124 and 0.004123 and the results match. If your report shows a split like this, the honest reading is "borderline", not "significant".

One-tailed or two-tailed: which critical value?

A one-tailed test puts all of alpha in one direction. In the worked test, the one-tailed p-value for "B converts better than A" is 0.0145, half of 0.029, and the critical value drops from 1.960 to 1.645.

That makes one-tailed tests tempting, which is why the choice has to be made before the data arrive. Rules of thumb:

  • Use two-tailed when a change in either direction would change what you do, which covers most product and marketing tests: a page that converts worse is something you need to know about.
  • Use one-tailed only when a result in the other direction would lead to exactly the same action as no difference, and you wrote that down before the test.
  • Never switch from two-tailed to one-tailed after seeing a p-value of 0.06. Doing so doubles the real false-positive rate of that decision rule for results in that direction.

The matching confidence interval for a one-tailed test at α = 0.05 is a one-sided 95% bound (for example, "the lift is at least +0.22 points"), not the usual two-sided interval.

What does "fail to reject the null hypothesis" mean?

Failing to reject H0 means the data are not unusual enough under H0 to drop it. It does not mean H0 is true. NIST's handbook notes that not rejecting may leave you acting as though the null holds, or may simply be inconclusive and call for more data.

Sample data: the same store runs a second test with a smaller change.

  • Version A: 200 orders from 5,000 visitors, 4.0%.
  • Version C: 230 orders from 5,000 visitors, 4.6%.
  • z = 0.006 ÷ 0.004057 = 1.48, two-tailed p = 0.139.
  • 95% interval for the difference: −0.20 to +1.40 percentage points.

All three rules say "do not reject". But the interval still includes a lift of 1.4 points, which would be worth a lot. The test simply could not tell a 0.6-point lift from no lift.

How likely was this test to detect a true 0.6-point lift? With 5,000 visitors per group and α = 0.05, the statistical power is about 32%: roughly two times out of three, a real lift of that size would produce a non-significant result. To reach 80% power for 4.0% vs 4.6% you would need about 17,900 visitors per group. At 5,000 per group, the smallest lift this test could detect with 80% power is about 1.1 points.

This is why statisticians say "fail to reject" rather than "accept". Accepting H0 would claim there is no effect; the data only show the effect, if any, is smaller than this test could see. Missing a real effect is a Type II error, and its risk grows as alpha shrinks or the sample gets smaller.

Decision rules for a non-significant result:

  • If the whole interval sits inside a range you consider negligible (say ±0.2 points), you can treat the change as having no practical effect.
  • If the interval includes effects you would care about, the result is inconclusive. Either run longer with a sample size planned for the lift you care about, or decide on other grounds.
  • Do not report "no difference" in either case without the interval next to it.
RuleTest B: 4.0% vs 4.9%Test C: 4.0% vs 4.6%
Observed difference+0.9 points+0.6 points
z statistic2.181.48
p-value rule (α = 0.05)p = 0.029 ≤ 0.05: rejectp = 0.139 > 0.05: fail to reject
Critical-value rule2.18 > 1.960: reject1.48 < 1.960: fail to reject
95% confidence interval+0.09 to +1.71 points: excludes 0−0.20 to +1.40 points: includes 0
Power for this lift at n = 5,000About 59%About 32%

Sample data, 5,000 visitors per version, two-tailed tests. All three rules agree within each test; the power row shows why Test C's result is inconclusive rather than proof of no effect.

How to find the null hypothesis for your test

The null hypothesis is the "nothing is going on" version of your question, written so that it contains an equals sign. The alternative is what you hope or fear is happening.

QuestionH0H1Tails
Does the new page change the conversion rate?pB = pApB ≠ pATwo
Does free shipping raise average order value?μB = μAμB ≠ μA (or > if decided in advance)Two, or one if pre-registered
Did the bounce rate change after the redesign?Rate after = rate beforeRate after ≠ rate beforeTwo
Is the share of mobile visitors 60%?p = 0.60p ≠ 0.60Two

Three checks before you start:

  1. H0 has to be specific enough to compute a p-value. "No difference" gives a number (0); "B is better" does not.
  2. The metric and the unit must be fixed. Conversion per visitor and conversion per session are different tests with different denominators.
  3. Alpha, tails and sample size are set before the data. Writing them down is what makes "reject" mean something.

Common mistakes when deciding to reject H0

  • Reading the p-value as the probability that H0 is true. The American Statistical Association's 2016 statement is explicit that a p-value does not measure that probability, and that a decision should not rest on whether p crosses 0.05 alone.
  • Peeking and stopping. Checking the p-value every day and stopping the first time it dips below 0.05 raises the real false-positive rate well above 5%. Fix the sample size or use a method designed for repeated looks.
  • Testing many variants or metrics at α = 0.05 each. With five independent comparisons, the chance of at least one false positive is 1 − 0.95⁵ ≈ 23%. Adjust alpha or name one primary metric.
  • Treating "significant" as "important". The worked test's interval starts at +0.09 points; a lift that small may not cover the cost of the change.
  • Treating "not significant" as "no effect". As the 4.0% vs 4.6% example shows, an underpowered test fails to reject most real effects.

Getting the counts for the test from TapCub

TapCub does not split traffic or run A/B tests, and it does not compute p-values. What it can supply is the four counts the worked test needs: visitors and conversions per group, with bots kept out of both. Here is how the store in the example would get them.

  1. Define the conversion once. In Web analytics › Goals, create an event goal for the order event (or a page goal for the thank-you page). The goal rate's denominator is distinct visitors in the range, which matches the per-visitor test above.
  2. Record which version each visitor saw. Your testing tool assigns the version; send it to TapCub as a property on an event, for example experiment_view with variant = A or B. In Web analytics › Events, open that event's row: each property value shows its visitors and, because the site has goals, a conversion rate whose denominator is visitors who had that value. Visitors × rate gives you the 5,000 / 200 and 5,000 / 245 counts.
  3. Keep bots out of the denominator. Recognised bots and AI crawlers are counted only in Web analytics › Bots, so they do not inflate the visitor counts of either group and pull both rates down.
  4. Mark the test window. Add the start and end dates in Configuration › Annotations so anyone reading the goal trend later knows why the rate moved.
  5. Run the test outside TapCub. Put the counts into the z-test, compare p with the alpha you wrote down, and report the interval with the decision. TapCub only measures; the decision rule is yours.

FAQ

When do you reject the null hypothesis?

You reject H0 when the p-value is less than or equal to the significance level you set in advance (usually 0.05). Equivalently, when the test statistic is beyond the critical value (1.960 for a two-tailed z-test at 0.05), or when the 95% confidence interval for the difference excludes 0. With the same inputs, the three checks always give the same answer.

What does it mean to reject the null hypothesis?

It means the observed data would be unlikely if there were truly no effect, so you stop assuming there is none. It does not prove the alternative, does not tell you the probability that H0 is false, and says nothing about whether the effect is large enough to matter. Read the confidence interval for that.

What does fail to reject the null hypothesis mean?

It means the data were not unusual enough under H0 to drop it. The effect might be zero, or it might be real but too small for your sample to detect. In the 4.0% vs 4.6% example, the test had only 32% power, so failing to reject was the likely outcome even if the lift was real.

Why do we say "fail to reject" instead of "accept" the null hypothesis?

Because a hypothesis test is built to control the risk of a false rejection (alpha), not the risk of a false acceptance. A non-significant result is compatible with no effect and with effects the test was too small to see, so "accept" would claim more than the data show.

Do you reject the null hypothesis if the p-value is 0.05 exactly?

Under the usual rule p ≤ α, yes, but a p-value sitting exactly on the line is weak evidence either way. Report it as borderline, show the confidence interval, and avoid changing alpha or the number of tails after seeing it.

Sources

Filed underAnalytics

Was this article helpful?

We use your answers to fix and expand this page.

Lin Zhou

Product Experience Specialist

Writes about product experience, practical workflows, and growth, turning complex processes into clear steps for everyday decisions.

Get clean counts for your next test

Goals counted per distinct visitor, conversion rates by event property, and bots kept out of the denominator.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics