Math & ScienceExact, not table-lookup

P-Value Calculator

Enter the test statistic your analysis produced and get the exact p-value, rather than reading it off a table that stops at three decimal places. One-tailed and two-tailed are both shown so there is no ambiguity about which you quoted.

Test Statistic

Degrees of freedom are ignored for a z-test.

t-test and chi-square only
P-VALUE
Verdict at your α
Critical value
One-tailed p
Two-tailed p
Scientific notation
Confidence equivalent

What a p-value is, and what it is not

A p-value is the probability of seeing a result at least as extreme as yours if the null hypothesis were true. That conditional is the whole thing. It is not the probability that the null hypothesis is true, it is not the probability your result is a fluke, and it says nothing about how large or important the effect is.

A tiny p-value on a huge sample can accompany an effect too small to matter. A large p-value on a small sample often means you simply did not collect enough data to tell. Neither is settled by the p-value alone — report the effect size and the confidence interval next to it.

Choosing the tail before you see the data

Two-tailed asks whether there is a difference at all. One-tailed asks whether there is a difference in one specific direction, and in exchange gives you a p-value half the size. That discount is only legitimate if the direction was committed to in advance. Picking the tail after seeing which way the data went doubles your false-positive rate, and it is one of the most common forms of accidental p-hacking.

z, t or chi-square

Use z when the population standard deviation is known or the sample is large. Use t when you estimated the standard deviation from the sample itself — its heavier tails are the price of that uncertainty, which is why the same statistic gives a larger p-value under t. The two converge as degrees of freedom rise; past about 200 they are practically identical.

Use chi-square for goodness-of-fit and independence tests on counts. It is naturally one-tailed: only the right tail indicates a poor fit, because the statistic can never be negative.

Frequently Asked Questions

Is p = 0.05 a meaningful cut-off?
It is a convention, not a discovery. Fisher suggested it as a rough working threshold and it stuck. A result at p = 0.049 and one at p = 0.051 are practically identical evidence, so treat the number as a continuous measure of surprise rather than a pass mark.
Why does the same statistic give different p-values for z and t?
The t-distribution has heavier tails to account for estimating the standard deviation from the sample. More area in the tails means a larger p-value for the same statistic. The difference shrinks as degrees of freedom increase.
What does p = 0 mean here?
It means the p-value is smaller than the calculator can represent, not that it is exactly zero. The scientific notation field shows the true magnitude, typically something like 3.2 × 10⁻¹².
Can I convert a p-value back into a confidence level?
For a two-tailed test the confidence equivalent is 1 − p expressed as a percentage, which is what the confidence field shows. It is a translation of the same number, not extra evidence.
Where these numbers come from

Sources

Official publications only. Links open the original document in a new tab.