🎯 P-Value Calculator

Find the p-value from a z, t, chi-square or F statistic, or a correlation r — one- or two-tailed, with critical values and a shaded curve.

✓ Free✓ No Signup Required✓ Browser-Based
Two-tailed p-value
0.0500
Significant at α = 0.05 — reject the null hypothesis (*)
−441.96

Shaded: the p-value area. Solid line: your statistic. Dashed red: critical values for α = 0.05.

P(X ≤ 1.96) — left tail0.9750
P(X ≥ 1.96) — right tail0.0250
Two-tailed0.0500
Critical values at α = 0.05−1.96 and 1.96

What P-Value Calculator Does

This p-value calculator turns a test statistic into a p-value. Choose the distribution your test uses — the standard normal (z), Student’s t, chi-square or F — enter the statistic and its degrees of freedom, and pick a two-tailed, left-tailed or right-tailed test. You can also enter a Pearson correlation r with its sample size, and it is converted to a t statistic for you.

Alongside the p-value you get the decision at your significance level, the critical values that mark the rejection region, both tail areas, and a chart of the distribution with the p-value area shaded. Very small p-values are computed from the tail directly, so a two-tailed z of 8 shows about 1.2 × 10⁻¹⁵ instead of rounding to zero.

How to Use P-Value Calculator

  1. Choose the distribution: Z, t, chi-square, F or correlation r
  2. Enter the test statistic and its degrees of freedom
  3. Pick two-tailed, left-tailed or right-tailed
  4. Set the significance level α
  5. Read the p-value, the decision and the critical values

Formula Used by P-Value Calculator

P-value by tail

Right: p = P(X ≥ x) · Left: p = P(X ≤ x) · Two-tailed: p = 2 × min(P(X ≤ x), P(X ≥ x))

Worked example

t = 2.5 with 15 degrees of freedom, two-tailed.

  1. P(T ≥ 2.5) with 15 df = 0.0123
  2. 2 × 0.0123 = 0.0245

Result: p ≈ 0.0245 — significant at α = 0.05 but not at α = 0.01.

Correlation coefficient to t

t = r√(n − 2) ÷ √(1 − r²), with n − 2 degrees of freedom

Worked example

r = 0.4 from n = 30 pairs.

  1. t = 0.4 × √28 ÷ √0.84 = 2.309
  2. Two-tailed p with 28 df = 0.0285

Result: The correlation is significant at the 5% level.

Common Critical Values

Distributionα = 0.10α = 0.05α = 0.01
z, two-tailed1.6451.9602.576
z, one-tailed1.2821.6452.326
t, two-tailed, 10 df1.8122.2283.169
t, two-tailed, 30 df1.6972.0422.750
χ², 1 df2.7063.8416.635
χ², 5 df9.23611.07015.086

Which Test Uses Which Distribution

TestStatistic and degrees of freedom
Test of a mean with known σ, or a large-sample proportion testz
One-sample or paired t testt with n − 1 df
Two-sample t test (pooled)t with n₁ + n₂ − 2 df
Chi-square goodness of fitχ² with categories − 1 df
Chi-square test of independenceχ² with (rows − 1) × (columns − 1) df
One-way ANOVAF with k − 1 and N − k df
Pearson correlationt with n − 2 df

How to Read Your Result

Reading the result

A p-value of 0.03 means that if the null hypothesis were true, a result at least this extreme would turn up about 3% of the time. Below α you reject the null hypothesis; above it you fail to reject it — which is not the same as showing it is true. Report the exact p-value rather than only “significant”.

Significance is not size

With a large enough sample, even a trivial effect becomes significant; with a small one, an important effect may not. Pair the p-value with an effect size and a confidence interval so readers can see how big the effect is and how precisely it was measured.

Many tests, more false alarms

At α = 0.05, about one in twenty tests of a true null hypothesis comes out significant by chance. When you run many tests, adjust for it — the Bonferroni correction, for example, divides α by the number of tests.

Limitations & Accuracy Notes

  • The calculator converts a statistic you already have into a p-value; it does not run the test on raw data.
  • Results assume the test’s conditions hold — for example, roughly normal data for a t test and expected counts of at least about 5 in each cell for chi-square.
  • Exact tests for small samples, such as Fisher’s exact test or the binomial test, use other distributions and are not covered.

Frequently Asked Questions

What is a p-value?
A p-value is the probability of getting a result at least as extreme as the one you observed if the null hypothesis were true. A small p-value means your data would be unusual under the null hypothesis. It is not the probability that the null hypothesis is true.
How do you calculate a p-value from a z-score?
Find the area under the standard normal curve beyond z. Right-tailed p = 1 − Φ(z), left-tailed p = Φ(z) and two-tailed p = 2 × (1 − Φ(|z|)). For z = 1.96 the two-tailed p-value is 0.05.
How do I find the p-value from a t-statistic?
You need the degrees of freedom as well: n − 1 for a one-sample or paired t test, n₁ + n₂ − 2 for a pooled two-sample test, or the fractional value from Welch’s test. Enter t and df — t = 2.228 with 10 df gives a two-tailed p of 0.05.
What does p < 0.05 mean?
If the p-value is below your chosen significance level α — 0.05 is the most common convention — the result is called statistically significant and you reject the null hypothesis. It says nothing about how large or important the effect is.
Should I use a one-tailed or two-tailed test?
Use two-tailed when a difference in either direction matters. Use one-tailed only if you decided before seeing the data to test a single direction. For z and t tests, a one-tailed p-value is half the two-tailed value when the effect goes the predicted way.
Why are chi-square and F tests right-tailed?
Both statistics are built from squared differences, so they are never negative and larger values mean the data depart more from the null hypothesis. The p-value is therefore the area to the right of the statistic.
How is the p-value for a correlation calculated?
The correlation r is converted to t = r√(n − 2) ÷ √(1 − r²) with n − 2 degrees of freedom, then tested like any t statistic. r = 0.4 from 30 pairs gives t = 2.31 and a two-tailed p of about 0.029.
By OnlineToolHubs Team • Updated September 2026