Calculator Uni

P-Value Calculator

Convert a z-score or t-statistic into a one- or two-tailed p-value.

Quick answer

A p-value is the probability of seeing a result at least as extreme as yours if the null hypothesis were true — it describes the data given the hypothesis, not the probability the hypothesis is false. A z-score of ±1.96 gives a two-tailed p of exactly 0.05, which is why 1.96 is the critical value behind 95% confidence intervals.

Test statistic

p-value (two-tailed)

0.0500

Significant at 0.05

Two-tailed p

0.0500

One-tailed p

0.0250

Distribution

standard normal

Confidence it isn't chance

95%

A p-value is the probability of a result at least this extreme if the null hypothesis were true — not the probability that the null hypothesis is false.

What a p-value actually measures

A p-value answers one narrow question: if the null hypothesis were true, how often would random sampling produce a result at least as extreme as the one you got? A p of 0.03 means such a result would appear 3% of the time by chance alone. It is a statement about data given a hypothesis, never about the hypothesis given the data — that reversal is the single most common misreading in applied statistics.

Worked example: z = 1.96

For a standard normal distribution, the area beyond ±1.96 is 0.025 in each tail, so the two-tailed p-value is exactly 0.05 and the one-tailed p is 0.025. This is why 1.96 turns up everywhere: it is the critical z for a 95% confidence interval. A t-statistic of 1.96 on 20 degrees of freedom gives a larger p — about 0.064 — because the t-distribution has heavier tails when the sample is small.

One tail or two

Use a two-tailed test when any difference matters, in either direction — the default for almost all research. Use a one-tailed test only when a difference in the opposite direction would be meaningless or impossible to act on, and only when that was decided before seeing the data. Switching to one-tailed after the fact to halve a p-value from 0.08 to 0.04 is a recognised form of p-hacking.

Significance is a convention, not a discovery

The 0.05 threshold is an arbitrary inheritance from Fisher, and nothing physical changes between p = 0.049 and p = 0.051. Report the actual value rather than just crossing a line, and pair it with an effect size and a confidence interval — a tiny, useless difference will reach significance in a large enough sample, and a large, important one can miss it in a small sample.

What can make a p-value meaningless

P-values assume the test's conditions hold and that you ran one prespecified analysis. Testing many outcomes and reporting the best inflates false positives — twenty independent tests at 0.05 yield roughly one significant result from pure noise, which is why corrections such as Bonferroni exist. Stopping data collection when the result looks good has the same effect. A p-value from an analysis chosen after seeing the data no longer means what it claims.

Frequently asked questions

What does a p-value of 0.05 mean?
It means that if the null hypothesis were true, you would see a result at least this extreme about 5% of the time from random sampling alone. It does not mean there is a 95% chance your hypothesis is correct — the p-value describes the data given the hypothesis, not the reverse.
What is the p-value for a z-score of 1.96?
Exactly 0.05 two-tailed, or 0.025 one-tailed, since 2.5% of the normal distribution lies beyond ±1.96. That's precisely why 1.96 is the critical value used for 95% confidence intervals.
Is a smaller p-value stronger evidence?
It's stronger evidence against the null hypothesis, but it says nothing about how large or important the effect is. A very small p-value in a huge sample can accompany a difference too small to matter, so always report an effect size and confidence interval alongside it.
Should I use a one-tailed or two-tailed test?
Two-tailed in almost every case, because it tests for a difference in either direction. Only use one-tailed when a result in the opposite direction would be meaningless, and only when you committed to that before looking at the data.

Related calculators