Skip to main content

Enter values

Tip: Z is common for known σ / large n. t is common when σ is unknown. χ² and F show up in variance tests & ANOVA.

Two-tailed doubles the smaller tail probability (symmetry-based for Z/t). χ² and F are typically right-tailed.

Enter your computed test statistic (z, t, χ², or F).

Options:

Optional: If p ≤ α, you’d typically reject H₀.

Chips prefill common test statistics and run the calculation.

Result:

No results yet. Enter values and click Calculate.

How to use this calculator

  • Choose the distribution (Z, t, χ², or F).
  • Pick the tail based on your alternative hypothesis (H₁).
  • Enter your test statistic (and degrees of freedom if needed).
  • Click Calculate to get the p-value and shaded area.

How this calculator works

  • Z / t: uses the CDF to compute tail area(s) under the curve.
  • Two-tailed (Z/t): p = 2·min(P(X≤x), P(X≥x)).
  • χ² / F: typically right-tailed, p = P(X≥x) = 1 − CDF(x).
  • Functions are computed with stable approximations (error function, incomplete gamma/beta).

Formula & Equation Used

Right-tailed: p = P(X ≥ x) = 1 − F(x)

Left-tailed: p = P(X ≤ x) = F(x)

Two-tailed (Z/t): p = 2·min(F(x), 1 − F(x))

Example Problems & Step-by-Step Solutions

Example 1 — Z, two-tailed

z = −1.96

  1. Compute CDF: F(z) = P(Z ≤ −1.96) ≈ 0.025.
  2. Two-tailed p = 2·min(F, 1−F) = 2·0.025 = 0.05.

Example 2 — t, right-tailed

t = 2.13, df = 18

  1. Compute F(t) = P(T ≤ 2.13) from the t CDF.
  2. Right-tail p = 1 − F(t).

Example 3 — χ², right-tailed

χ² = 10.83, df = 4

  1. Compute F(χ²) = P(Χ² ≤ 10.83).
  2. Right-tail p = 1 − F(χ²).

Example 4 — F, right-tailed

F = 3.21, df₁ = 2, df₂ = 15

  1. Compute F(F) = P(F ≤ 3.21) using the F CDF.
  2. Right-tail p = 1 − F(F).

Frequently Asked Questions

Q: What does a p-value mean?

It’s the probability of getting results at least as extreme as yours if the null hypothesis is true.

Q: Which tail do I choose?

Choose based on H₁: ≠ (two-tailed), > (right-tailed), or < (left-tailed).

Q: Why are χ² and F usually right-tailed?

Those test statistics are typically nonnegative and “extreme” values are large values.

Q: If p = 0.03, is it “significant”?

At α = 0.05, yes (0.03 < 0.05). But significance depends on your chosen α and context.

Q: Can p-value be 0?

Not exactly — it can be extremely small. The calculator will show p < 0.0001 for tiny values.

10. Combinatorics & Probability
1 topic 1 problem
Chapter
Justin
Probability
21. Combinatorics and Probability
4 problems
Topic
21. Combinatorics and Probability
3 topics 6 problems
Chapter
Standard Normal Distribution
6. Normal Distribution and Continuous Random Variables
7 problems
Topic
Laura
Steps in Hypothesis Testing
9. Hypothesis Testing for One Sample
7 problems
Topic
Ally
6. Normal Distribution and Continuous Random Variables
2 topics 6 problems
Chapter
Justin
9. Hypothesis Testing for One Sample
1 topic 3 problems
Chapter
David-Paige
Chi Square Analysis
3. Extensions to Mendelian Inheritance
7 problems
Topic
Kylia
3. Extensions to Mendelian Inheritance - Part 1 of 2
5 topics 14 problems
Chapter
Kylia
3. Extensions to Mendelian Inheritance - Part 2 of 2
6 topics 13 problems
Chapter
Nicole
Hypothesis Testing (t-Test)
4 & 5. Statistics, Quality Assurance and Calibration Methods
5 problems
Topic
Analysis of Variance (f-Test)
4 & 5. Statistics, Quality Assurance and Calibration Methods
5 problems
Topic
4 & 5. Statistics, Quality Assurance and Calibration Methods - Part 1 of 2
4 topics 12 problems
Chapter
4 & 5. Statistics, Quality Assurance and Calibration Methods - Part 2 of 2
2 topics 6 problems
Chapter
Standard Normal Distribution
6. Normal Distribution & Continuous Random Variables
10 problems
Topic
Ernest
Steps in Hypothesis Testing
9. Hypothesis Testing for One Sample
10 problems
Topic
Ernest
6. Normal Distribution & Continuous Random Variables
4 topics 15 problems
Chapter
Ernest
9. Hypothesis Testing for One Sample
3 topics 15 problems
Chapter
Brendan
Probability Distribution Calculator
Calculate probabilities for normal, binomial, Poisson, t, chi-square, F, and other common distributions
Critical Value Calculator
Find critical values for Z, t, χ², or F distributions using α and tail type
Degrees of Freedom Calculator
Calculate degrees of freedom for t-tests, χ², ANOVA, F, and regression
Z-Score Calculator
Calculate z-scores, percentiles, and reverse-solve x, μ, or σ
Allele Frequency Calculator
Calculate allele frequencies (p, q) with Hardy–Weinberg checks and visuals
Confidence Interval Calculator
Calculate confidence intervals for means, proportions, or raw data inputs
Binomial Distribution Calculator
Calculate binomial probabilities, expected values, cumulative probabilities, and exact success outcomes
Hardy–Weinberg Calculator
Compute allele and genotype frequencies with χ² comparison
Normal Distribution Calculator
Calculate normal distribution probabilities, z-scores, percentiles, and shaded bell-curve areas
Poisson Distribution Calculator
Calculate Poisson probabilities, expected event counts, cumulative probabilities, and rare event outcomes
Standard Deviation Calculator
Calculate standard deviation, variance, and mean from data
Standard Error Calculator
Calculate standard error for mean, proportion, or raw data inputs
A/B Test Significance Calculator
Check if A/B test results are statistically significant
Correlation Coefficient Calculator
Calculate Pearson’s r, Spearman’s rank correlation, r², regression line, significance, and relationship strength
All Calculators & ConvertersAll calculators