How it’s calculated
A p-value is the probability, assuming the null hypothesis is true, of getting a test statistic at least as extreme as the one you observed. Pick the type of statistic your test produced, enter its value and degrees of freedom, and choose the tail that matches your alternative hypothesis.
Example (OpenStax Introductory Statistics 2e, Example 13.3): an ANOVA gave F = 2.2303 with 3 and 16 degrees of freedom. The p-value is the right tail, P(F > 2.2303) = 0.1241. At α = 0.01 or 0.05 that is not significant. A second check: t = 2.228 with 10 degrees of freedom has a two-tailed p-value of about 0.05, matching the 97.5% entry of the NIST t table.
A small p-value says the data would be unusual if the null hypothesis were true. It is not the probability that the null hypothesis is true, and it says nothing about the size or importance of an effect.
Frequently asked questions
Which tail should I choose?
Use two-tailed when the alternative says “different from”, right-tailed for “greater than”, and left-tailed for “less than”. Decide before you look at the data. Chi-square tests of fit and independence, and ANOVA F-tests, are normally right-tailed.
How do I get a two-tailed p-value for chi-square or F?
Those distributions are not symmetric, so there is no single rule. This calculator doubles the smaller tail (capped at 1), which is the usual convention. The F-test calculator uses the same rule.
Is a p-value below 0.05 “proof”?
No. 0.05 is a convention. A small p-value is evidence against the null hypothesis under the test’s assumptions, not proof, and a large one is not proof of no effect.
Why is a very small p-value shown in scientific notation?
Values below one in a million would otherwise round to 0. For example 2.1 × 10⁻⁷ means 0.00000021.
Embed this calculator
Add this free calculator to your own website. Copy the code below into your page’s HTML:
Need this calculator branded, changed or built around your own prices?See custom business solutions →
Sources
- Introductory Statistics 2e, §13.3 Facts About the F Distribution (Example 13.3) — OpenStax
- NIST/SEMATECH e-Handbook of Statistical Methods, 1.3.6.7.2 Critical Values of the Student’s-t Distribution — NIST
- NIST/SEMATECH e-Handbook of Statistical Methods, 1.3.6.7.1 Cumulative Distribution Function of the Standard Normal Distribution — NIST
- NIST/SEMATECH e-Handbook of Statistical Methods, 1.3.6.7.4 Critical Values of the Chi-Square Distribution — NIST
Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.
Added · Last updated · How we check our calculators
Spotted a mistake or missing option? Report a problem· Suggest a calculator