Skip to main content

Calcu.fit

P-value Calculator: Find the P-value From Z, T, Chi-Square, or F

Use this free p-value calculator to find the p-value for your test statistic. Choose the type of test (z, t, chi-square, or F), enter your statistic (and degrees of freedom where needed), and select a one-tailed or two-tailed test. You’ll get the p-value, a comparison with your significance level (α), and a plain-language interpretation. No signup needed, and nothing you enter is stored.

P-value Calculator

Calculate p-values for Z, T, Chi-square, and F tests. Choose your test type, test statistic, tail, and significance level.

Calculation Result

P-value —
Significance Level (α)
Test Decision
Critical Value
Test Distribution

P-value vs Significance Level

P-value
Alpha (α)

Calculation Steps

Interpretation

A p-value is the probability of obtaining a result at least as extreme as the observed result, assuming the null hypothesis is true. It is not the probability that the null hypothesis is true.

How to Use This P-value Calculator

  1. Choose the distribution that matches your test: z (normal), t, chi-square (χ²), or F.
  2. Enter your test statistic (for example, z = 1.96).
  3. Enter the degrees of freedom for t, chi-square, and F tests.
  4. Choose the tail: two-tailed, left-tailed, or right-tailed.
  5. Enter your significance level (α), commonly 0.05.
  6. Click Calculate to see the p-value and the result.

What You’ll See in Your Results

  • The p-value
  • Whether it’s below your significance level (statistically significant or not)
  • The critical value for your α
  • A diagram of the distribution with the shaded tail area
  • A plain-language interpretation

What Is a P-value?

A p-value is the probability of getting a result at least as extreme as the one you observed, assuming the null hypothesis is true.

  • A small p-value means your data would be unusual if the null hypothesis were true, which is evidence against the null.
  • A large p-value means your data is consistent with the null hypothesis.

What a P-value Is Not

  • It is not the probability that the null hypothesis is true.
  • It is not the probability that your result happened “by chance.”
  • It does not measure the size or importance of an effect.
  • It does not tell you the probability that your finding will replicate.

A p-value of 0.03 means: if the null hypothesis were true, you’d see a result this extreme or more extreme about 3% of the time.

Hypothesis Testing in Four Steps

  1. State the hypotheses. The null hypothesis (H₀) says there’s no effect or no difference. The alternative hypothesis (H₁) says there is.
  2. Choose a significance level (α), usually 0.05, before you look at the data.
  3. Calculate the test statistic (z, t, χ², or F) and its p-value.
  4. Compare: if p ≤ α, reject H₀ (the result is statistically significant). If p > α, you fail to reject H₀.

“Fail to reject” doesn’t prove the null is true. It means you didn’t find enough evidence against it.

One-Tailed vs. Two-Tailed Tests

 Two-tailedOne-tailed (right)One-tailed (left)
Tests forAny difference (higher or lower)Only an increaseOnly a decrease
p-value for a z statistic2 × P(Z ≥ |z|)P(Z ≥ z)P(Z ≤ z)
Use whenYou care about change in either directionYou have a prior reason to test one directionYou have a prior reason to test one direction

Choose the tail before analyzing the data. Switching to a one-tailed test after seeing the result to get a smaller p-value is not valid.

For a symmetric distribution (z or t), the two-tailed p-value is twice the one-tailed p-value.

P-values From a Z-Score

For the standard normal distribution, the p-values for common z-scores are:

z-scoreTwo-tailed pRight-tailed pLeft-tailed p
1.0000.31730.15870.8413
1.5000.13360.06680.9332
1.6450.10000.05000.9500
1.9600.05000.02500.9750
2.0000.04550.02280.9772
2.3260.02000.01000.9900
2.5760.01000.00500.9950
3.0000.00270.00130.9987

Critical z-values:

Significance level (α)Two-tailedOne-tailed
0.10±1.6451.282
0.05±1.9601.645
0.01±2.5762.326
0.001±3.2913.090

