Complete guide
Use the calculator above to compute p-values for Z-tests, T-tests and Chi-square tests, one-tailed or two-tailed, with a live distribution curve, the rejection region shaded and a verdict at α=0.05 and α=0.01. The p-value is the standard tool for deciding whether an observed difference is real or could plausibly be due to chance.
What it is
What is p-value?
A p-value is the probability of observing data at least as extreme as your sample, assuming the null hypothesis is true. A small p-value (typically < 0.05) is evidence against the null and grounds for accepting the alternative. A large p-value means your data is consistent with the null — not that the null is proven correct.
Calculation logic
How the calculation works
The calculator computes the test statistic appropriate to the test (Z, t, or chi-square), then converts it to a p-value using the relevant distribution. The p-value is the area under the curve more extreme than the observed test statistic, on one tail or both depending on the test direction.
Common mistakes
Watch-outs before using p-value
- Treating p < 0.05 as proof — it is evidence against the null, not certainty.
- Confusing statistical significance with practical significance — a tiny effect can be statistically significant with a huge sample.
- Running multiple tests without correcting α — every additional test increases the chance of a false positive.
- Reporting only the p-value and not the effect size or confidence interval.
- Choosing the test direction (one- vs two-tailed) after seeing the data — this inflates false positives.
What to do next
Turn the result into action
Always report the effect size and CI alongside the p-value. If p < α, validate with a small confirmation run before locking in the change. If p > α, do not conclude "no effect" — conclude "no evidence of effect at this sample size".
What is a p-value?
The probability of observing data at least as extreme as your sample, assuming the null hypothesis is true. A small p-value is evidence against the null.
What does p < 0.05 mean?
There is less than a 5% chance of seeing data this extreme if the null hypothesis were true. By convention this is treated as sufficient evidence to reject the null.
Is p < 0.05 the same as "the result is true"?
No. It means the data is unlikely under the null hypothesis. Replication, effect size and confidence intervals matter as much as the p-value itself.
What is the difference between one-tailed and two-tailed?
A one-tailed test looks for an effect in a specific direction (e.g. defect rate went down); a two-tailed test looks for any difference. Choose direction before seeing the data, not after.
What if my p-value is just above 0.05?
It is not evidence of no effect — only that the current sample does not provide sufficient evidence to reject the null. Consider increasing the sample, or report the result transparently with the effect size and CI.