Enter a test statistic — z, t (with degrees of freedom), or chi-square (with df) — and get the exact one-tailed and two-tailed p-values plus a plain verdict at the usual 0.05 and 0.01 levels.
It is not the probability that the null hypothesis is true, and not the probability that your result is a fluke in plain terms. It measures how surprising the data would be if the null were true — nothing more, which is why effect sizes and confidence intervals matter alongside it.
Two-tailed is the honest default: it counts extremes in both directions and must be chosen before seeing data. One-tailed tests are only defensible when the direction was fixed in advance and the other direction is genuinely impossible or irrelevant.
Barely. The 0.05 line is a convention, not a cliff in evidence. Good reporting gives the exact p-value, which is what this calculator returns.
Chi-square tests are inherently right-tailed: large statistics mean bigger departures from expected counts, so only the right-tail p-value applies.
P-values are read from each distribution's cumulative function: for z, Φ from the standard normal; for t, the t CDF via the incomplete beta function; for chi-square, the chi-square CDF via the incomplete gamma function. Two-tailed p for z/t = 2 × (1 − CDF(|statistic|)); chi-square uses the right tail only: p = 1 − CDF(statistic).
Inputs: z = 1.96.
Steps: Φ(1.96) = 0.97500. Right tail = 1 − 0.97500 = 0.02500. Two-tailed = 2 × 0.02500 = 0.0500.
Result: Two-tailed p = 0.0500 — exactly on the conventional 0.05 line, which is why 1.96 is the famous critical value.
Add this calculator to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the calculator to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.