P-Value Calculator (All Distributions)

Use this unified p-value calculator to find p-values for any hypothesis test (Z, t, chi-square, F). Enter your test statistic, choose the distribution, and determine statistical significance.

When to Use

  • After calculating any test statistic (Z, t, χ², F)
  • Testing hypotheses about means, proportions, variances, or associations
  • Determining statistical significance without looking up tables
  • Supports all major distributions in hypothesis testing
  • Works for all tail types: left-tailed, right-tailed, two-tailed

How to Use

Step 1: Select your distribution type:

  • Z (Normal): For proportions, means (σ known), large samples
  • Student’s t: For means (σ unknown), paired comparisons
  • Chi-square: For variance, goodness of fit, independence tests
  • F: For variance ratios, ANOVA

Step 2: Enter your calculated test statistic (from your hypothesis test)

Step 3: Enter degrees of freedom (if needed for t, χ², F):

  • t-test: df = n - 1
  • Chi-square: df = k - 1 (categories) or (rows-1)(cols-1)
  • F-test: df1 and df2 (both required)

Step 4: Select tail type:

  • Left-tailed: Testing if parameter is less than claim
  • Right-tailed: Testing if parameter is greater than claim
  • Two-tailed: Testing if parameter differs from claim

Step 5: Click “Calculate”

Step 6: Interpret:

  • p-value < 0.05: Reject H₀ (statistically significant)
  • p-value ≥ 0.05: Fail to reject H₀ (not significant)
p Value Calculator
Choose a Distribution
Test Statistic
Degrees of Freedom
Tail : Left tailedRight tailedTwo tailed
Results
p-value :

Understanding P-Values Across Distributions

A p-value is the probability of observing a test statistic as extreme (or more extreme) as yours, assuming the null hypothesis is true. It differs by distribution but means the same thing conceptually.

P-Value Interpretation Table

p-value Decision Evidence Strength
p < 0.001 Strongly reject H₀ Extremely strong evidence
0.001 ≤ p < 0.01 Reject H₀ Very strong evidence
0.01 ≤ p < 0.05 Reject H₀ Strong evidence
0.05 ≤ p < 0.10 Borderline Weak evidence
p ≥ 0.10 Fail to reject H₀ No significant evidence

Distribution Guide

Z-Distribution (Normal Distribution)

Use for:

  • Proportions (large samples: np ≥ 5, n(1-p) ≥ 5)
  • Means when σ is known (rare)
  • Large sample tests (n ≥ 30)

Properties:

  • Mean = 0, SD = 1 (standardized)
  • Symmetric around 0
  • No degrees of freedom parameter

P-value calculation:

  • Left-tailed: P(Z ≤ z_obs)
  • Right-tailed: P(Z ≥ z_obs)
  • Two-tailed: 2 × P(|Z| ≥ |z_obs|)

Student’s t-Distribution

Use for:

  • Means when σ is unknown (most common)
  • Paired data comparisons
  • Small to moderate samples

Properties:

  • Similar to normal, but with heavier tails
  • Requires degrees of freedom (df = n - 1)
  • Approaches normal as df increases
  • More conservative than Z

P-value calculation:

  • Left-tailed: P(t ≤ t_obs)
  • Right-tailed: P(t ≥ t_obs)
  • Two-tailed: 2 × P(|t| ≥ |t_obs|)

Chi-Square Distribution

Use for:

  • Variance tests
  • Goodness of fit tests
  • Tests of independence (categorical data)

Properties:

  • Always positive (χ² ≥ 0)
  • Right-skewed
  • Degrees of freedom affect shape
  • As df increases, becomes more symmetric

P-value calculation:

  • Left-tailed: P(χ² ≤ χ²_obs)
  • Right-tailed: P(χ² ≥ χ²_obs)
  • Two-tailed: Combination of both tails

F-Distribution

Use for:

  • Comparing two variances
  • ANOVA (comparing 3+ means)
  • Regression significance

Properties:

  • Always positive (F ≥ 0)
  • Right-skewed
  • Requires two degrees of freedom (df1, df2)
  • More complex shape than others

P-value calculation:

  • Usually right-tailed: P(F ≥ F_obs)
  • Less common: left or two-tailed for some applications

Common P-Value Misconceptions

❌ WRONG Interpretations

  1. “p-value = 0.03 means 3% chance H₀ is true”
  2. “p-value = 0.05 means 5% chance of a false positive”
  3. “Non-significant result (p > 0.05) proves H₀ is true”
  4. “Significant result (p < 0.05) proves H₁ is true”
  5. “p-value measures effect size or practical importance”

✓ RIGHT Interpretations

  1. “If H₀ is true, we’d see this result 3% of the time”
  2. “If H₀ is true, this result occurs 5% of the time” (Type I error depends on other factors)
  3. “Non-significant result means insufficient evidence to reject H₀”
  4. “Significant result means evidence against H₀ at chosen α level”
  5. “p-value measures statistical significance; effect size is separate”

Worked Examples by Distribution

Example 1: Z-Test for Proportion

Testing if success rate differs from 50%

  • Test statistic: z = 1.75
  • Tail: Two-tailed
  • p-value ≈ 0.0801
  • Decision: Fail to reject H₀ (0.0801 > 0.05)

Example 2: t-Test for One Mean

Testing if mean differs from 100

  • Test statistic: t = -2.34
  • Degrees of freedom: 24
  • Tail: Two-tailed
  • p-value ≈ 0.0279
  • Decision: Reject H₀ (0.0279 < 0.05)

Example 3: Chi-Square Test

Testing variance claim

  • Test statistic: χ² = 8.5
  • Degrees of freedom: 5
  • Tail: Right-tailed
  • p-value ≈ 0.1306
  • Decision: Fail to reject H₀

Example 4: F-Test for Variances

Comparing two sample variances

  • Test statistic: F = 2.45
  • df1 = 10, df2 = 15
  • Tail: Right-tailed
  • p-value ≈ 0.0614
  • Decision: Borderline (0.0614 ≈ 0.05)

Decision Rules at Common Significance Levels

Significance Level (α) Decision Rule Common Use
0.01 Reject H₀ if p < 0.01 Very conservative, medical/safety testing
0.05 Reject H₀ if p < 0.05 Standard default in most fields
0.10 Reject H₀ if p < 0.10 Exploratory research, borderline cases

Tips for Using This Calculator

  1. Calculate your test statistic first using the appropriate formula
  2. Choose the correct distribution for your test type
  3. Count degrees of freedom carefully:
    • t-test: df = n - 1 (sample size - 1)
    • Chi-square: depends on test (categories - 1, etc.)
    • F-test: need both df1 and df2
  4. Select the correct tail type based on your alternative hypothesis (H₁)
  5. Report both p-value AND effect size for complete analysis
  6. Remember: Small p-value ≠ large effect; separate measures are needed
  7. Context matters: Statistical significance ≠ practical importance

When Each Distribution is Appropriate

Hypothesis Distribution Condition
Testing proportion vs. claimed value Z Large sample
Testing mean vs. claimed value t σ unknown
Testing two proportions Z Both samples large
Testing two means t σ unknown, independent samples
Testing variance vs. claimed value Chi-square Population normal
Testing two variances F Both populations normal
Goodness of fit Chi-square Expected frequencies ≥ 5
Independence (categorical) Chi-square Expected frequencies ≥ 5
ANOVA (3+ groups) F Samples independent, variances equal

Related Calculators:

Learn More: Hypothesis Testing Guide, Understanding P-Values