P-values From a T-Score

The t distribution depends on the degrees of freedom (df). It has heavier tails than the normal distribution, especially for small samples.

tdfTwo-tailed pOne-tailed p
1.5350.14260.0713
1.8120.09700.0485
2.0300.05460.0273
2.1200.04860.0243
2.228100.05000.0250
2.5150.02450.0123
3.080.01710.0085

Critical t-values (two-tailed, α = 0.05):

dfCritical t
52.571
102.228
202.086
302.042
602.000
1,0001.962

As the degrees of freedom grow, the t distribution approaches the normal distribution, and the critical value approaches 1.96.

P-values From a Chi-Square Statistic

The chi-square test is used for goodness of fit and for tests of independence in tables. The p-value is usually right-tailed.

χ²dfp-value
3.84110.0500
7.00030.0719
9.48840.0500
11.07050.0500
15.00060.0203

P-values From an F Statistic

The F test is used in ANOVA and for comparing variances. It needs two degrees of freedom: df₁ (numerator) and df₂ (denominator). The p-value is right-tailed.

Fdf₁, df₂p-value
3.8852, 120.0500
4.0003, 200.0221
2.5004, 300.0635

P-value Examples

Example 1: A One-Sample T-Test

A sample of 36 people has a mean of 52 and a standard deviation of 8. You test whether the true mean differs from 50.

  • Test statistic: t = (52 − 50) ÷ (8 ÷ √36) = 1.5
  • Degrees of freedom: 35
  • Two-tailed p = 0.1426

Since 0.1426 is greater than 0.05, the result is not statistically significant at the 5% level. There isn’t enough evidence that the mean differs from 50.

Example 2: A Test of a Proportion

In 100 trials, 58 are successes. You test whether the true proportion differs from 0.5.

  • z = (0.58 − 0.50) ÷ √(0.5 × 0.5 ÷ 100) = 1.6
  • Two-tailed p = 0.1096 (one-tailed p = 0.0548)

Not significant at 0.05.

Example 3: A Two-Sample T-Test (Welch)

Group 1 has a mean of 82, a standard deviation of 10, and 30 people. Group 2 has a mean of 76, a standard deviation of 12, and 30 people.

  • t ≈ 2.10, with about 56.2 degrees of freedom
  • Two-tailed p ≈ 0.0399

Since 0.0399 is less than 0.05, the difference is statistically significant at the 5% level.

Example 4: A Chi-Square Goodness-of-Fit Test

You roll a die 60 times and get these counts for 1 through 6: 8, 12, 9, 11, 14, 6. If the die is fair, you expect 10 of each.

  • χ² = Σ(observed − expected)² ÷ expected = 4.2
  • Degrees of freedom: 6 − 1 = 5
  • p = 0.521

Far above 0.05, so there’s no evidence the die is unfair.

Example 5: A Z-Test

A z-score of 1.96 gives a two-tailed p-value of 0.05, right at the usual cutoff. A z-score of −1.96 gives a left-tailed p-value of 0.025.

What Does “Statistically Significant” Mean?

A result is statistically significant at level α if p ≤ α. The choice of 0.05 is a convention, not a law of nature. Some fields use 0.01 or 0.001, and some use 0.10.

Important points:

  • Statistical significance isn’t practical significance. A tiny effect can be statistically significant with a huge sample, and a large effect can fail to reach significance with a small sample.
  • A p-value just above 0.05 isn’t “no effect.” The evidence is simply weaker. For example, 0.049 and 0.051 are practically the same.
  • Report the effect size and a confidence interval, not only the p-value.

Common Significance Levels

p-valueCommon description
p > 0.10Little or no evidence against the null
0.05 < p ≤ 0.10Weak evidence
0.01 < p ≤ 0.05Moderate evidence
0.001 < p ≤ 0.01Strong evidence
p ≤ 0.001Very strong evidence

