Convert a z, t, chi-square, F, or Pearson correlation test statistic into a p-value with two-tailed or one-tailed options. Returns critical values at α = 0.05, 0.01, and 0.001, plus a decision sentence, and copies R, Python, or APA output directly into your manuscript.
Standardized test statistic from a one-sample z-test, two-proportion z-test, or large-sample Wald test.
Interpretation
Reject H0 at α = 0.05 (statistically significant by conventional threshold).
A p-value is the probability of observing a test statistic at least as extreme as the one your data produced, assuming the null hypothesis is exactly true. Fisher (1925) introduced the p-value as a continuous index of evidence against the null; Neyman and Pearson (1933) embedded it in a decision rule by pre-specifying a significance level α (commonly 0.05) and rejecting the null whenever p falls below it. Modern reporting standards including APA, CONSORT, PRISMA, and ICH-E9 use the Neyman-Pearson decision rule for confirmatory inference but require the exact p-value, not just a significant-versus-not label, so readers can judge the strength of evidence themselves.
The arithmetic is mechanical once you know the sampling distribution of your test statistic. For a z-test the statistic is approximately standard normal under the null, so the two-tailed p-value is twice the upper tail of the standard normal at the absolute value of z. For a t-test the statistic follows Student's t distribution with df degrees of freedom, computed using the regularized incomplete beta function. For chi-square goodness-of-fit and independence tests, the statistic follows a chi-square distribution with df = categories minus 1 or (r minus 1) multiplied by (c minus 1), and the test is upper-tailed by construction. For F-tests (ANOVA, regression overall F, variance ratios) the statistic follows an F distribution with numerator and denominator df, and the test is also upper-tailed.
Pearson correlations have a built-in conversion that lets you reuse the t machinery. Given a correlation r based on n paired observations, the test statistic t equals r multiplied by the square root of (n minus 2) divided by (1 minus r squared), with df equal to n minus 2. The calculator's correlation tab applies this conversion automatically and returns the p-value along with the underlying t. For Spearman's rho, the same conversion is a serviceable approximation for n above roughly 30; for smaller samples or for explicit non-parametric inference, exact permutation tests are preferred.
Three reporting reminders matter. First, always pair the p-value with an effect size and confidence interval. The American Statistical Association statement (Wasserstein and Lazar 2016) and the Wilkinson Task Force (1999) both argue that p-values alone are an impoverished summary of evidence; the effect size says how large the difference is, and the confidence interval says how precise that estimate is. The Cochrane Handbook treats the effect size with CI as the minimum reportable unit. Second, default to two-tailed tests unless the alternative hypothesis is directional and pre-specified; switching from two-tailed to one-tailed after seeing the data is a well-documented form of p-hacking that doubles the false-positive rate. Third, never interpret p > 0.05 as evidence that the null is true; absence of evidence is not evidence of absence (Altman and Bland 1995). Report the p-value, the effect size, and the precision, and let readers reach their own conclusions.
When the test statistic comes from a model with assumptions that are not satisfied, the nominal p-value is wrong. For chi-square tests with sparse cells (expected counts below 5), use Fisher's exact test instead. For t-tests with violated normality and small n, bootstrap or permutation tests give more accurate p-values. For meta-analytic synthesis where individual study p-values are not directly poolable, convert each study to an effect size with CI using our p-value to confidence interval converter (the inverse operation of this calculator) before pooling. For full study design and analysis from a PhD statistician, our statistical analysis service handles assumption checks, robust alternatives, and APA-formatted reporting end-to-end.
Choose the tab that matches your test: z, t, chi-square, F, or Pearson correlation. The distribution determines the formula and the degrees of freedom you need.
Type the computed statistic. For t, chi-square, and F you also need degrees of freedom; for r you need the sample size n.
Two-tailed is the journal default for z, t, and r. Chi-square and F are upper-tailed by construction. Switching tails post hoc is p-hacking, so pre-specify the direction.
The calculator returns the p-value, a plain-English decision, and the critical values at α = 0.05, 0.01, and 0.001 so you can confirm by comparing the statistic to the threshold.
Copy a reproducible snippet to paste into your analysis script, or grab an APA-formatted results sentence with italics and the conventional p < .001 truncation.
Next step
A PhD statistician runs the test with assumption checks, robust alternatives, effect sizes with CIs, and a publication-ready APA results section.
Our promise: Free re-run and re-write if reviewers question the analysis or reporting.
Timeline
Most projects deliver in under 2 weeks. We confirm an exact date in your quote.
If reviewers push back
If reviewers question the analysis, assumptions, or reporting, we re-run and re-write free.
Confidentiality
NDA available on request before any project discussion. Your data, study design, and manuscript stay private either way.
Want a PhD methodologist to handle the whole project?
Get a full inferential analysis with assumption checks, effect sizes, confidence intervals, and APA-formatted results by a PhD statistician. Free re-run and re-write if reviewers question the analysis or reporting. Pay only after you approve your quote.
APA, CONSORT, PRISMA, and the ASA all require effect sizes and confidence intervals alongside p-values. A tiny p with a trivial effect is uninformative; a borderline p with a large effect deserves attention.
Use one-tailed tests only when the direction of the alternative is pre-specified in the protocol. Post hoc switching to one-tailed doubles the false-positive rate.
Report p < .001 rather than p = .000007. APA style and most journals follow this convention because numerical precision in the deep tail is unreliable.
Failing to reject the null does not mean the null is true. Report the effect size and CI so readers can see whether your study could have detected a clinically meaningful difference.
A p-value is the probability of observing a test statistic at least as extreme as the one computed from your data, assuming the null hypothesis is true. It is not the probability that the null hypothesis is true, nor the probability that the result was due to chance. Fisher (1925) introduced the p-value as a continuous index of evidence against the null; under the Neyman-Pearson framework adopted by most journals, a p-value below a pre-specified α (commonly 0.05) leads to rejecting the null in favor of the alternative.
For a two-tailed test, p equals 2 multiplied by (1 minus the standard normal CDF of the absolute value of z). For a right-tailed test, p equals 1 minus the CDF of z. For a left-tailed test, p equals the CDF of z. The calculator handles all three under the z-statistic tab and also reports the critical z values at α = 0.05, 0.01, and 0.001 so you can compare your statistic to the threshold directly.
You need the t-statistic and the degrees of freedom. For a one-sample or paired t-test, df equals n minus 1. For a two-sample independent t-test with equal variances assumed, df equals n1 plus n2 minus 2. With unequal variances (Welch's t-test), df is computed from the Welch-Satterthwaite formula. The calculator's t-statistic tab uses the Student t CDF: two-tailed p equals 2 multiplied by P(T > absolute value of t).
Use a two-tailed test by default. Journals, regulatory agencies (FDA, EMA), and reporting standards (CONSORT, ICH-E9) recommend two-tailed tests because they protect against effects in the unexpected direction. Use a one-tailed test only when the alternative hypothesis is genuinely directional and supported by prior knowledge, and pre-specify the direction in the protocol. Switching from two-tailed to one-tailed after seeing the data inflates type I error and is considered a form of p-hacking.
A p-value is a continuous quantity; statistical significance is a binary decision based on comparing the p-value to a pre-specified α. The American Statistical Association (Wasserstein and Lazar 2016) cautioned that thresholds like p < 0.05 are conventions, not bright lines between truth and noise. Report the exact p-value, the effect size with confidence interval, and the practical importance of the result rather than relying on a single 'significant' or 'not significant' label.
Chi-square and F tests are conventionally upper-tailed by construction: large values of the test statistic indicate departure from the null. For chi-square, p equals 1 minus the chi-square CDF at the observed value with the given degrees of freedom. For F, p equals 1 minus the F CDF at the observed F with df1 and df2. The calculator returns these one-sided upper-tail probabilities directly under the corresponding tabs. Two-sided versions exist (for variance ratio tests with no directional prior) but are not the default in most software.
Yes. For a Pearson correlation r with sample size n, convert r to t using t = r multiplied by the square root of (n - 2) divided by (1 - r squared), then look up the p-value with df = n - 2. The calculator's correlation tab does this conversion automatically and returns the p-value along with the t-statistic and df. For Spearman's rho, the same t conversion is an approximation valid for n above roughly 30; for small samples use exact tables or a permutation test.
APA style and most journals truncate very small p-values to p < 0.001 because reporting more decimal places is misleading: the exact value depends on assumptions that may not hold in the tails of the distribution. The calculator displays p < 0.0001 for values below that threshold and exact p (to three or four decimal places) above it. For confirmatory analyses where the exact value matters, paste the R or Python snippet to compute the unrounded probability.
Numerical implementations of the t, chi-square, and F CDFs differ slightly at the third or fourth decimal place depending on the algorithm (incomplete beta, continued fractions, series expansions). The calculator uses the regularized incomplete beta function for t and F, and the lower regularized incomplete gamma for chi-square, which agree with R's pt, pchisq, and pf to at least four significant figures across the typical range. For exact agreement with a specific package, the R or Python snippets reproduce the exact computation it performs.
Report both. The p-value tells you whether the observed effect is unlikely under the null; the effect size tells you how large the observed effect is. A trivially small effect can produce a tiny p-value with a large sample, and a large effect can fail to reach significance with a small sample. APA, CONSORT, and PRISMA all require effect sizes with confidence intervals alongside p-values. The Wilkinson Task Force (1999) and the ASA Statement (2016) both recommend effect sizes as the primary summary, with p-values playing a supporting role.
For the inverse operation, the p-value to confidence interval converter takes a published p-value and effect size and reconstructs the standard error and CI for meta-analytic pooling. For full two-sample mean comparisons with assumption checks, the two-sample t-test calculator computes the t statistic from raw means and SDs. For contingency-table tests with full Fisher's exact handling for sparse cells, see the chi-square calculator. For confidence interval reporting on means, proportions, odds ratios, and risk ratios, the confidence interval calculator covers Wald, Wilson, and log-Wald methods. For converting p-values back into effect sizes for meta-analysis, the effect size calculator handles t, F, chi-square, and r conversions.
Reviewed by
Dr. Sarah Mitchell holds a PhD in Biostatistics from Johns Hopkins Bloomberg School of Public Health and has over 15 years of experience in systematic review methodology and meta-analysis. She has authored or co-authored 40+ peer-reviewed publications in journals including the Journal of Clinical Epidemiology, BMC Medical Research Methodology, and Research Synthesis Methods. A former Cochrane Review Group statistician and current editorial board member of Systematic Reviews, Dr. Mitchell has supervised 200+ evidence synthesis projects across clinical medicine, public health, and social sciences. She reviews all Research Gold tools to ensure statistical accuracy and compliance with Cochrane Handbook and PRISMA 2020 standards.
From data cleaning and assumption checks to the full analysis and a publication-ready results section, we handle the numbers so you can focus on the science.
Our promise: Free re-run and re-write if reviewers question the analysis or reporting.
Your project is led by a named PhD methodologist with real credentials and published work.
4.9 / 5 across 1,194+ delivered projects