P-Value Calculator

P-Value Calculator

Find the exact p-value from a t, F, chi-square or correlation statistic — with one-tailed and two-tailed options, the shaded tail on the distribution, and the calculation shown step by step.

Observed t value
P-VALUE · TWO-TAILED
0.0212

Significant at α = 0.05 — with t = 2.50 (df = 20), the two-tailed p-value is 0.0212.

Test statistic
t = 2.50
Degrees of freedom
20
Two-tailed p
0.0212
Right-tailed p
0.0106
Left-tailed p
0.9894
Significant at α = .05
Yes

Calculation

    Distribution diagram — the shaded tail is your p-value

    The shaded area is the two-tailed p-value for t = 2.50 with df = 20.

    Decision rule: reject H₀ when p < α. Here p = 0.0212 < 0.05, so the result is significant.
    How to report it (APA): The test statistic was t(20) = 2.50, p = .021 (two-tailed).

    A p-value is the probability of seeing a result at least this extreme if the null hypothesis were true. This calculator finds it from any common test statistic — t, F, chi-square or a correlation coefficient — with one-tailed and two-tailed options. It is the companion to the critical value calculator: one gives the p-value, the other gives the cut-off.

    What is a p-value, really?

    A p-value answers one question: if the null hypothesis (H₀) were true, how surprising would a result at least this extreme be? A p-value of 0.0212 means that, under H₀, you would see a statistic this far from zero only about 2 times in 100. It is not the probability that H₀ is true, and it is not the probability that your result is a fluke. Those are different questions, and no p-value can answer them.

    Think of it as a measure of compatibility: a small p-value says your data and the null hypothesis do not sit well together; a large p-value says they are compatible — which is not the same as proving H₀ is true. A p-value of 0.092 (Worked Example 2 below) does not prove there is no effect; it says the evidence is not strong enough to reject H₀ at the 5% level.

    What p means in one line: p is the area in the tail (or tails) of the null distribution beyond your test statistic — the shaded area in the diagram above. That is the whole calculation: find the distribution, find your statistic on it, shade the tail.

    How to use the p-value calculator

    1. Choose the statistic you have: t, F, chi-square (χ²), correlation (r) or z.
    2. Enter the statistic and its degrees of freedom — for F, both df₁ and df₂; for r, the sample size n instead.
    3. Choose the tail: two-tailed by default, or one-tailed where it applies. F and chi-square are always one-tailed, so the calculator fixes that choice for you.
    4. Read the headline p-value, then check the results grid for the other tails, the significance decision at your α, and the step-by-step calculation. The diagram shades the tail area that the p-value measures.
    5. Copy the APA sentence for your report, or copy the link to share the exact calculation.

    If your statistic is a z-score and nothing else, the p-value calculator from z-score does the same job with just the z value. If you ran a t-test and want the p-value for its t statistic, enter the t value and its degrees of freedom here — or use the t-distribution calculator to look up any area, p-value or critical t.

    One-tailed or two-tailed?

    A two-tailed p-value counts both tails: it asks how often a statistic this far from zero in either direction would appear under H₀. A one-tailed p-value counts one tail only: it asks how often a statistic this large in the predicted direction would appear. A one-tailed p-value is half the two-tailed one for a symmetric distribution, so the choice matters — but it is not a free choice. Use one-tailed only when you predicted the direction before seeing the data. Switching to one-tailed after seeing the result is not a test; it is a story.

    Two distributions give you no choice at all. An F statistic is a ratio of variances, so it is never negative and a real effect can only push it up — only the right tail counts. A chi-square statistic is a sum of squared deviations, also never negative, and again only large values count against H₀. That is why the F and chi-square modes of this calculator are one-tailed by construction: the p-value is always P(F > observed) and P(χ² > observed). If you ran an F-test, the F-distribution calculator shows the same curve; if you ran a chi-square test, the chi-square test calculator runs the whole test for you.

    Worked Example 1 — four statistics, one story

    Click Example 1 in the calculator to load all four of these at once, then switch between the modes to see each one:

    StatisticValuep-valueSignificant at α = .05?
    t, df = 202.500.0212Yes
    F, df = 2, 304.500.0195Yes
    χ², df = 49.500.0497Yes — by a hair
    r, n = 25 (t = 3.5969, df = 23)0.600.0015Yes

    The t result is the headline: with t(20) = 2.50, the two-tailed p-value is 0.0212 — the right tail alone is 0.0106 and the left tail is 0.9894, so the two-tailed value is twice the smaller tail. The F result agrees (p = 0.0195), and the correlation result is the strongest of the four: r = 0.60 with n = 25 converts to t = 3.5969 with df = 23, giving p = 0.0015.

    The chi-square result deserves a second look: χ²(4) = 9.50 gives p = 0.0497, which is significant at α = .05 — but only just. The critical value for χ²(4) at 5% is 9.488, so 9.50 clears it by 0.012. Report the exact value, not just the word “significant”: a reader who sees 0.0497 knows exactly how close the call was. If your correlation is a rank correlation rather than Pearson’s, the Spearman rank correlation calculator tests rho the same way; the correlation coefficient calculator computes r itself when you only have raw data.

    Worked Example 2 — same α, different answers

    Click Example 2 to load these:

    StatisticValuep-valueSignificant at α = .05?
    t, df = 15−1.800.0920No
    F, df = 3, 402.200.103No
    χ², df = 612.800.0463Yes
    r, n = 40 (t = 2.3032, df = 38)0.350.0268Yes

    Here the t and F results are not significant — t(15) = −1.80 gives a two-tailed p of 0.0920 (right tail 0.954, left tail 0.046), and F(3, 40) = 2.20 gives p = 0.103 — while the chi-square and correlation results are: χ²(6) = 12.80 gives p = 0.0463 and r = 0.35 with n = 40 converts to t = 2.3032 with df = 38, giving p = 0.0268. Same α, different tests, different answers. That is normal: each test asks a different question of different data, and “not significant” is not a verdict on the other tests.

    Why z = 1.96 gives p = 0.05 but t = 1.96 gives p = 0.0593

    Try both anchors in the calculator: z = 1.96 (two-tailed) gives p = 0.0500, the familiar 5% cut-off. But t = 1.96 with df = 30 gives p = 0.0593 — not quite significant. The difference is the shape of the distributions: the t-distribution with 30 degrees of freedom is wider than the normal curve, with heavier tails, so the same statistic is a little less surprising under it. The critical t for df = 30 at 5% is 2.042, not 1.960.

    As the degrees of freedom grow, the t-distribution closes in on the normal curve — at df = 100 the two are nearly indistinguishable, and the p-values agree to three decimals. That is why the z-test is a fair approximation for large samples, and why small samples need the t-distribution: with df = 15, the same 1.96 gives roughly 0.069 on the t curve. If you are testing a sample mean with a known standard deviation, the z-test calculator runs the whole test and reports its p-value.

    Is p = .0497 really different from p = .0503?

    No — and that is the point. The 0.05 line is a convention, not a cliff in nature. A p-value of 0.0497 and a p-value of 0.0503 are nearly the same evidence; one crosses an arbitrary line and the other does not. Treating them as “real effect” versus “no effect” is the most common mistake in applied statistics.

    What to do instead: report the exact p-value (this calculator gives four decimals, and “p < 0.0001” when it is smaller than that), state the α you chose, and say how close the call was. “χ²(4) = 9.50, p = .050” tells a reader everything; “significant” on its own tells them almost nothing. And remember that significance is not importance: a tiny p-value with a tiny effect can be real but trivial, which is why the effect size belongs next to the p-value in every report.

    How to report a p-value (APA)

    Copy this sentence and change the numbers: “The test statistic was t(20) = 2.50, p = .021 (two-tailed).” The calculator writes the sentence for your current calculation under the diagram. Three rules cover most cases:

    • Give the test statistic, its degrees of freedom and the tail: t(20) = 2.50, F(2, 30) = 4.50, χ²(4) = 9.50, r(23) = .60.
    • Give the exact p-value to two or three decimals (p = .021, p = .050, p = .103) — and use p < .001 when it is smaller than that. Never write p = .000.
    • Do not write “significant” without the number. The number is the result; the word is only the decision.

    Frequently asked questions

    What is a p-value, really?

    A p-value is the probability of seeing a result at least this extreme if the null hypothesis were true — the tail area beyond your test statistic on the null distribution. It is not the probability that the null hypothesis is true, and it is not the probability that your result happened by chance. A small p-value says the data are surprising under the null; it does not say how likely the null is, or how big the effect is.

    One-tailed or two-tailed?

    Two-tailed is the default and the safe choice: it counts both tails, so it tests for an effect in either direction. Use a one-tailed p-value only when you predicted the direction before seeing the data — switching after the fact inflates the false-positive rate. F and chi-square tests are always one-tailed (right tail only), because those statistics can only grow when an effect is present.

    Why is the F-test p-value always one-tailed?

    An F statistic is a ratio of two variances, so it can never be negative, and a real effect can only make it larger — never smaller. There is no left tail to count. The same is true of a chi-square statistic, which is a sum of squared deviations. So the p-value for an F-test is always P(F > observed F), and for a chi-square test always P(χ² > observed χ²). This calculator fixes that choice for you in the F and chi-square modes.

    Is p = .0497 really different from p = .0503?

    No. The 0.05 threshold is a convention, not a cliff: the two values are nearly the same evidence, and one happens to fall on either side of an arbitrary line. Report the exact p-value (0.0497 and 0.0503) and say how close the call was, rather than reporting only “significant” or “not significant”. A result that is significant by a hair is still significant at α = .05, but the evidence behind it is weak.

    What p-value counts as significant?

    The conventional cut-off is α = 0.05: reject the null hypothesis when p < 0.05. Some fields use stricter levels (0.01 or 0.001), and the choice should be made before the data are analysed, not after. Significance is a decision rule, not a measure of importance — always report the effect size and the confidence interval alongside the p-value, so the reader can judge whether a significant result is also a meaningful one.

    Source: every p-value on this page was verified against scipy 1.11.4 (scipy.stats.t, .f, .chi2 and .pearsonr). The r → p conversion goes through t = r√((n − 2)/(1 − r²)).

    See all 106 free statistics tools on Empirical Rule Calculators.

    Next steps

    🔢● LiveP-Value

    P-Value Calculator from Z-Score

    Find a p-value from a z-score alone, one-tailed or two-tailed.Try Calculator →

    📏● LiveProbability

    Z-Test Calculator

    Test a sample mean against a known value using the normal distribution.Try Calculator →

    📊● LiveProbability

    Chi-Square Test Calculator

    Run a chi-square test of independence or goodness of fit.Try Calculator →

    📈● LiveProbability

    T-Distribution Calculator

    Look up t probabilities, critical values and areas under the t curve.Try Calculator →

    More Tools to Explore

    Keep going with the calculators that pair with the p-value — effect size, F, correlation and ranks.

    📊● LiveEffect Size

    Effect Size Calculator

    Turn a test statistic into Cohen’s d, Hedges’ g, r or an odds ratio.

    Try Calculator →
    📈● LiveProbability

    F-Distribution Calculator

    Look up F probabilities and critical values for any pair of degrees of freedom.

    Try Calculator →
    🔗● LiveCorrelation

    Correlation Coefficient Calculator

    Compute Pearson’s r from two columns of data, with its p-value.

    Try Calculator →
    🧮● LiveCorrelation

    Spearman Rank Correlation Calculator

    Test a monotonic relationship on ranks, with tie correction and Kendall’s tau-b.

    Try Calculator →
    🧭

    Explore All Tools

    Browse every calculator on this site in one place.

    Browse All Tools