One-Tailed vs Two-Tailed Tests: When Is One-Tailed Legitimate?

⏱️ 3 min read 📈 Data Analysis

A two-tailed test asks "is there a difference in either direction?" A one-tailed test asks "is it better?" and refuses to detect "worse" at all. One-tailed tests are legitimate only when a change in the opposite direction would lead to exactly the same action as no change, and that condition is rarely true in product experiments.

Quick answer: Two-tailed puts α/2 = 0.025 in each tail, so the critical z is 1.960. One-tailed puts all 0.05 in one tail, so the critical z is 1.645. When the observed effect is in the predicted direction, the one-tailed p-value is exactly half the two-tailed one (z = 1.75 gives p = 0.0801 two-tailed, p = 0.0401 one-tailed). That extra power is real (about 21% less sample for the same 80% power), but you buy it by declaring in advance that you will ignore a harmful result. Default to two-tailed.

What is the difference between a one-tailed and two-tailed test?

The difference is where you put your α and which alternative hypotheses you are allowed to detect. A two-tailed test splits the 5% rejection region across both ends of the distribution; a one-tailed test stacks all 5% in the direction you named before seeing data.

Two-tailedOne-tailed (upper)
Null hypothesisH₀: μ₁ = μ₂H₀: μ₂ ≤ μ₁
AlternativeH₁: μ₁ ≠ μ₂H₁: μ₂ > μ₁
α per tail0.025 each0.05 in one tail
Critical z (α = 0.05)±1.960+1.645
Critical z (α = 0.01)±2.576+2.326
Detects harm?YesNo, never
Sample needed for 80% power*31,231 per arm24,600 per arm

*Detecting a 5.0% → 5.5% conversion lift at α = 0.05.

How much smaller is a one-tailed p-value?

Exactly half, provided the observed effect points the way you predicted. If it points the other way, a one-sided p-value is above 0.5 and the test simply cannot reject.

Two-tailed p = 2 × P(Z > |z|)
One-tailed p =     P(Z > z)      (upper-tail test)
Observed zTwo-tailed pOne-tailed pSignificant at 0.05?
1.650.09890.0495one-tailed only
1.700.08910.0446one-tailed only
1.750.08010.0401one-tailed only
1.800.07190.0359one-tailed only
1.960.05000.0250both
2.100.03570.0179both

The whole band between z = 1.645 and z = 1.960 is where the choice of tails decides the outcome. That is precisely why switching to one-tailed after seeing a p-value of 0.08 is data dredging, not a methodological refinement.

When is a one-tailed test actually legitimate?

Only when a result in the opposite direction would lead to the identical decision as a null result, and you commit to the direction before collecting data. Both conditions, not just the first.

Note what all four have in common: the opposite result changes nothing about what you do next. That is the actual test for whether a one-tailed test is appropriate.

Why is one-tailed usually wrong for A/B tests?

Because in a product experiment, "the variant is significantly worse" is extremely valuable information, and a one-tailed test is structurally incapable of reporting it. You would ship a change that tanked conversion by 8% and see only "not significant."

Three more reasons it goes wrong in practice:

The honest way to get the power a one-tailed test promises is to increase sample size or raise your minimum detectable effect. See statistical power and our A/B test sample size guide.

How does the tail choice affect confidence intervals?

A one-tailed test corresponds to a one-sided confidence bound, not a two-sided interval, and mixing them is a common reporting error. A one-sided 95% bound and a two-sided 95% interval do not have matching endpoints.

Two-sided 95% CI:      estimate ± 1.960 × SE      → [lower, upper]
One-sided 95% bound:   estimate - 1.645 × SE      → [lower, ∞)

Same data, effect = +0.50 pp, SE = 0.28 pp:
  Two-sided 95% CI:    [-0.05 pp, +1.05 pp]   crosses zero
  One-sided 95% bound: effect > +0.04 pp      excludes zero

Publishing the two-sided interval next to a one-tailed p-value produces the contradiction where the interval contains zero but the test is "significant." Pick one framework and report it consistently. More on reading intervals correctly in confidence intervals explained.

Common mistakes with tails

Pro Tip: Apply the "would I act differently?" test before choosing tails. Write down what you would do if the variant came back significantly worse. If the answer is anything other than "exactly what I would do with a null result," you need a two-tailed test. In nine out of ten product experiments the answer is "roll back and investigate," which settles it.

← Back to Data Analysis Tips