P Value Calculator
Use this calculator to find p-values from Z, t, F, chi-square, or Pearson r statistics. First, select the test statistic, enter the required values, and choose the tail to get the exact p-value.
Note: The normal (Z) distribution is symmetric and extends to infinity in both directions.
Note: Two-tailed is default. The left tail is for less than (<), and right tail is for greater than (>).
How to Use the P Value Calculator
This calculator allows you to find the exact p-value for Z, t, F, chi-square (χ²), and Pearson r statistical tests.
- Choose the Test Statistic (Z score, T statistic, F statistic, Chi-Square, or Pearson r).
- Enter the test statistic value and the required degrees of freedom or sample size.
- Select the Tail (Left, Two, or Right).
- Click Calculate.
The calculator returns the exact probability (p-value) of observing a test statistic as extreme or more extreme than the one you entered, assuming the null hypothesis is true.
What is a P-Value?
A p-value (probability value) is the probability of obtaining test results at least as extreme as the results actually observed, under the assumption that the null hypothesis is correct. A very small p-value means that such an extreme observed outcome would be very unlikely under the null hypothesis.
In hypothesis testing, the p-value is compared to the significance level (α). If the p-value is less than or equal to α, you reject the null hypothesis. If it is greater than α, you fail to reject the null hypothesis.
Which Test Statistic Should I Choose?
Choose your test statistic based on the type of hypothesis test you are performing:
| Statistic | Inputs | Common Use Cases |
|---|---|---|
| Z score | Z statistic | Z-tests, proportions tests, and tests where population standard deviation is known. |
| T statistic | t statistic, degrees of freedom | t-tests (1-sample, 2-sample, paired), regression coefficients. |
| F statistic | F statistic, numerator df, denominator df | ANOVA, regression models, variance comparison. |
| Chi-Square | χ² statistic, degrees of freedom | Goodness-of-fit, test of independence. |
| Pearson r | Correlation coefficient (r), sample size (n) | Testing the significance of a linear relationship. |
How to Choose the Correct Tail
The tail selection depends on your alternative hypothesis (H₁). A two-tailed test checks for a difference in any direction, while a one-tailed test checks for a difference in a specific direction (greater than or less than).
- Two-Tailed Test: Use when your alternative hypothesis is "not equal to" (≠). The p-value is the probability of finding a test statistic at least as extreme in either direction.
- Right-Tailed Test: Use when your alternative hypothesis is "greater than" (>). The p-value is the area to the right of your test statistic.
- Left-Tailed Test: Use when your alternative hypothesis is "less than" (<). The p-value is the area to the left of your test statistic.
Why Are F and Chi-Square Right-Tailed by Default?
Because F and Chi-Square distributions are bounded at zero (they can't be negative) and are right-skewed, the vast majority of hypothesis tests using these distributions (like ANOVA and Chi-Square tests) are right-tailed. The test statistic grows larger as the evidence against the null hypothesis grows stronger, so we look at the area in the right tail.