P-value calculator.
Turn a test statistic into a p-value. Enter a z-score, or a t-score with its degrees of freedom, pick a tail, and see the p-value read off as shaded area under the curve, with a plain-English read and a verdict at the usual thresholds.
The standard normal. Right p = 1 − Φ(z), left p = Φ(z), two-tailed = 2 × (1 − Φ(|z|)).
The t-distribution with df degrees of freedom. The tail area comes from the incomplete beta function, computed exactly.
Bench runs t-tests, ANOVA, and proportion tests from your real data, with the correct statistic and p-value done for you, free.
The method.
A p-value is a tail area. You place your test statistic on the distribution the null hypothesis predicts, then measure how much probability sits beyond it. The further into the tail your statistic falls, the smaller that area, and the smaller the p-value.
For a z-score the reference is the standard normal. A right-tailed p-value is the area above z, a left-tailed p-value is the area below it, and a two-tailed p-value doubles the smaller tail. For a t-score the reference is the t-distribution with your degrees of freedom, which has heavier tails than the normal for small samples and converges to it as df grows. This tool reads that t tail area from the incomplete beta function, the same exact method a stats package uses.
The maths, in the open.
z: right p = 1 − Φ(z) · two-tailed = 2 × (1 − Φ(|z|)) · t: two-tailed = Iₓ(df/2, ½) with x = df / (df + t²)
Worked example. A z of 1.96, two-tailed, gives 2 × (1 − Φ(1.96)) = 2 × 0.025 = 0.050, the classic 5% line. A t of 2.5 with 24 degrees of freedom, two-tailed, uses the incomplete beta with x = 24 / (24 + 6.25) and returns about 0.0197, so it clears the 0.05 bar but not 0.01.
Common pitfalls.
Decide one-tailed versus two-tailed before you see the data, not after, or you are quietly halving your threshold. A p-value says nothing about how big or important an effect is: a tiny effect in a huge sample can post a very small p. And do not read 0.049 and 0.051 as opposite verdicts, they are almost the same evidence. The 0.05 line is a convention, so report the number itself alongside an effect size and a confidence interval.
P-values, answered.
What is a p-value?
The probability of getting data at least this extreme if the null hypothesis were true. A small p-value means data like yours would be unusual under the null.
How do you get a p-value from a z-score?
Read the area in the tail of the standard normal beyond your z. A right-tailed p is one minus the normal CDF at z; two-tailed doubles the smaller tail using the absolute value of z.
How do you get a p-value from a t-score?
Use the t-distribution with your degrees of freedom instead of the normal. The tail area is found from the incomplete beta function, which is what this tool computes exactly.
What is the difference between one-tailed and two-tailed?
A two-tailed test asks whether the result differs from the null in either direction. A one-tailed test asks about one specific direction and gives half the two-tailed p-value when the sign matches.
Does p less than 0.05 mean my result is true?
No. A small p-value means data this extreme would be unlikely under the null, not that the null is false or that your finding is important. The 0.05 line is a convention, not a law.
Is this calculator free?
Yes, free and no signup, running entirely in your browser.