PUBLIC.INTERNET

P-Value Powerhouse

Statistical packages hand you a p-value, but sometimes you only have a test statistic from a paper, a spreadsheet, or a quick hand calculation. Choose the distribution (z, t, chi-square, or F), enter the statistic and degrees of freedom where they apply, set a tail and a significance level, and the page returns the p-value with a significant or not significant verdict. A bar shows the p-value against your alpha, and a short critical-value table is on the page for sanity checks.

Calculate p-values from test statistics to determine statistical significance

Common Critical Values

Test α = 0.10 α = 0.05 α = 0.01
Z (two-tailed) ±1.645 ±1.960 ±2.576
Z (one-tailed) 1.282 1.645 2.326
t (df=30, two-tailed) ±1.697 ±2.042 ±2.750

How to get a p-value

  1. Choose a Test Type: Z-Test, T-Test, Chi-Square, or F-Test (ANOVA). The fields below change to match.
  2. Enter the Test Statistic. For t, chi-square, and F also enter Degrees of Freedom (F needs both df1 and df2).
  3. Pick a Tail Type (two-tailed, left-tailed, or right-tailed). Chi-square and F hide this choice because those p-values are right-tailed.
  4. Select a Significance Level (α) of 0.01, 0.05, or 0.10, then click Calculate P-Value.
  5. Read the p-value, the SIGNIFICANT or NOT SIGNIFICANT result, the plain-language interpretation, and where the bar falls relative to the red alpha line.

What the p-value does and does not say

A p-value is the probability of seeing a statistic at least as extreme as yours if the null hypothesis were true. It is not the probability that the null is true, and it is not the size of an effect. The page compares it to alpha with a strict less-than: a p-value exactly equal to alpha counts as not significant.

Under the hood the page computes the normal, t, chi-square, and F distribution functions numerically (an error-function approximation for z and incomplete beta and gamma functions for the others), then subtracts from 1 for the upper tail. That is accurate enough for reporting to a few digits. One limit for now: a one-tailed t result is correct only when the sign of the statistic points the same way as the tail (negative for left, positive for right). With a mismatched sign the page reports the small tail, about 0.037 for t = 2 and df = 10, where the true value is about 0.963.