Explore all tools
FREE ONLINE TOOLNo visitor account required

P-Value Calculator

Convert a z or t test statistic into its p-value — two-tailed or one-tailed — with the tail area drawn on the curve.

—

P-value

Reading—
CDF at the statistic (area below)—

Note: The chart draws the normal reference curve; for t-tests the p-value itself is computed from the exact t distribution, which has heavier tails.

Report a problem with this tool

From a Test Statistic to a P-Value

The p-value is the probability, if the null hypothesis were true, of seeing a test statistic at least as extreme as yours. This calculator converts a z-statistic or a t-statistic (with degrees of freedom) into that probability for a two-tailed test or either one-tailed direction. Small p means the data would be surprising under the null — conventionally below 0.05 earns the label "statistically significant", a threshold to report honestly rather than worship.

Worked Examples

A z of 1.96 gives a two-tailed p of 0.0500 — exactly the 95% boundary, since 1.96 is the 97.5th percentile of the normal curve; one-tailed it is 0.0250. A t of 2.228 with 10 degrees of freedom also lands on 0.0500 two-tailed, because 2.228 is the t-table critical value for df = 10: the heavier tails of t demand a bigger statistic for the same evidence, which is the price of estimating the standard deviation from a small sample.

What a P-Value Is Not

It is not the probability that the null is true, not the probability your result is a fluke in plain language, and not a measure of effect size — a trivial effect with a huge sample earns a tiny p. Report it beside the effect and its confidence interval, treat 0.049 and 0.051 as the near-identical evidence they are, and remember that one test in twenty will cross 0.05 by chance alone if you run twenty: multiplicity is the quiet scandal of applied statistics.

Frequently Asked Questions

What is a p-value in plain words?

If the null hypothesis were true, the probability of seeing a test statistic at least this extreme. Small p means the data would be surprising under the null.

Why does z = 1.96 give p = 0.05?

1.96 is the 97.5th percentile of the normal distribution, leaving 2.5 percent in each tail — 5 percent in total for a two-tailed test.

Why does the t-test need degrees of freedom?

The t distribution has heavier tails than the normal, and how heavy depends on the sample size behind it. Degrees of freedom (usually n - 1) set that shape.

Is p below 0.05 proof the effect is real or important?

Neither. It is evidence against the null at a conventional threshold, nothing more. Effect size and the confidence interval carry the importance — and 0.049 versus 0.051 is nearly identical evidence.