- Home
- Statistics
- P-value calculator
P-value calculator
Choose the test statistic, type its value (and the degrees of freedom for t and chi-square) and the tail: you get the p-value.
Your favorites show up first on the home page and under the star at the top (on this browser).
| α | Result |
|---|
What the p-value is
The probability, if the null hypothesis were true, of getting a statistic at least as extreme as the one you got. A small p-value means your result would be unusual under that hypothesis. It is not the probability that the hypothesis is true.
Tails
- Two-tailed: extreme in either direction. With z = 1.96, p = 0.049996.
- Right-tailed: the area above the statistic.
- Left-tailed: the area below it.
The chi-square distribution isn't symmetric and its tests usually look at the right tail, so here it has no two-tailed option.
Significance levels
The table compares the p-value with α = 0.10, 0.05, 0.01 and 0.001: the result is significant at a level when p is smaller than α. Choose α before looking at the data.
Frequently asked questions
Where do I get the degrees of freedom?
From the test you ran: for a one-sample t test, n − 1; for a chi-square test of independence, (rows − 1) × (columns − 1).
p = 0.05: is it significant?
Not at α = 0.05: significance needs p < α. It is at α = 0.10.
Can I use decimal degrees of freedom?
Yes: some tests, like Welch's t test, give non-integer degrees of freedom.