Loona Calculators
Loona Calculators › Math › P-Value Calculator

🧮 P-Value Calculator

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.

Quick answer: A p-value is the probability of a result at least this extreme if the null hypothesis were true. z = 1.96 gives a two-tailed p of exactly about 0.0500; chi-square 3.841 with 1 df also gives p ≈ 0.0500.

How to use the P-Value Calculator

  1. Choose the statistic type: z, t, or chi-square.
  2. Enter the statistic's value (and degrees of freedom for t / chi-square).
  3. Read the right-tail, left-tail and two-tailed p-values.
Example: A study reports z = 2.58. Two-tailed p ≈ 0.0099 — significant at the 0.01 level. The same number as a one-tailed (right) test gives p ≈ 0.0049.

Frequently Asked Questions

What does a p-value NOT mean?

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.

One-tailed or two-tailed?

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.

Is p = 0.049 really different from p = 0.051?

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.

What about chi-square direction?

Chi-square tests are inherently right-tailed: large statistics mean bigger departures from expected counts, so only the right-tail p-value applies.

Related Calculators

%

Percentage Calculator

Math

📊

Statistics Calculator

Math

½

Fraction Calculator

Math

🧮

Equation Solver

Math

🔬

Scientific Calculator

Math

📐

Average Calculator

Math

🔔

Z-Score Calculator

Math

🎲

Probability Calculator

Math

How it works — the formula

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).

Worked example

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.

Embed this calculator on your website — free

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.