Free & Accurate · Two-Tailed

P Value Calculator

Compute P values from Z, t, F, Pearson r, or Chi-square statistics. Instant results — no sign-up needed.

Z
P from Z score
Standard normal distribution
t
P from t statistic
Student's t-distribution
F
P from F ratio
Fisher–Snedecor F-distribution
r
P from correlation (r)
Pearson product-moment r
χ²
P from Chi-square (χ²)
Chi-square distribution

P Value Significance Reference

Use the table below to interpret your P value against standard significance thresholds.

P value rangeSignificance levelInterpretation
P < 0.001α = 0.001 (***)Extremely significant
P < 0.01α = 0.01 (**)Highly significant
P < 0.05α = 0.05 (*)Statistically significant
P ≥ 0.05n.s.Not statistically significant

How This Calculator Works

All computations run entirely in your browser using high-precision JavaScript implementations of the following distributions:

Z (standard normal): Two-tailed P = 2 × (1 − Φ(|Z|)), where Φ is the normal CDF approximated via the complementary error function (erfc) with 7-coefficient Horner polynomial — accurate to better than 1.5 × 10⁻⁷.

t (Student's t): Uses the regularized incomplete beta function Ix(a, b) via Lentz's continued fraction algorithm. Two-tailed P = Idf/(df+t²)(df/2, 1/2).

F (Fisher–Snedecor): P = Idfd/(dfd+dfn·F)(dfd/2, dfn/2) via the same incomplete beta implementation.

r (Pearson correlation): Converted to a t statistic: t = r√(df) / √(1 − r²), then evaluated against Student's t with the given df.

Chi-square: P = 1 − γ(df/2, χ²/2) / Γ(df/2), using the regularized incomplete gamma function computed via series expansion (small x) or Legendre's continued fraction (large x).

Ran a statistical test and need to know whether your result is significant?

This p value calculator turns your test statistic into a p value, which tells you how likely a result at least this extreme would be if there were really no effect.

Compare it with your significance level, usually 0.05, to decide whether to reject the null hypothesis, and read on for clear explanations of what the number does and doesn’t mean.

What Is a P Value?

A p value answers one question: if there were really no effect, how surprising would your result be?

More precisely, it’s the probability of getting a test statistic at least as extreme as the one you observed, assuming the null hypothesis is true.

A small p value means your data would be unusual if nothing were going on, which is evidence against the null hypothesis.

This p value calculator turns the test statistic from your analysis into a p value.

It works with the five statistics you’ll meet most often in a statistics course or a research paper: Z, t, F, Pearson’s r and chi-square (χ²).

How to Use the Calculator

  1. Pick the card that matches your test.
  2. Enter the test statistic and, where it’s asked for, the degrees of freedom.
  3. Press Compute P value. The result shows the p value to four decimal places, or in scientific notation if it’s very small. Stars mark the usual significance levels: * for p < 0.05, ** for p < 0.01 and *** for p < 0.001.

Which Statistic Should I Use?

  • Z score: large samples, or tests where the population standard deviation is known. Examples include a one-sample z test, a two-proportion test and many A/B tests. The p value is two-tailed from the standard normal distribution.
  • t statistic: comparing means with smaller samples, such as one-sample, paired and independent t tests, and checking regression coefficients. The p value is two-tailed from Student’s t distribution with your degrees of freedom.
  • F statistic: ANOVA and the overall test in regression. You need two degrees of freedom: between groups (DFn) and within groups (DFd). Only large values of F count as evidence, so the p value is the area in the upper tail.
  • Pearson r: testing whether a correlation is different from zero, with n − 2 degrees of freedom. The calculator converts r to a t statistic, t = r√(df ÷ (1 − r²)), and reports a two-tailed p value.
  • Chi-square: goodness-of-fit tests and tests of independence in contingency tables. Like F, only large values matter, so the p value is the upper-tail area.

Worked Examples

Each of these was checked against standard statistical software.

  • Z = 1.96 gives p ≈ 0.0500. That’s exactly why 1.96 is the famous cut-off for a 95% confidence level.
  • t = 2.5 with 10 df gives p ≈ 0.0314, significant at the 5% level.
  • F = 4.2 with 3 and 20 df, for example an ANOVA comparing four groups with 24 people in total, gives p ≈ 0.0186.
  • r = 0.45 with 18 df (20 pairs of observations) gives p ≈ 0.0465, so the correlation is just significant at 0.05.
  • χ² = 7.8 with 3 df gives p ≈ 0.0503. That’s just above 0.05, so it is not significant at the 5% level. A good reminder that the threshold is a line, not a cliff.

How to Interpret Your P Value

Before you run a test, choose a significance level, α, usually 0.05. If p is less than α, you reject the null hypothesis and call the result statistically significant.

If p is equal to or above α, you don’t have enough evidence to reject it.

A few points that trip people up:

  • A p value is not the probability that the null hypothesis is true. It assumes the null is true and asks how unusual the data would be.
  • Significant doesn’t mean important. With a big enough sample, even a tiny, meaningless difference can produce p < 0.05. Always report an effect size and a confidence interval as well.
  • Not significant doesn’t mean no effect. The study may simply have been too small to detect it.
  • Don’t go fishing. Running many tests and reporting only the ones under 0.05 inflates false positives. If you test many hypotheses, use a correction such as Bonferroni.

One-Tailed vs Two-Tailed Tests

A two-tailed test looks for a difference in either direction. A one-tailed test looks in one direction only, and you must decide that before you see the data.

For Z, t and r, a one-tailed p value is half the two-tailed value shown here, as long as the effect goes in the direction you predicted.

F and chi-square tests are already one-sided by nature, so their p values are used as they are.

Frequently Asked Questions

How do I find the degrees of freedom?

For a one-sample or paired t test, df = n − 1. For an independent t test with equal variances, df = n₁ + n₂ − 2. For a correlation, df = n − 2.

For a chi-square test of independence, df = (rows − 1) × (columns − 1).

Why is my p value shown like 3.2e-5?

That’s scientific notation for 0.000032. Very small p values are shown this way so they don’t round down to zero.

Can a p value be exactly zero?

No. It can be extremely small, but a test statistic always has some probability, however tiny, under the null hypothesis.

Starting from a raw score instead of a test statistic? The Z-Score Calculator turns a value, mean and standard deviation into a z-score and its p-value in one go, with the working shown.

More free tools from our Math Calculators collection:

Tahir Mehmood

About the author

Tahir Mehmood

Tahir Mehmood is the founder of Digital Designs SEO LTD, a UK company, with five years of hands-on experience in SEO, content writing and web development. He builds and maintains the calculators on All in Calculators and keeps them up to date. Spotted an error? Contact us and we will fix it.

Last updated: 27 November 2026