Statistics & Probability

P-Value Calculator (z, t, Chi-Square and F)

Choose the test statistic’s distribution and enter its value and degrees of freedom.

Your numbers

Your results

p-value
p-value
—
Conclusion
—
Cumulative probability below the statistic
—

P-Value Calculator (z, t, Chi-Square and F) by TheCalcTools

How the P-Value Calculator (z, t, Chi-Square and F) works

The p-value is the probability, assuming the null hypothesis, of a statistic at least as extreme as the one observed. For z and t tests it can be two-sided or one-sided; chi-square and F tests use the right tail.

The t and F distributions are computed with the regularized incomplete beta function and the chi-square with the incomplete gamma function, to about 12 significant digits.

The formula

Two-sided p = 2 × min(F(x), 1 − F(x))

Worked example

Using the default values shown in the calculator:

DistributionNormal (z)
Test statistic1.96
Degrees of freedom (df, or numerator df for F)12
Denominator degrees of freedom (F only)20
Tails (z and t)Two-sided
Significance level α0.05
  1. z = 1.96 two-sided: p = 0.049996.

Result:

p-value0.049996
ConclusionSignificant at α = 0.05
Cumulative probability below the statistic0.975002

Frequently asked questions

Is p = 0.05 a magic threshold?

No. It is a convention. Report the p-value and effect size, and consider the study design.

Sources and further reading

More in Statistics & Probability · All calculators

This calculator gives estimates for information only. Check important results independently before you rely on them. See our disclaimer.