In-depth learning guide

How to Calculate and Read a P-Value

A p-value is a tail probability calculated under a null model. The distribution and tail direction must match the statistic and alternative hypothesis before the number can be interpreted responsibly.

3 min readStep-by-step methodReviewed 1 Oct 2026Published by LynaraOpen P-Value Calculator →

Method

  1. Identify whether the statistic follows a standard normal, Student t or chi-square distribution under the null model.
  2. For t or chi-square, enter the correct degrees of freedom.
  3. For z or t, choose left, right or two-tailed from the alternative hypothesis defined before seeing the result.
  4. For common Pearson chi-square tests, use the upper-tail probability.
  5. Report the p-value with the test statistic, degrees of freedom when applicable and the assumptions of the test.

Worked example

A z statistic of 1.96 gives a two-tailed p-value near 0.05.

A chi-square statistic of 3.841 with 1 degree of freedom has an upper-tail p-value near 0.05.

Notes

Open P-Value Calculator

A p-value is conditional on a statistical model

A p-value answers a narrow question: assuming the null hypothesis and the test's other assumptions are correct, how unusual is a test statistic at least as extreme as the one observed? It does not tell you the probability that the null hypothesis is true, the probability that the result happened by chance, or the probability that a replication will succeed.

The same numerical statistic can lead to a different p-value when the reference distribution, degrees of freedom or tail choice changes. Always identify whether the input is a z, t, chi-square or another statistic and whether the test is one-sided or two-sided before interpreting the result.

Tail direction must be chosen before seeing the result

A two-sided test looks for departures in either direction and is appropriate when both a positive and negative effect would contradict the null. A one-sided test places the rejection region in one direction and should come from a directional hypothesis chosen in advance, not from whichever side produces a smaller p-value after the data are seen.

Changing from two-sided to one-sided after inspecting the result changes the question being asked. That can make a result look more significant without adding evidence. Record the planned alternative hypothesis and use the tail that matches it.

Statistical significance is not effect size

Large samples can produce small p-values for differences that are too small to matter in practice, while small samples can produce large p-values even when the observed effect is meaningful but imprecisely estimated. A complete interpretation should include the effect estimate, uncertainty and subject-matter context.

Thresholds such as 0.05 are conventions, not a boundary between truth and falsehood. Treat the p-value as one piece of evidence, and consider confidence intervals, data quality, multiple testing, prior evidence and the consequences of the decision being made.

Editorial review and limitations

Review status: reviewed under Lynara's editorial policy on 1 Oct 2026. Institution-specific grading rules, assignment instructions and publisher requirements can override a general example.
Verification: see the methodology and sources & verification pages. To report a reproducible error, use the contact page with the page URL, inputs and expected result.

Continue with the related tools

Use the linked tools for your own inputs and scenarios.

Browse all statistics calculators →

Keep learning

Related guides