P-value calculator

Enter your test statistic and its degrees of freedom. The p-value is the chance of a result at least this extreme if the null hypothesis were true.

Your answer

p-value0.048618Significant at α = 5%

Worked out in your browser. Nothing you type is sent to a server.

How we worked it out

Updated as you change the numbers.

  1. The p-value is the area in the two tails of the t distribution beyond the statistic.

Method and assumptions

Tail areas are computed from the distributions’ cumulative functions: the error function for z, the regularized incomplete beta function for t and F, and the regularized incomplete gamma function for chi-square. Chi-square and F tests are right-tailed.

Questions

What is the two-tailed p-value for t = 2.1 with 20 degrees of freedom?

About 0.0486, significant at the 5% level.

Sources

Method and figures checked on . Every worked answer on this page is covered by an automated test. Found a mistake? Tell us.

Embed this calculator on your site

Free to use. Paste this where you want the calculator; it runs in your visitors’ browsers, sets no cookies and sends nothing to us.

Related calculators