πŸ”’ Math & Science

P-Value Calculator

Find the p-value from a z-score or t-statistic for a one- or two-tailed test. Uses an accurate normal CDF and Student-t distribution, with significance at Ξ± = 0.05.

P-value

0.049996

Statistically significant at Ξ± = 0.05 β€” reject the null hypothesis.

Two-tailed p-value from the standard normal distribution. Normal probabilities use the Abramowitz-Stegun error function; the t-distribution uses the regularized incomplete beta function.

Frequently Asked Questions

How do I calculate a p-value from a z-score?

Look up the area in the tail of the standard normal distribution beyond your z-score. For a one-tailed test the p-value is the area in one tail; for a two-tailed test it is twice the area in the smaller tail. For example, z = 1.96 gives a two-tailed p-value of about 0.05.

How do I calculate a p-value from a t-statistic?

Use the Student-t distribution with the right degrees of freedom (df) instead of the normal distribution. The p-value is the tail area beyond your t-statistic. As df grows large the t-distribution approaches the normal distribution, so the two p-values converge.

What is the difference between a one-tailed and two-tailed p-value?

A one-tailed test looks for an effect in a single direction and uses the area in one tail. A two-tailed test looks for an effect in either direction and doubles the tail area. The two-tailed p-value is therefore twice the one-tailed p-value for the same test statistic.

What does the p-value mean?

The p-value is the probability of observing a test statistic at least as extreme as the one you got, assuming the null hypothesis is true. A small p-value (commonly p < 0.05) suggests the data are unlikely under the null hypothesis, so you reject it.

Is p < 0.05 always significant?

0.05 is a common convention, not a law. The right threshold (alpha) depends on the field and the cost of a false positive. A p-value just below 0.05 is weak evidence; many fields use 0.01 or smaller, and you should choose alpha before running the test.

How accurate is this calculator?

The normal probabilities use the Abramowitz-Stegun error-function approximation (absolute error under 1.5e-7), and the t-distribution uses the regularized incomplete beta function computed by a continued fraction. Results match standard statistical tables to the decimals shown.