P-Value Calculator
Turn a test statistic into a p-value. Choose z or t, enter the value, and pick a two-tailed, left-tailed or right-tailed test.
Step by step
- Two-tailed test with t = 2.1 and 20 degrees of freedom
- p = 2 × P(T > 2.1)
- p-value = 0.0486
What is a p-value?
The probability of getting a result at least as extreme as yours if the null hypothesis were true. A small p-value (commonly below 0.05) is evidence against the null hypothesis. It is not the probability that the null hypothesis is true.
One or two tails?
Use a two-tailed test when any difference matters (≠). Use one tail only when the hypothesis predicted a direction in advance (< or >). The two-tailed p-value is double the one-tailed p-value for the tail in the direction of your result.
Worked example
A t-test with t = 2.1 and 20 degrees of freedom: the area beyond 2.1 is 0.0243, so the two-tailed p-value is 0.0486 — significant at 0.05 but not at 0.01. On a TI-84: tcdf(2.1, 1E99, 20) × 2. In Excel: =T.DIST.2T(2.1, 20); for z, =2*(1-NORM.S.DIST(1.96, TRUE)).
Common mistakes
- Reading “p > 0.05” as proof that there is no effect — it only means the data are not strong enough evidence.
- Choosing one tail after seeing the data.
- Using z when the standard deviation came from the sample and n is small — use t.
Frequently asked questions
How do you find a p-value from a t-statistic?
Find the area beyond t under the t distribution with the right degrees of freedom; double it for a two-tailed test.
Is p = 0.0486 significant?
Yes at the 0.05 level, but not at 0.01.
Last reviewed November 2026. Results are rounded to 4 decimal places; all math runs in your browser.