Quick answer: a p-value is the probability, assuming the null hypothesis is true, of a test statistic at least as extreme as yours. Enter the statistic above — a z score, a t score, a chi-square value or an F value, with its degrees of freedom — choose the tail your test uses, and this p value calculator returns the left-tailed, right-tailed and (where it applies) two-tailed p, with a plain verdict at α = 0.05 and α = 0.01. The classic check: z = 1.96 gives a two-tailed p of 0.0500.
How to use this p value calculator
Step 1 — Pick the distribution that matches your test. The distribution is not a free choice: it is fixed by the test that produced your statistic. A z test or a large-sample test on a mean uses the standard normal (z). A t test uses Student's t. A test on counts in categories, or a goodness-of-fit test, uses chi-square. ANOVA and the overall test of a regression use F. Picking the wrong distribution is the most common way to get a wrong p-value from a correct statistic, because the same number — say 2.00 — sits at a different percentile of each curve.
Step 2 — Enter the statistic and its degrees of freedom. The z distribution needs nothing else. The t and chi-square distributions each need one degrees-of-freedom value, and F needs two: the numerator df first, the denominator df second. Degrees of freedom come from the design of the test — n − 1 for a one-sample t test, (rows − 1)(columns − 1) for a chi-square test of independence — and they change the answer materially, which is why the calculator asks for them rather than assuming them.
Step 3 — Choose the tail your alternative hypothesis specifies. Right-tailed for “greater than” alternatives and for chi-square and F tests, left-tailed for “less than”, two-tailed for “different from”. Then read the headline p-value, check it against your pre-chosen significance level, and save or copy the summary if you need the working elsewhere. If you do not yet have a statistic — only raw data — compute it first: the T-Test Calculator computes the t statistic from data, and the Z-Score Calculator converts a value, mean and standard deviation into a z score.
What a p-value is — and what it is not
In short: the p-value answers one narrow question: if the null hypothesis were true, how often would chance alone produce a result at least this far from what the null predicts? It is a probability about the data, calculated inside a world where the null is assumed true. Every correct use of a p-value keeps that “if” attached; every famous misreading quietly drops it.
Three misreadings matter most, and this page will keep repeating the corrections because they are the reason the American Statistical Association took the unusual step of issuing a formal statement on p-values in 2016. First, a p-value is not the probability that the null hypothesis is true. A p of 0.03 does not mean a 3 percent chance the null holds or a 97 percent chance your effect is real — computing that probability requires prior probabilities and a Bayesian analysis, which a p-value does not contain. Second, “significant” does not mean important, large or useful. Significance mixes the size of an effect with the size of the sample, so a meaningless effect can be highly significant in a study of a million people, and a large effect can fail to reach significance in a study of twelve. Third, a p-value just either side of a threshold — 0.049 versus 0.051 — represents almost identical evidence; treating one as a discovery and the other as nothing is a ritual, not reasoning.
Used properly, the p-value is a calibrated surprise index. Small p: the data would be surprising if nothing were going on, so the null deserves doubt. Large p: the data are ordinary under the null — which is not proof the null is true, only an absence of evidence against it. The calculator's verdict line therefore always reports the exact p-value alongside the 0.05 and 0.01 labels, because the number carries more information than the label.
P value from z score: the normal case
Quick answer: for a z score, the right-tailed p is the area under the standard normal curve above z, the left-tailed p is the area below it, and the two-tailed p doubles the area beyond |z|. The anchor values worth memorising: z = 1.645 leaves 0.05 in one tail, z = 1.96 leaves 0.025 in each tail (0.0500 two-tailed), and z = 2.576 leaves 0.005 in each tail (0.0100 two-tailed).
The worked checks are pre-loaded in the calculator. Enter z = 1.96 with the two-tailed option and the result is 0.0500 — the reason 1.96 appears in every introductory course as the 5 percent boundary. Enter z = 2.00 and the right-tailed p is 0.0228 while the two-tailed p is 0.0455: the same statistic is “significant” either way at 0.05, but only just in the two-tailed reading, which is exactly why the tail must be fixed by the hypothesis rather than by which answer looks better. Negative z scores mirror positive ones: z = −1.96 has a left-tailed p of 0.0250 and the same two-tailed p of 0.0500, because the normal curve is symmetric.
Z-based p-values appear wherever a statistic is approximately normal: large-sample tests on means and proportions, Wald tests in regression output, and the z statistics printed by most statistical software. When a package reports a coefficient, its standard error and a z or t ratio, the p-value beside it was computed by exactly the tail-area calculation this page performs.
P value from t score: why degrees of freedom matter
Quick answer: a t score converts to a p-value through the t distribution with its degrees of freedom. With few degrees of freedom the t distribution has heavier tails than the normal, so the same statistic gives a larger p-value: t = 2.00 gives a two-tailed p of 0.0734 at df = 10, 0.0546 at df = 30, and 0.0455 in the normal limit the t approaches as df grows.
The heavier tails are the price of estimating the standard deviation from the same small sample that produced the mean: extra uncertainty about the spread makes extreme ratios less surprising. That is why the calculator refuses to guess a df — a p value from t score quoted without its degrees of freedom is incomplete, and exam markers and journal reviewers both treat it that way. The worked example shows the practical consequence: t = 2.00 at df = 10 is not significant at 0.05 two-tailed (0.0734), even though the identical number read as a z score would be (0.0455). Students lose marks on exactly this swap every year.
Computationally, the t tail is evaluated through the regularised incomplete beta function: for t > 0, the two-tailed p equals I(df/(df + t²); df/2, 1/2). This page implements that function directly, which is also what makes the F check below exact rather than approximate.
P value from chi square: the right tail
Quick answer: chi-square tests are read from the right tail only. The statistic is a sum of squared standardised differences, so it is never negative, values near zero mean the data fit the null well, and only large values argue against it. The p value from chi square is therefore P(χ² ≥ your value) at the test's degrees of freedom.
The anchor example: a chi-square of 3.841 with 1 degree of freedom gives a right-tailed p of 0.0500. That pair appears in every 2 × 2 contingency-table problem, because df = (2 − 1)(2 − 1) = 1 and 3.841 is the 5 percent critical value. Larger tables shift the curve right: at df = 4 the 5 percent critical value is 9.488, and at df = 10 it is 18.307 — the calculator's critical-value table below lists the df = 1 row alongside the other distributions, and the calculator itself handles any df you enter. The chi-square tail is evaluated with the regularised incomplete gamma function, P(χ² ≤ x) = γ(df/2, x/2) / Γ(df/2), the same function statistical packages use.
One honesty note specific to chi-square: the p-value inherits the test's assumptions. Expected counts that are too small (a common rule wants most expected frequencies at least 5) make the chi-square approximation — and therefore this p-value — unreliable, however precisely it is computed. The calculator converts the statistic you give it; whether that statistic deserved trust was decided upstream, in the test itself.
P value from F: ANOVA, regression — and a built-in cross-check
Quick answer: F tests are also right-tailed: F is a ratio of variances, it is never negative, and only large values argue against the null. An F statistic needs two degrees of freedom — numerator and denominator — and swapping them changes the answer, so check which is which in your ANOVA or regression table before entering them.
This distribution carries the calculator's neatest self-check. An F statistic with 1 numerator degree of freedom is exactly the square of a t statistic on the denominator degrees of freedom: F(1, df) = t(df)². So F = 4.00 with df (1, 10) must give the same right-tailed p as t = 2.00 with df = 10 gives two-tailed — and it does: 0.0734 in both modes, because the t's two tails fold into the F's single right tail when the statistic is squared. If you ever doubt a p-value calculator, this identity is a fast audit: run both modes and confirm the figures agree, as they do here to the fourth decimal.
The F tail uses the same incomplete beta machinery as the t: P(F ≤ f) = I(df1·f / (df1·f + df2); df1/2, df2/2). That shared machinery is deliberate — one well-tested special function serves three of the four distributions, which keeps the arithmetic consistent across modes.
One tail or two? Choosing the tail honestly
Rule: the tail is chosen by the alternative hypothesis, and the alternative hypothesis is written before the data are examined. A two-tailed test asks “different, in either direction?” and is the safe default for most research, because effects in the unexpected direction are still discoveries. A one-tailed test asks “greater?” or “smaller?” and is legitimate only when the opposite direction is genuinely impossible or would be treated exactly like no effect — and that commitment must be made in advance.
The arithmetic temptation is obvious: a one-tailed p is half the two-tailed p for z and t, so switching tails after seeing the result can drag a 0.0734 under the 0.05 line (its right tail is 0.0367) without any new evidence. Doing so is p-hacking in its simplest form, and it silently doubles the false-positive rate the 0.05 threshold was supposed to control. This calculator shows all three tails together precisely so the relationship is visible: if your pre-registered test was two-tailed, the two-tailed figure is your result, and the one-tailed figures beside it are information, not alternatives to shop among. Chi-square and F tests escape this dilemma by convention — their tests are right-tailed by construction, as the sections above explain.
Critical values: the boundary table
The table lists, for each significance level α, the statistic value that sits exactly on the boundary — exceed it and the p-value falls below α. It is the same decision as comparing p with α, read from the other direction, and it doubles as a check on this calculator: enter any table value and you should get its α back. The t column uses df = 10, the chi-square column df = 1, and the F column df (1, 10) — note how the F column is the t column squared, the identity described above.
| α (significance level) | z — two-tailed | z — one-tailed | t (df = 10) — two-tailed | Chi-square (df = 1) — right-tailed | F (1, 10) — right-tailed |
|---|---|---|---|---|---|
| 0.10 | 1.645 | 1.282 | 1.812 | 2.706 | 3.285 |
| 0.05 | 1.960 | 1.645 | 2.228 | 3.841 | 4.965 |
| 0.025 | 2.241 | 1.960 | 2.634 | 5.024 | 6.937 |
| 0.01 | 2.576 | 2.326 | 3.169 | 6.635 | 10.045 |
| 0.001 | 3.291 | 3.090 | 4.587 | 10.828 | 21.040 |
Read the 0.05 row as the standard toolkit: 1.96 for a two-tailed z test, 2.228 for a two-tailed t test on 10 degrees of freedom, 3.841 for a chi-square test on 1 degree of freedom. The pattern down each column is the cost of stricter evidence — at α = 0.001 a z statistic must reach 3.291, which is why very small p-values usually signal either a strong effect or a very large sample, and why the effect size still has to be reported before anyone should care.
Common mistakes
Reading p as the probability the null is true. Covered above because it is the mistake that matters most: the p-value is computed inside the assumption that the null is true, so it cannot grade that assumption's probability. Choosing the tail after seeing the data. Halving your p by switching to one tail post hoc invalidates the threshold; the tail belongs to the hypothesis, fixed in advance. Omitting degrees of freedom. A t or chi-square p-value without df is unverifiable — t = 2.00 spans 0.0734 to 0.0455 depending on df alone. Confusing significance with size. Report the effect and its confidence interval next to every p; a significant trivial effect and a non-significant large one are both common, and both are misread when only p is quoted.
Treating 0.05 as a cliff edge. Results do not change nature between 0.049 and 0.051; report exact p-values, as this calculator does, and describe borderline results as borderline. Running many tests and reporting only the winner. At α = 0.05, one test in twenty flags noise on average, so twenty unreported comparisons behind one “significant” finding manufacture evidence; corrections such as Bonferroni exist for this. Feeding the calculator the wrong statistic. A standard deviation, a mean difference or a correlation is not a test statistic — the number entered must be the z, t, χ² or F the test itself produced. Related tools for the steps around this one: the Binomial Distribution Calculator for exact count probabilities and the Probability Calculator for everyday probability rules.
Honest limits: what this calculator does not do
This significance calculator converts a finished test statistic into a p-value; it does not run the test. It does not check whether the test's own assumptions held — normality, independence, adequate expected counts, equal variances where required — and a p-value computed from a statistic whose assumptions failed is precise-looking and wrong. It does not compute effect sizes, confidence intervals or statistical power, all of which a complete report needs beside the p-value. It does not adjust for multiple comparisons. And it cannot rescue a biased sample or a mis-specified null: the arithmetic here is exact, but arithmetic was never the hard part of statistics. What it does guarantee is the conversion itself — the four distributions are evaluated with the same incomplete beta and gamma functions statistical software uses, verified against the standard critical values in the table above.
Sources and References
- American Statistical Association — The ASA Statement on Statistical Significance and P-Values (Wasserstein & Lazar, 2016) — the professional body's official statement: what a p-value is, what it is not, and the six principles this page's honesty notes follow.
- NIST/SEMATECH e-Handbook of Statistical Methods — Critical Values and P Values (7.1.3.1) — the US National Institute of Standards and Technology reference on reading a test statistic against critical values and p-values.
- NIST/SEMATECH e-Handbook of Statistical Methods — t Distribution (1.3.6.6.4) — the reference distribution behind the p value from t score calculations, including its degrees-of-freedom behaviour.
- NIST/SEMATECH e-Handbook of Statistical Methods — F Distribution (1.3.6.6.5) — the reference distribution for ANOVA and regression F tests, with its two degrees-of-freedom parameters.
- NIST/SEMATECH e-Handbook of Statistical Methods — Chi-Square Distribution (1.3.6.6.6) — the reference distribution behind the p value from chi square calculations for goodness-of-fit and independence tests.
- Boston University School of Public Health — Hypothesis Testing: Introduction (BS704) — a university teaching module on null and alternative hypotheses, test statistics and the p-value approach, used in Boston University's MPH programme.
- OpenStax (Rice University) — Introductory Statistics 2e — the free peer-reviewed textbook whose hypothesis-testing chapters define the p-value method this calculator implements.
Source verification note: all seven sources above returned HTTP 200 to a direct check on 24 November 2026. One substitution is disclosed: the Penn State STAT 500 p-value pages originally considered could not be verified (the host returned no response to direct checks or to full-content retrieval), so the university sources used are Boston University School of Public Health and OpenStax (Rice University) instead. No source that could not be verified is cited.