p-value Calculator

Find the p-value from a z test statistic.

p-value 0.05

Formula: Tail area of the standard normal beyond z

Step-by-step with your numbers:
1. Values used:
2. Z test statistic = 1.96
3.
4. p-value = 0.05
Did we solve your problem today?

The p-value is the probability of a result at least as extreme as observed, if the null is true.

How the Math Works

The p-value Calculator determines the probability of observing a test statistic as extreme as, or more extreme than, the one calculated from your sample data, assuming the null hypothesis is true. This is done by calculating the area under the standard normal distribution curve (a bell-shaped distribution with mean 0 and standard deviation 1) that lies beyond the z-score in the tail(s). For a two-tailed test, we double the area in one tail; for one-tailed tests, we use the area in the relevant direction. The calculation relies on integrating the probability density function of the standard normal distribution, which is expressed as the cumulative distribution function (CDF).

Practical Applications

To use this calculator, first compute your z-test statistic from your sample data using the appropriate formula (e.g., z = (sample mean - population mean) / (standard error)). Input this z-score into the calculator, and it will return the p-value. Compare this value to your chosen significance level (e.g., 0.05) to decide whether to reject the null hypothesis. A smaller p-value indicates stronger evidence against the null hypothesis, suggesting your results are statistically significant and not due to random chance.

Day-to-Day Use

Understanding p-values helps you make data-driven decisions in everyday scenarios. For example, a doctor might use hypothesis testing to evaluate whether a new treatment is more effective than the current standard, relying on p-values to assess if observed improvements are meaningful. Similarly, businesses use p-values to test if a marketing campaign truly increased sales or if product quality meets safety standards, ensuring decisions are backed by statistical evidence rather than anecdotal observations.

Worked example

z = 1.96 two-tailed gives p about 0.05.

FAQ

What does p < 0.05 mean?

The result is unlikely under the null, so it is often called statistically significant.