P-Value Calculator
Convert a test statistic into a p-value for Z, Student’s t, chi-square, or F tests. Choose the tail direction and significance level to see a statistical decision and the calculation method.
Enter test information
For a chi-square test, p-values use the right tail. For an F-test, the right tail is the usual default; use a one-sided F test unless your analysis specifically requires another approach.
P-value and significance
Calculation steps
How the p-value is calculated
A p-value is the probability, assuming the null hypothesis is true, of observing a test statistic at least as extreme as the one obtained. The calculation depends on the test distribution and the tail specified by the alternative hypothesis.
How to use this calculator
- Select the test distribution that matches your test statistic.
- Enter the observed statistic and any required degrees of freedom.
- Choose the tail direction before interpreting the result. Chi-square is treated as right-tailed.
- Set the significance threshold α, commonly 0.05.
- Compare p with α. If p is less than or equal to α, reject the null hypothesis at that threshold; otherwise, fail to reject it.
A p-value is not the probability that the null hypothesis is true, and statistical significance does not by itself measure effect size or practical importance. Verify high-stakes analyses with appropriate statistical software.
Frequently asked questions
What does a p-value below 0.05 mean?
If the null hypothesis is true, a p-value below 0.05 means the observed statistic or a more extreme one would occur with probability below 5% under the selected test model. At α = 0.05, this is commonly called statistically significant.
What is the difference between one-tailed and two-tailed tests?
A one-tailed test evaluates an effect in a prespecified direction. A two-tailed test evaluates departures in either direction. The tail choice should follow the research question and be decided before looking at the result.
Can a p-value be zero?
The theoretical p-value can be extremely small, but it is not generally exactly zero for a finite statistic. This calculator displays very small values in scientific notation when needed.
Which degrees of freedom should I enter?
For a one-sample t-test, degrees of freedom are often n − 1. Chi-square degrees of freedom depend on the test design. For an F-test, enter numerator df₁ and denominator df₂ from the specific test procedure.
Does statistical significance mean an effect is important?
No. Statistical significance does not show how large or meaningful an effect is. Consider effect sizes, confidence intervals, study design, assumptions, and context alongside the p-value.