Homeโ€บGlossaryโ€บP-Value

P-Value

General

Probability Value

The probability of observing a result at least as extreme as the one measured, assuming the null hypothesis is true โ€” used to judge whether a result is statistically significant.

Definition

A p-value is the probability of observing a result at least as extreme as the one actually measured, assuming the null hypothesis โ€” the default assumption of "no effect" or "no difference" โ€” is true. It is the central output of most hypothesis tests and is used to decide whether an observed effect (a difference between two groups, a correlation, an experimental treatment effect) is likely to be real or could plausibly have arisen from random chance alone.

Researchers compare the p-value to a pre-chosen significance threshold, called alpha, most commonly set at 0.05. If the p-value is below alpha, the result is declared "statistically significant" and the null hypothesis is rejected; if it's above alpha, there is insufficient evidence to reject the null hypothesis. Tools like the T-Test Calculator and Chi-Square Test Calculator compute the test statistic and its corresponding p-value automatically.

A p-value is closely tied to the Confidence Interval: a 95% confidence interval that excludes the null value (such as zero difference) corresponds to a p-value below 0.05 in a two-tailed test at that same confidence level.

Formula

There is no single algebraic formula for a p-value โ€” it is derived from the sampling distribution of the test statistic. The general process is:

  1. Calculate a test statistic (t, chi-square, z, or F) from the sample data.
  2. Compare that statistic to its theoretical distribution under the null hypothesis.
  3. P-Value = P(test statistic at least as extreme as observed | null hypothesis is true)

Worked Example

A researcher runs a two-sample t-test comparing average test scores between two teaching methods and obtains a t-statistic of 2.5 with 28 degrees of freedom. Looking up this t-statistic against the t-distribution gives a two-tailed p-value of approximately 0.019.

Since 0.019 is less than the standard alpha of 0.05, the researcher rejects the null hypothesis and concludes the two teaching methods produce a statistically significant difference in scores.

Key Things to Know

  • Compare against alpha, not zero: a p-value is only "significant" relative to a chosen threshold (commonly 0.05, sometimes 0.01) โ€” there's no universal cutoff.
  • Not the same as Statistical Significance: significance is the yes/no conclusion drawn by comparing the p-value to alpha; the p-value itself is the underlying probability.
  • Doesn't measure effect size: a very small p-value can come from a trivial effect measured on a huge sample, so always check the magnitude of the effect too.
  • Linked to the Confidence Interval: a confidence interval excluding the null value corresponds to a significant p-value at the complementary confidence level.
  • One-tailed vs two-tailed matters: the same data can produce different p-values depending on whether the test checks for an effect in one specific direction or in either direction.

Frequently Asked Questions

A p-value of 0.05 means that, assuming the null hypothesis is true, there is only a 5% probability of observing a result at least as extreme as the one measured. It is commonly used as the threshold (alpha) below which a result is declared statistically significant, though 0.05 is a convention, not a universal rule.
A smaller p-value indicates stronger evidence against the null hypothesis, but it does not measure the size or practical importance of an effect โ€” a tiny, meaningless effect can produce a very small p-value with a large enough sample. Effect size and confidence intervals should be reviewed alongside the p-value, not instead of it.
The p-value is the specific probability calculated from the data, while statistical significance is the binary conclusion (significant or not) reached by comparing the p-value to a pre-chosen alpha threshold, typically 0.05. A p-value of 0.03 is statistically significant at alpha = 0.05 but not significant at alpha = 0.01.
No โ€” this is one of the most common misinterpretations. The p-value is the probability of the observed data (or more extreme data) given that the null hypothesis is true, not the probability that the null hypothesis itself is true given the data.
Most common hypothesis tests produce a p-value, including the t-test for comparing means, the chi-square test for categorical associations, ANOVA for comparing multiple groups, and correlation and regression significance tests. The [T-Test Calculator](/t-test-calculator/) and [Chi-Square Test Calculator](/chi-square-test-calculator/) both report a p-value as their key output.