P-Value Calculator: From z, t, Chi-Square, F or r
Enter any test statistic and get the exact p-value instantly — one-tailed or two-tailed, with a clear significance verdict, the shaded distribution curve, critical values, the classic p-value table, and ready-to-copy APA sentences. Raw data mode runs the t-test for you.
Quick answer: A p-value is the probability of getting a result at least as extreme as yours if the null hypothesis were true. Small p = your data would be surprising under "no effect". Convention: p < 0.05 is statistically significant. Key landmarks: z = 1.96 → p = 0.05, z = 2.576 → p = 0.01, z = 3.29 → p = 0.001. A one-tailed p-value is exactly half the two-tailed one.
🔑 Key Takeaways
- 1p = P(data this extreme | null is true) — not the probability the null is true, and not the probability your finding is a fluke. That reversal is the single most common error in statistics.
- 2p < 0.05 is a convention, not a law of nature. Fisher picked it as a rough rule; physics demands ~0.0000003, and many fields now argue for 0.005.
- 3The p-value says nothing about effect size. With n = 10,000 a meaningless difference gets p < .001. Always report an effect size (Cohen's d, η², r) beside it.
- 4One-tailed p = two-tailed p ÷ 2. Only use one-tailed if you predicted the direction before collecting data — switching afterwards is p-hacking.
- 5Chi-square and F tests are naturally one-tailed (upper tail only), because only large values indicate departure from the null.
- 6"Not significant" does not mean "no effect." It means insufficient evidence — often just a small sample. Check the confidence interval before concluding anything.
- 7Report exact p-values (p = .032, not "p < .05"), with no leading zero, and use p < .001 only for very small values — that is the APA 7 standard.
🧮 Calculate Your P-Value
🛠 How to Calculate a P-Value with This Tool
- Pick your test statistic. z-score, t-score, chi-square, F, correlation r, or paste raw data for an automatic t-test — or load one of the ten sample scenarios.
- Enter the value and degrees of freedom. z needs no df; t needs df; chi-square needs df; F needs both df₁ and df₂; r needs the sample size.
- Choose the tail. Two-tailed is the default and correct choice unless you predicted the direction in advance. Chi-square and F ignore this — they are upper-tail tests by nature.
- Set α. 0.05 is conventional; the tool compares your p-value against it and states the decision explicitly.
- Read, check, report. Read the exact p-value and verdict, confirm the shaded tail area on the curve, then copy an APA sentence — remembering to add an effect size.
📑 P-Value Table: Critical Values & Landmarks
These are the critical values people look up most. A statistic larger than the critical value means p is smaller than that α.
Standard normal (z) — no degrees of freedom needed
| α (two-tailed) | Critical z | α (one-tailed) | Critical z |
|---|---|---|---|
| 0.10 | 1.645 | 0.10 | 1.282 |
| 0.05 | 1.960 | 0.05 | 1.645 |
| 0.01 | 2.576 | 0.01 | 2.326 |
| 0.001 | 3.291 | 0.001 | 3.090 |
Student's t — critical values by degrees of freedom (two-tailed)
| df | α = 0.10 | α = 0.05 | α = 0.01 | α = 0.001 |
|---|---|---|---|---|
| 5 | 2.015 | 2.571 | 4.032 | 6.869 |
| 10 | 1.812 | 2.228 | 3.169 | 4.587 |
| 20 | 1.725 | 2.086 | 2.845 | 3.850 |
| 30 | 1.697 | 2.042 | 2.750 | 3.646 |
| 60 | 1.671 | 2.000 | 2.660 | 3.460 |
| ∞ (= z) | 1.645 | 1.960 | 2.576 | 3.291 |
Chi-square — critical values (upper tail)
| df | α = 0.10 | α = 0.05 | α = 0.01 |
|---|---|---|---|
| 1 | 2.706 | 3.841 | 6.635 |
| 2 | 4.605 | 5.991 | 9.210 |
| 3 | 6.251 | 7.815 | 11.345 |
| 4 | 7.779 | 9.488 | 13.277 |
| 5 | 9.236 | 11.070 | 15.086 |
ƒ P-Value Formulas Used
🔍 P-Value Interpretation — In Detail
The p-value answers one narrow question: if there were truly no effect, how often would I see data at least this extreme? A p of .03 means results like yours would arise 3% of the time under a true null. That is evidence against the null — but it is not a measure of how large, important, or reproducible your effect is.
What the number does and does not mean
A p-value is not the probability that the null hypothesis is true; that reversal (confusing P(data|H₀) with P(H₀|data)) is the single most common statistical error in published research. Nor is p = .04 "twice as significant" as p = .08 — p-values are noisy, and in replications they bounce around dramatically. Nor does p > .05 prove there is no effect; absence of evidence is not evidence of absence, and small samples routinely produce non-significant results for real effects. Finally, the p-value says nothing about whether your study design, measures, or sampling were sound — it assumes all of that was correct.
Reading the magnitude
Treat p as a continuous measure of evidence rather than a switch. Values near .05 are weak evidence; below .01 is moderately strong; below .001 is strong — always conditional on the model being right. Because the 0.05 line is arbitrary, never write "approaching significance" for p = .06 or treat .049 and .051 as categorically different. The American Statistical Association's 2016 statement makes this explicit: scientific conclusions should not be based only on whether a p-value crosses a threshold.
Always pair p with an effect size and interval
Sample size drives the p-value: with n = 20 a large effect can miss significance, while with n = 20,000 a trivial effect achieves p < .001. So the complete report is statistic + df + exact p + effect size + confidence interval. The effect size tells you whether the finding matters; the interval tells you how precisely you measured it; the p-value only tells you how surprising the data would be under the null. Our effect size calculators and confidence interval calculator produce the companions this number needs.
One-tailed versus two-tailed
A two-tailed test asks "is there a difference in either direction?" and is the default. A one-tailed test asks "is group 1 greater?" and halves the p-value, which makes it tempting — and makes switching to it after seeing the data a form of p-hacking. Choose the tail before collecting data, state the choice in your methods, and stick to it. Note chi-square and F tests are inherently upper-tail: only large values signal departure from the null, so tail selection does not apply.
✍ How to Report P-Values in APA Style
APA 7 asks for exact p-values, no leading zero (p = .032, not 0.032), two or three decimals, and always accompanied by the test statistic, degrees of freedom, and an effect size.
Template 1 — Significant t-test
Template 2 — Non-significant result
Template 3 — ANOVA (F test)
Template 4 — Chi-square
Template 5 — Correlation
Reporting checklist
Give the exact p to two or three decimals; use p < .001 only when it truly is; drop the leading zero; italicize p, t, F, and r; report degrees of freedom in parentheses; state whether the test was one- or two-tailed if it was one-tailed; and never report a p-value without an effect size.
🔬 Example Results
Six worked examples matching the sample scenarios in the dropdown. Load any of them and click Calculate to reproduce the numbers exactly.
Example 1 — The 0.05 Landmark: z = 1.96
p = 2 × [1 − Φ(1.96)] = 0.0500
Verdict: significant at α = 0.05 (exactly on the line)
The most famous number in statistics. Each red tail holds 2.5% of the area; together they make the 5% that defines the conventional significance threshold.
Example 2 — Typical t-Test: t = 2.50, df = 20
critical t = 2.086 · p = 0.0212
2.50 > 2.086 → reject H₀ at α = 0.05
A routine significant result. Report it as t(20) = 2.50, p = .021 — and add Cohen's d, because this p-value alone says nothing about how large the difference actually is.
Example 3 — Borderline: t = 1.80, df = 28 (p = 0.083)
critical t = 2.048 · p = 0.0827
1.80 < 2.048 → fail to reject H₀
Do not call this "approaching significance." The honest reading: the data are compatible with the null, but also with a moderate real effect — report the confidence interval and treat the study as inconclusive.
Example 4 — Chi-Square: χ² = 3.841, df = 1
p = 0.0500 (upper tail only)
The classic df = 1 critical value
Chi-square is right-skewed and one-tailed by nature: only large values indicate the observed frequencies depart from expectation. Note 3.841 = 1.96² — the same 5% threshold seen through a different distribution.
Example 5 — ANOVA F: F = 5.20, df = 2, 27
critical F = 3.354 · p = 0.0123
Report: F(2, 27) = 5.20, p = .012, η² = .28
A significant one-way ANOVA. The F distribution is also upper-tail only. Pair it with η² or ω² — our effect size calculators compute both from exactly these inputs.
Example 6 — How the P-Value Falls as the Statistic Grows
z = 1.65 → p = .099
z = 1.96 → p = .050
z = 2.58 → p = .010
z = 3.29 → p = .001
The relationship is steep and non-linear. Small changes in the statistic near the threshold swing the p-value a lot, which is exactly why treating .049 and .051 as categorically different is indefensible.
🧭 When to Use This Tool
Use this p-value calculator whenever you have a test statistic and need the exact probability — reading a paper that reports only t or F, checking software output, doing homework or exam prep, converting between one- and two-tailed values, teaching hypothesis testing, or running a quick t-test from raw data. It suits students, researchers, reviewers, analysts, and anyone who needs a p-value without opening SPSS or R.
⚠ Assumptions & Limitations
Every p-value assumes its test's conditions hold: random sampling, independent observations, and the relevant distributional assumptions (normality for t and z tests, expected cell counts of at least 5 for chi-square, homogeneity of variance for the pooled t-test and ANOVA). If those fail, the p-value is not merely imprecise — it is answering a question about a model that does not describe your data. The raw-data mode here uses Student's pooled t-test; with clearly unequal variances Welch's version is preferable. P-values also assume a single pre-specified analysis: running many tests, peeking at data as it accumulates, or choosing the tail after seeing the result all inflate false positives (multiplicity and p-hacking). Correct for multiple comparisons when appropriate. Finally, p-values are famously unstable across replications, so a single p near .05 is weak evidence — effect sizes, intervals, and replication carry more information.
🏁 Conclusion
A p-value is a tail area: the probability of data at least as extreme as yours, computed under the assumption that the null hypothesis is true. Mechanically it is simple — find where your statistic falls on the null distribution and measure the area beyond it. For z that is the normal curve, for t the Student distribution with its degrees of freedom, for chi-square and F the upper tail only, and for a correlation you convert r to t first.
The difficulty is never the arithmetic; it is the interpretation. The p-value does not give the probability that the null is true, does not measure effect size, does not indicate importance, and does not become meaningful simply by crossing 0.05. It is one piece of evidence about compatibility between data and a model. Treat the threshold as a convention, report the exact value, and resist the urge to bin results into "significant" and "not significant."
The habit that fixes most p-value misuse is simple: never report one alone. Statistic, degrees of freedom, exact p, effect size, and confidence interval together tell a complete story — how surprising the data are, how big the effect is, and how precisely you measured it. This calculator gives you the exact p-value from any common test statistic, with plots that show the tail area you are actually computing, plus APA-ready sentences. Pair it with our effect size and confidence interval calculators, and your results section will satisfy any reviewer.
❓ Frequently Asked Questions
What is a p-value in simple terms?
What does p < 0.05 mean?
How do you calculate a p-value from a z-score?
How do you calculate a p-value from a t-score?
What is the difference between one-tailed and two-tailed?
Is the p-value the probability the null hypothesis is true?
Does a smaller p-value mean a bigger effect?
What does a non-significant p-value mean?
Why is 0.05 the standard threshold?
Can a p-value be exactly zero?
How do I report p-values in APA style?
What is p-hacking?
What p-value do chi-square and F tests use?
How do degrees of freedom affect the p-value?
How do I get a p-value for a correlation?
Should I correct p-values for multiple comparisons?
What is the difference between p-value and alpha?
Can I compare two p-values?
What does the ASA say about p-values?
What should I report alongside the p-value?
📚 References
- Wasserstein, R. L., & Lazar, N. A. (2016). The ASA statement on p-values: Context, process, and purpose. The American Statistician, 70(2), 129–133. https://doi.org/10.1080/00031305.2016.1154108
- Wasserstein, R. L., Schirm, A. L., & Lazar, N. A. (2019). Moving to a world beyond "p < 0.05". The American Statistician, 73(sup1), 1–19. https://doi.org/10.1080/00031305.2019.1583913
- Greenland, S., Senn, S. J., Rothman, K. J., Carlin, J. B., Poole, C., Goodman, S. N., & Altman, D. G. (2016). Statistical tests, P values, confidence intervals, and power: A guide to misinterpretations. European Journal of Epidemiology, 31(4), 337–350. https://doi.org/10.1007/s10654-016-0149-3
- Fisher, R. A. (1925). Statistical Methods for Research Workers. Oliver & Boyd. Internet Archive
- Goodman, S. (2008). A dirty dozen: Twelve p-value misconceptions. Seminars in Hematology, 45(3), 135–140. https://doi.org/10.1053/j.seminhematol.2008.04.003
- Nuzzo, R. (2014). Scientific method: Statistical errors. Nature, 506(7487), 150–152. https://doi.org/10.1038/506150a
- Simmons, J. P., Nelson, L. D., & Simonsohn, U. (2011). False-positive psychology. Psychological Science, 22(11), 1359–1366. https://doi.org/10.1177/0956797611417632
- Benjamin, D. J., et al. (2018). Redefine statistical significance. Nature Human Behaviour, 2(1), 6–10. https://doi.org/10.1038/s41562-017-0189-z
- Cumming, G. (2008). Replication and p intervals. Perspectives on Psychological Science, 3(4), 286–300. https://doi.org/10.1111/j.1745-6924.2008.00079.x
- Halsey, L. G., Curran-Everett, D., Vowler, S. L., & Drummond, G. B. (2015). The fickle P value generates irreproducible results. Nature Methods, 12(3), 179–185. https://doi.org/10.1038/nmeth.3288
- Ioannidis, J. P. A. (2005). Why most published research findings are false. PLoS Medicine, 2(8), e124. https://doi.org/10.1371/journal.pmed.0020124
- Benjamini, Y., & Hochberg, Y. (1995). Controlling the false discovery rate. Journal of the Royal Statistical Society: Series B, 57(1), 289–300. https://doi.org/10.1111/j.2517-6161.1995.tb02031.x
- Sterne, J. A. C., & Davey Smith, G. (2001). Sifting the evidence — what's wrong with significance tests? BMJ, 322(7280), 226–231. https://doi.org/10.1136/bmj.322.7280.226
- Lakens, D. (2021). The practical alternative to the p value is the correctly used p value. Perspectives on Psychological Science, 16(3), 639–648. https://doi.org/10.1177/1745691620958012
- Gigerenzer, G. (2004). Mindless statistics. The Journal of Socio-Economics, 33(5), 587–606. https://doi.org/10.1016/j.socec.2004.09.033
- Neyman, J., & Pearson, E. S. (1933). On the problem of the most efficient tests of statistical hypotheses. Philosophical Transactions of the Royal Society A, 231, 289–337. https://doi.org/10.1098/rsta.1933.0009
- Press, W. H., Teukolsky, S. A., Vetterling, W. T., & Flannery, B. P. (2007). Numerical Recipes (3rd ed.). Cambridge University Press. numerical.recipes
- NIST/SEMATECH. (2012). Critical values and p-values. In e-Handbook of Statistical Methods. https://www.itl.nist.gov/div898/handbook/prc/section1/prc131.htm
- American Psychological Association. (2020). Publication Manual of the American Psychological Association (7th ed.). apastyle.apa.org
- Moore, D. S., McCabe, G. P., & Craig, B. A. (2021). Introduction to the Practice of Statistics (10th ed.). W. H. Freeman. Publisher page
























