What Is a P-Value?
A p-value is the probability of getting a test statistic at least as extreme as the observed one, assuming the null hypothesis (H₀) is true.
A small p-value means the data would be unusual if H₀ were true, which counts as evidence against H₀. A p-value of 0.03 means a result this extreme happens in 3% of samples when H₀ holds. Ronald A. Fisher popularized the p-value in the 1920s, and Jerzy Neyman and Egon Pearson added the fixed significance level (α). Run z-tests from raw data with the Z Test Calculator.
How to Use the P Value Calculator
To use the p value calculator, follow 3 steps:
- Choose the distribution: normal (z), Student t, chi-square (χ²) or F.
- Enter the test statistic and its degrees of freedom (df).
- Choose left-tailed, right-tailed or two-tailed.
The calculator shades the p-value area under the chosen curve and places the p-value on a log-scale ruler against α = 0.10, 0.05, 0.01 and 0.001. The cards list all three tail versions.
P-Value Formulas by Distribution
The p-value formula depends on the distribution of the test statistic.
From a Z Statistic
For a z statistic, the two-tailed p-value is 2 × (1 − Φ(|z|)). z = 1.96 gives p = 0.05. Convert z values on their own with the z score to p value tool.
From a T Statistic
For a t statistic with df degrees of freedom, the two-tailed p-value is 2 × P(T ≥ |t|). The t distribution has heavier tails than the normal curve, so the same statistic gives a larger p-value: t = 2.4 with df = 18 gives p = 0.0274, against 0.0164 for z = 2.4. William Sealy Gosset published the t distribution under the name "Student" in 1908.
From a Chi-Square Statistic
For a chi-square statistic, the p-value is the right-tail area P(χ² ≥ x) with df degrees of freedom. χ² = 3.84 with df = 1 gives p = 0.05, and χ² = 6.2 with df = 2 gives p = 0.045. Karl Pearson introduced the chi-square test in 1900.
From an F Statistic
For an F statistic, the p-value is the right-tail area P(F ≥ x) with numerator df₁ and denominator df₂. F = 4.2 with df = (2, 30) gives p = 0.0247. The F distribution, named for Fisher by George W. Snedecor, drives ANOVA and variance tests.
One-Tailed vs. Two-Tailed P-Values
A one-tailed p-value counts the area in one stated direction, and a two-tailed p-value counts both directions. For symmetric z and t statistics, the two-tailed p-value is double the one-tailed value. Chi-square and F tests are almost always right-tailed, since larger values mean larger departures from H₀. Decide the tail before looking at the data.
How to Interpret a P-Value
Interpret a p-value in 2 steps: compare it with α, then remember its limits.
Comparing the P-Value With α
Reject H₀ when p ≤ α, and fail to reject H₀ when p > α.
| p-value | Decision at α = 0.05 | Common description |
|---|---|---|
| p ≤ 0.001 | Reject H₀ | very strong evidence |
| 0.001 < p ≤ 0.01 | Reject H₀ | strong evidence |
| 0.01 < p ≤ 0.05 | Reject H₀ | moderate evidence |
| 0.05 < p ≤ 0.10 | Fail to reject H₀ | weak evidence |
| p > 0.10 | Fail to reject H₀ | little or no evidence |
What a P-Value Does Not Tell You
A p-value does not tell you 4 things:
- The probability that H₀ is true.
- The size or importance of the effect.
- The probability that the result will replicate.
- Whether the study design was sound.
P-Value Examples
There are 2 worked examples below.
Example 1: t = 2.4, df = 18
A two-sample t-test returns t = 2.4 with 18 degrees of freedom.
- DistributionStudent t, df = 18
- Two-tailed p-value2 × P(T ≥ 2.4) = 0.0274
- Decision0.0274 ≤ 0.05, so reject H₀ at α = 0.05.
Example 2: χ² = 6.2, df = 2
A chi-square test of independence returns χ² = 6.2 with 2 degrees of freedom.
- Distributionchi-square, df = 2
- P-valueP(χ² ≥ 6.2) = 0.0450
- Decision0.045 ≤ 0.05, so reject H₀: the variables are associated.
Common P-Value Mistakes (P-Hacking, Multiple Testing)
There are 5 common p-value mistakes:
- P-hacking: trying many analyses and reporting only the one with p < 0.05.
- Multiple testing: 20 tests at α = 0.05 give a 64% chance of at least one false positive. Apply a Bonferroni correction (α divided by the number of tests).
- Treating p > 0.05 as proof of no effect: a large p-value can come from a small sample.
- Switching tails after seeing data: halving a two-tailed p-value doubles the false-positive rate.
- Ignoring effect size: a tiny effect becomes significant in a large sample.
FAQs
Is a p-value of 0.06 "almost significant"?
No, a p-value of 0.06 is not significant at α = 0.05. The cut-off is fixed before the study, so p = 0.06 fails to reject H₀. Report the exact value, p = .06, with the effect size and confidence interval, and let readers weigh the evidence.
Can a p-value be greater than 1 or negative?
No, a p-value always lies between 0 and 1. A p-value is a probability. A result above 1 usually comes from doubling a one-tailed p-value that was already above 0.5; cap a two-tailed p-value at 1.
Why do large samples give tiny p-values?
Large samples give tiny p-values, since the standard error shrinks with √n and even small effects become detectable. With 10,000 people per group, a difference of 0.05 SD gives p ≈ 0.0004. Measure the practical size with the effect size calculator.
How should I report very small p-values (p < .001)?
Report p-values below 0.001 as p < .001 in APA style. Give exact values to 2 or 3 decimals otherwise, such as p = .027, and drop the leading zero. Avoid writing p = .000.
What did the ASA's 2016 statement on p-values say?
The American Statistical Association (ASA) statement on p-values (2016), written by Ronald Wasserstein and Nicole Lazar, set out 6 principles. The principles say that p-values indicate incompatibility with a model, do not measure the probability that a hypothesis is true, should not drive decisions on their own, require full reporting, do not measure effect size and are not a good measure of evidence by themselves. To decide with fixed cut-offs instead, use the critical value calculator.