P-value Calculator
Turn a z-score or t-score into a p-value for one- or two-tailed hypothesis tests.
Reviewed by the WorldCalcs team · Methodology · Last reviewed: July 2026
p-value
0.0500
At α = 0.05, this result is statistically significant.
What is a p-value?
A p-value measures how surprising your data would be if the null hypothesis were true. A small p-value means results like yours would rarely happen by chance alone, which is evidence against the null hypothesis. This calculator converts a test statistic — either a z-score or a t-score — into a p-value for a one- or two-tailed test, so you can compare it against your chosen significance level. To find the underlying test statistic first, use the z-score calculator.
How the p-value is calculated
The p-value is the tail area of a probability distribution beyond your test statistic. A z-score uses the standard normal distribution; a t-score uses Student's t-distribution with your degrees of freedom, which has heavier tails for small samples. A two-tailed test measures both tails, so its p-value is 2 × P(Z ≥ |z|). A right-tailed test uses P(Z ≥ z), and a left-tailed test uses P(Z ≤ z). You then compare the p-value with your significance level α — often 0.05 — to decide whether the result is statistically significant. Pair this with the confidence interval calculator and the standard deviation calculator when reporting results.
Example
A two-tailed z-test with z = 1.96 gives a p-value of about 0.0500, sitting right on the classic 0.05 threshold. Switching to a t-test with t = 2.131 and 15 degrees of freedom also gives roughly 0.0500 — the t-distribution needs a slightly larger statistic to reach the same p-value because its tails are heavier.
All calculations happen in your browser. Nothing is sent, stored, or tracked.
Results are estimates and may contain errors — for general information only, not professional advice. Always verify before relying on them. Disclaimer
How to use
Choose whether your statistic is a z-score or a t-score, enter its value (may be negative), pick the tail of the test, and — for t-scores — enter the degrees of freedom. The calculator returns the p-value and states whether the result is significant at α = 0.05.
Use two-tailed when you're testing for any difference; use one-tailed only when a directional hypothesis was set in advance.