P-Value Calculator

Convert a test statistic into a p-value for the z, t, chi-square, F or correlation (r) distribution. Choose two-tailed, right-tailed or left-tailed, enter the degrees of freedom where needed, and see the p-value with a graph shading the area it represents. This replaces printed statistical tables, with exact values instead of ranges like “0.01 < p < 0.025”.

What a p-value means

A p-value is the probability of getting a test statistic at least as extreme as yours, assuming the null hypothesis is true. A small p-value means your data would be surprising if there were no effect. It is not the probability that the null hypothesis is true, and it says nothing about how large or important the effect is.

Which tail?

TestUsual tail
z and t tests with H₁: μ ≠ μ₀Two-tailed
z and t tests with a one-directional H₁ set in advanceRight- or left-tailed
Chi-square tests (independence, goodness of fit)Right-tailed
F tests (ANOVA, regression)Right-tailed

Degrees of freedom you will need

  • One-sample or paired t: n − 1. Independent t (Student): n₁ + n₂ − 2.
  • Chi-square independence: (rows − 1)(columns − 1). Goodness of fit: categories − 1.
  • One-way ANOVA F: df₁ = k − 1, df₂ = N − k.
  • Correlation: enter the sample size n; the test uses n − 2 degrees of freedom.

Frequently asked questions

p = 0.05 exactly: significant or not?

By the usual rule, significant when p ≤ α. But a result at p = 0.049 and one at p = 0.051 carry almost identical evidence. Report the exact p-value and the effect size rather than just “significant”.

Why do I get a different p-value than my t table?

Printed tables only list a few critical values, so you can only say p falls between two of them. This calculator computes the exact tail area to high precision.