Home / Math Calculators / P-Value Calculator
Statistics & Probability Tools

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.

✓ Z, t, χ² and F tests✓ One- or two-tailed tests✓ Significance interpretation
Calculator

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.

Your results

P-value and significance

Ready to calculateEnter a statistic and choose Calculate p-value.
P-value
—
Probability under H₀
Significance level (α)
—
Your chosen threshold
Test statistic
—
Selected distribution
Confidence equivalent
—
1 − p, as a percentage (not a CI)
Critical value
—
At the selected α and tail
Degrees of freedom
Not required
For t, χ² and F distributions

Calculation steps

Results and formulas will appear here after calculation.
Formula guide

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.

Z-test (standard normal)Left tail: Φ(z) · Right tail: 1 − Φ(z) · Two tails: 2 × [1 − Φ(|z|)]
Student’s t-testUses the t distribution with the supplied degrees of freedom. Tail probabilities are calculated from the regularized incomplete beta function.
Chi-square and F testsChi-square p-values use the upper tail of χ²(df). F-test p-values use the upper tail of F(df₁, df₂).

How to use this calculator

  1. Select the test distribution that matches your test statistic.
  2. Enter the observed statistic and any required degrees of freedom.
  3. Choose the tail direction before interpreting the result. Chi-square is treated as right-tailed.
  4. Set the significance threshold α, commonly 0.05.
  5. 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.

Common questions

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.