These labels are rough guides, and their interpretation depends on the field and the study.

The Multiple Testing Problem

If you run many tests, some will be “significant” by chance alone. At α = 0.05, the chance of at least one false positive is:

Number of independent testsChance of at least one false positive
15.0%
522.6%
1040.1%
2064.2%

A common fix is the Bonferroni correction: divide α by the number of tests. For 20 tests, the adjusted α is 0.05 ÷ 20 = 0.0025. Other methods (such as controlling the false discovery rate) are less strict.

P-hacking means running many analyses, subgroups, or variations until something is significant, and reporting only that result. It leads to unreliable findings. Decide your analysis plan in advance, and report all tests you ran.

Assumptions Behind P-values

P-values are valid only if the test’s assumptions hold. Common ones include:

  • Random or representative sampling
  • Independent observations
  • Approximately normal data (for small-sample t tests), or large enough samples
  • Equal variances (for some tests, though Welch’s t test doesn’t require it)
  • Expected counts large enough (for chi-square tests, often at least 5 per cell)

If the assumptions are badly violated, the p-value may be misleading.

P-value vs. Confidence Interval vs. Effect Size

 What it tells you
P-valueHow surprising the data would be if the null were true
Confidence intervalA range of plausible values for the true effect
Effect sizeHow large the difference or relationship is

Using all three gives a fuller picture than a p-value alone.

Common Mistakes

  1. Saying the p-value is the probability the null is true.
  2. Treating p = 0.05 as a sharp divide between real and not real.
  3. Ignoring effect size and practical importance.
  4. Choosing the tail after seeing the data.
  5. Running many tests without correction.
  6. Interpreting “not significant” as “no effect.”
  7. Using the wrong test or distribution for the data.
  8. Forgetting to check assumptions.

P-value Calculator vs. Other Tools

  • Z-score calculator: standardizing a value within a normal distribution.
  • Standard deviation calculator: measuring the spread of data.
  • Sample size calculator: determining how many responses you need.
  • Probability calculator: calculating the likelihood of events.
  • Averages calculator: arithmetic mean, median, and mode.
  • Scientific calculator: advanced mathematical functions.

Frequently Asked Questions (FAQ)

What is a p-value?

The probability of getting a result at least as extreme as the one observed, assuming the null hypothesis is true. A small p-value is evidence against the null hypothesis.

Compute your test statistic (z, t, chi-square, or F), then find the area under the distribution in the tail or tails beyond it. For a two-tailed z test, p = 2 × (1 − Φ(|z|)). The calculator does this for you.

By convention, p ≤ 0.05, though the significance level should be chosen in advance and depends on the field.

For a two-tailed test, p = 0.05. For a one-tailed test, p = 0.025.

 A two-tailed p-value looks for a difference in either direction. A one-tailed p-value looks for a difference in one direction only. For symmetric distributions, the two-tailed p-value is twice the one-tailed value.

No. It describes how unusual your data would be if the null hypothesis were true. It doesn’t give the probability of the null or alternative hypothesis.

No. It means you didn’t find enough evidence against the null. The effect could still exist but be too small or the sample too small to detect

 If the null hypothesis were true, you’d get a result this extreme or more extreme about 5% of the time.

Check the test type, the tail (one- or two-tailed), and the degrees of freedom. A different choice changes the p-value.

Report the exact value, such as p = 0.032, instead of only “p < 0.05,” along with the test statistic, degrees of freedom, effect size, and a confidence interval.

Yes. It’s free, with no registration and no limits.

It uses standard statistical distribution functions, so p-values are accurate to the precision shown. Whether the result is meaningful depends on your data and on meeting the test’s assumptions.

Disclaimer

This calculator is for general informational and educational purposes and isn’t a substitute for professional statistical advice. A p-value is only one part of statistical evidence, and its validity depends on correct test choice and assumptions. Consult a qualified statistician for research, medical, or other important decisions.