P-Value Calculator

From test statistic to verdict — exact p-values for z and t tests, with the significance call made for you.

Distribution

Tails

How to use the p-value calculator

  1. Enter your test statistic. The z or t value your hypothesis test produced.
  2. Pick the distribution. z for the standard normal, t for Student’s t (then enter the degrees of freedom, at least 1).
  3. Pick the tails. One-tailed if your alternative hypothesis names a direction; two-tailed if it only says “different”.
  4. Press Calculate. You get the exact p-value, reject/fail-to-reject verdicts at α = 0.05 and 0.01, and a plain-English verdict sentence.

Frequently asked questions

What is a p-value?

The p-value is the probability, assuming the null hypothesis is true, of getting a test statistic at least as extreme as the one you observed. A small p-value means your result would be surprising under H₀.

What p-value is considered significant?

The usual cutoffs are α = 0.05 and α = 0.01. If p ≤ α, you reject the null hypothesis; if p > α, you fail to reject it. Smaller α means stronger evidence is required.

One-tailed or two-tailed: which do I pick?

Two-tailed if your alternative hypothesis only says the parameter differs (either direction); one-tailed if it specifies a direction, like “greater than”. A two-tailed p-value is double the one-tailed one for the same statistic.

When do I need the t distribution instead of z?

Use t when the population standard deviation is estimated from the sample — the usual case in homework. You need the degrees of freedom (at least 1); with large df the t p-value is nearly identical to the z one.

Does failing to reject H₀ prove it is true?

No. Failing to reject H₀ only means the data did not give enough evidence against it — absence of evidence is not evidence of absence. You never “accept” the null hypothesis.

More from the codex