Free statistics calculators, every step shown

P-Value Calculator

Enter a z, t, chi-square or F statistic and the degrees of freedom to get the p-value, the critical value and whether the result is significant.

Open on Stats Workbench

Embed

Embed this tool

Copy this code into your website, blog or class page. The tool runs inside your page.

Please keep the credit link below the tool.

The P-value calculator converts a test statistic into a p-value, meaning the probability of a result at least as extreme as yours if the null hypothesis were true. Supply a z-score, t-score, chi-square or F statistic, pick the tail and your significance level α, and the page reports whether the result is statistically significant. Think of it as a statistical significance (stat sig) calculator (enter a statistic to determine the p-value), a t score calculator and a test statistic calculator in one page.

Everything happens in your browser: it is free and needs no sign-up. Typing updates the result immediately. Your output includes the p-value, a verdict at your α, the critical values and a chart of the distribution with the p-value area shaded.

At a glance

P-Value Calculator is a browser calculator that converts a z, t, chi-square or F test statistic and its degrees of freedom into a one- or two-tailed p-value, with a significance verdict at your chosen alpha and the critical values.

  • For z = 1.96 two-tailed, the p-value is 0.049996, which is significant at alpha 0.05.
  • With t = 2.228 and 10 degrees of freedom, the two-tailed p-value is 0.050012, which is above 0.05, so the result is not significant.
  • A p-value within 2 percent of alpha triggers a warning.
  • At alpha 0.05, a right-tailed z test rejects when z > 1.645, and a two-tailed test rejects when |z| > 1.960.
  • For chi-square with 3 degrees of freedom, the right-tailed critical value at 0.05 is 7.8147.

Sources: P-value (Wikipedia) (checked 2026-10-15)

P value calculator example

How to use the P-value calculator

  1. In the “Test statistic type” list, pick z-score, t-score, chi-square or F.
  2. Put the test statistic into the statistic field.
  3. If your type needs degrees of freedom, fill them in. t and chi-square need one value, F needs two (numerator df₁ and denominator df₂), and a z-score needs none.
  4. Choose the tail: two-tailed (the default), right-tailed or left-tailed.
  5. Review the significance level α. It starts at 0.05, and you can change it. 0.05, 5 % and 5 all mean the same thing.
  6. Read the outcome: the p-value for your tail, the verdict at your α, the critical values, and the left-tail, right-tail and two-tailed probabilities.
  7. Study the curve. The p-value area is shaded, and the observed statistic and critical values appear on it as marks.
  8. Expand “How it was calculated” to view the formula, the substituted values and the answer with units.
  9. Load a preset, such as z = 1.96 two-tailed or χ² = 7.815 with 3 degrees of freedom, to see a result that lands exactly on α = 0.05.

Preset buttons sit above the form and load typical cases. Reset returns to the starting example. Copy result places the result lines on your clipboard with a link, Copy link copies the page address (which stores every input), and Print / save as PDF produces a one-page record with the inputs, results, steps and date.

How do you find or calculate a p-value in statistics (by hand)?

Begin with the test statistic your test produced (z, t, χ² or F) and the distribution it follows under the null hypothesis. The p-value is the area of that distribution at least as extreme as your statistic, in the direction(s) of the alternative hypothesis. Working by hand, a table only brackets it between two columns, while the calculator computes the exact area.

How to find, get or calculate the p-value from a test statistic in a hypothesis test

No degrees of freedom are needed for a z-score, so the p-value comes straight from the normal distribution. In a two-tailed test, the p-value equals 2 × P(X ≥ |z|): find the probability of a value at least as large as the absolute value of z in one tail, then double it. With z = 1.96, p = 0.049996.

On a right-tailed test, the p-value is P(X ≥ z), the area above your statistic. A left-tailed test uses P(X ≤ z), the area below. Take z = -1.645 with a left tail: p = 0.049985.

How to find or calculate the p-value from a t statistic (for a t test)

Scores for t follow the same idea, but use the Student t distribution with your degrees of freedom: n − 1 for a one-sample or paired t test, n₁ + n₂ − 2 for a pooled two-sample test, or the Welch value for unequal variances. Given t = 2.228 and 10 degrees of freedom, the two-tailed p-value is 0.050012.

