Mihsaba›Statistics & Probability›P-Value Calculator

P-Value Calculator

Calculate a p-value from a z, t or chi-square statistic, with tail selection, degrees of freedom and an optional significance-level comparison.

A p-value is not the probability that the null hypothesis is true; it is a tail probability conditional on the null model.

Share this free calculator

Send this tool to someone who needs the calculation.

How to use

This calculator converts a known test statistic into a p-value. Choose the distribution that belongs to your test: standard normal Z, Student’s t with degrees of freedom, or chi-square with degrees of freedom. Z and t support left-, right- and two-tailed alternatives.

  1. Choose the distribution used by your test statistic.
  2. Enter the statistic and degrees of freedom when required.
  3. Choose the tail from the alternative hypothesis, not from the observed sign.
  4. Optionally set α and read the p-value.

How it is calculated

z/t: tail area under the selected distribution; χ²: p=P(X≥χ²) at the chosen df

Example

Example: with z=1.96 in a two-tailed test, p is about 0.05. A one-tailed test gives roughly half that tail area, which is why the alternative hypothesis should determine the tail before looking at the result.

Important notes

A p-value is not the probability that the null hypothesis is true and does not measure effect size. Its validity depends on the selected distribution, degrees of freedom and assumptions of the original test.

Worked examples and interpreting results

Z=2 under the standard normal model gives two-sided p about 0.0455003 and right-tail p about 0.0227501. Tail choice changes the statistical question.

Worked examples and interpreting results
CaseCalculationResult
Two-sided2 × (1 − Φ(2))0.0455
Right tail1 − Φ(2)0.02275

How to check the result

Select Z and statistic 2, then compare two-sided and right-tail. Specify the test before seeing results; p is neither the probability the null is true nor a measure of effect size.

Frequently asked questions

Does p<0.05 mean the effect is practically important?

No. Statistical significance is not effect size or practical importance.

When should I use a two-tailed test?

When the alternative allows a departure in either direction.

Why does t need degrees of freedom?

Because the shape of the t distribution changes with df.

Is chi-square two-tailed here?

No. The chi-square option reports the usual right-tail probability.