How to find the p-value from a chi-square or F statistic

Chi-square and F distributions are asymmetric, so the two-tailed p-value there is 2 × the smaller tail, capped at 1. Such tests are usually right-tailed, which explains why the calculator flags left or two-tailed chi-square and F tests.

What is a one-tailed or two-tailed test, and how do you find the p-value of each?

A one-tailed (right or left) test seeks an effect in one stated direction, so its p-value is the area in that tail alone. A two-tailed test seeks a difference in either direction, so for z and t the p-value is twice the one-tail area beyond |statistic|. Pick the tail before you look at the data.

What is the critical value for α = 0.05 (one-tailed vs two-tailed)?

The critical value marks where the rejection region starts. At α = 0.05, a right-tailed z test rejects when z > 1.645, while a left-tailed test rejects when z < -1.645. A two-tailed test divides α between both ends, so it rejects when |z| > 1.960.

Critical values for t hinge on degrees of freedom. At t = 2.228 with 10 degrees of freedom, the two-tailed critical value is |t| > 2.2281. The statistic sits just short of it, and its two-tailed p-value of 0.050012 is above 0.05, so the result is not significant.

A chi-square test with 3 degrees of freedom has a right-tailed critical value of χ² > 7.8147 at 0.05. A statistic of 7.815 yields p = 0.049994, just significant.

Sources

  • NIST/SEMATECH e-Handbook critical value tables used for verification: normal, t, F and chi-square
  • Distribution functions computed with the regularized incomplete beta and gamma functions (standard numerical methods)

Worked examples

InputResult
z = 1.96, Two-tailedp = 0.049996, significant at α = 0.05
t = 2.228 (df 10), Two-tailedp = 0.050012, not significant at α = 0.05
z = -1.645, Left-tailedp = 0.049985, significant at α = 0.05
χ² = 7.815 (df 3), Right-tailedp = 0.049994, significant at α = 0.05
F = 3.708 (df 3, 10), Right-tailedp = 0.050009, not significant at α = 0.05
t = 2.2694 (df 15.5), Right-tailedp = 0.018955, significant at α = 0.05

Calculated by the tool above with these values.

Frequently asked questions

How do I get a p-value from a t-score and degrees of freedom?

Select t-score, enter the statistic, and supply one degrees-of-freedom value. The tool applies the Student t distribution using that count. As an illustration, t = 2.2694 with 15.5 degrees of freedom (a Welch test) yields a right-tailed p-value of 0.018955.

Is my result statistically significant?

A result counts as significant when p ≤ α, and the verdict beneath the result restates this for your chosen α. Using α = 0.05, z = 1.96 two-tailed (p = 0.049996) clears the bar, whereas t = 2.228 with 10 degrees of freedom (p = 0.050012) does not. Should a p-value land within 2 percent of α, a warning appears, so those borderline cases deserve closer scrutiny.

What is hypothesis testing in statistics, and what is the p-value in hypothesis testing?

Hypothesis testing weighs data against a null hypothesis, often “no effect” or “no difference”. Here the p-value gauges how unexpected your test statistic would be if the null held; when it falls at or below α, you reject the null.

How do you calculate the p-value in hypothesis testing?

Start by computing the test statistic. Then identify the matching distribution and degrees of freedom, select the tail implied by your alternative hypothesis, and measure the tail area. Supply those three inputs and the calculator returns the p-value along with the verdict.

What is the level of significance (α)?

α is the cutoff you fix in advance for the p-value, commonly 0.05. It represents the risk of rejecting a null hypothesis that is actually true, a risk you agree to accept.

What does a p-value actually mean?

It gives the probability of a test statistic as extreme as yours or more so, on the tail you selected, assuming the null hypothesis holds. It does not give the probability that the null is true, a point the calculation steps also cover. A small value signals that your data look unusual under the null, not that the effect is large or meaningful.

Is the calculator free, and is anything I type uploaded?

There is no charge and no account to create. All computation happens in your browser, so nothing you enter leaves your device.

Can I print or share a calculation?

Two options are available. Print / save as PDF produces a single-page record containing inputs, results, calculation steps and the date. Copy link encodes every input into the page address, letting the same calculation reopen later or be shared with a colleague.

More tools to try