MathIsimple
Statistics · Statistical Analysis

Critical Value Calculator

Find exact critical values for Z, t, chi-square, and F distributions. Set confidence level, degrees of freedom, and tail type to get the cutoff for hypothesis tests.

100% FreeZ / t / χ² / FOne & Two-TailedHypothesis Testing
Distribution Settings
Select distribution, confidence level, and degrees of freedom where required

Choose based on your test and whether σ is known

Enter 50–99.99 (e.g., 95 for α = 0.05)

Two-tailed splits α between both ends

Normal Distribution — Rejection Regions
Red shaded areas show where you'd reject H₀ — based on current confidence level (95%) and tail setting
z-axis markers: -3 -2 -1 0 1 2 3critical: ±1.96
Rejection region (H₀ rejected)Normal distribution curve
Common Critical Values — Quick Reference
Most-used Z and t critical values for two-tailed tests
Confidenceα (two-tailed)Z criticalt (df=10)t (df=30)
90%0.101.6451.8121.697
95%0.051.9602.2282.042
99%0.012.5763.1692.750
99.9%0.0013.2914.5873.646

As df → ∞, t critical values converge to Z values. At df = 120+, they're nearly identical.

Critical Values — The Complete Guide

1What Is a Critical Value?

A critical value is the boundary on a probability distribution that divides the "fail to reject" zone from the "reject" zone in hypothesis testing. When your test statistic crosses this line, you have statistically significant evidence against your null hypothesis at the chosen significance level.

Think of it as setting a bar before you collect data. If you choose α = 0.05 and your Z-test produces Z = 2.3, you check: does 2.3 exceed the critical value of 1.96? It does — so you reject H₀. The critical value framework keeps your decision rule objective and reproducible.

2The Four Distributions and When to Use Each

Z-distribution
Population σ is known, or n ≥ 30 (Central Limit Theorem applies). Common for proportion tests and large-sample means.
z=xˉμ0σ/nz = \frac{\bar{x} - \mu_0}{\sigma / \sqrt{n}}
Student's t
Population σ is unknown and n < 30. Heavier tails account for extra uncertainty from estimating σ with the sample s.
t=xˉμ0s/nt = \frac{\bar{x} - \mu_0}{s / \sqrt{n}}
Chi-Square (χ²)
Testing categorical data independence (contingency tables), goodness of fit, or constructing confidence intervals for variance.
χ2=(n1)s2σ02\chi^2 = \frac{(n-1)s^2}{\sigma_0^2}
F-distribution
Comparing two variances (Levene's test), or testing overall model significance in ANOVA / multiple regression.
F=s12/σ12s22/σ22F = \frac{s_1^2 / \sigma_1^2}{s_2^2 / \sigma_2^2}

3One-Tailed vs. Two-Tailed Tests

Two-tailed tests detect differences in either direction (μ ≠ μ₀). They split α equally between both tails — so at α = 0.05, each tail carries 0.025. The two-tailed Z critical value at 95% confidence is ±1.960.

One-tailed tests detect a specific directional change (μ > μ₀ or μ < μ₀). All α goes into one tail — so the one-tailed Z critical value at 95% confidence is 1.645 (lower bar, easier to reject). Use one-tailed only when you have a strong theoretical reason to expect the effect in one direction before collecting data.

4Degrees of Freedom — Why They Matter

Degrees of freedom (df) represent the number of independent pieces of information in your estimate. Estimating a mean from n observations uses up 1 df for the mean itself, leaving n − 1 for estimating variance. This is why t(df=1) has extremely heavy tails and t(df=∞) = Z.

Practical rules: t-test: df = n − 1. Two-sample t: df ≈ n₁ + n₂ − 2. Chi-square goodness of fit: df = (categories − 1). F-test: df₁ = (groups − 1), df₂ = (total observations − groups).

5Common Mistakes to Avoid

  • Using Z instead of t when n < 30 and σ is unknown — Z critical values are too small, leading to inflated Type I error.
  • One-tailed testing to "fish" for significance after seeing the data — pre-register your hypothesis direction before data collection.
  • Confusing α with p-value: α is a threshold you set; p-value is calculated from your data. Reject H₀ when p < α.
  • Ignoring the assumption of normality for small samples — t-tests require roughly normal populations when n < 15.

The Red Ink That Changed How I Think About Sample Size

I used a z-score on a dataset with 12 observations in my first stats project. My professor wrote "use t" in red ink. I didn't understand why until I saw how much the confidence interval changed — it widened by nearly 40%. Same data. Same confidence level. Completely different conclusion about whether the result was significant.

That's the thing about critical values. Pick the wrong distribution and your entire analysis shifts. Your confidence interval is either too narrow (overconfident) or too wide (useless). The z-score vs. t-score decision isn't a technicality. It's the fork in the road that determines whether your results hold up.

Most stats textbooks bury this choice in a footnote. But if you're running a hypothesis test or building a confidence interval with real data — clinical trial results, A/B test conversions, survey responses — this is the first question you need to answer.

The 30-Second Decision Tree: Z or T?

Two questions. That's all it takes.

Question 1: Do you know the population standard deviation (σ)? Not the sample standard deviation you calculated from your data — the true population parameter. If yes, use z. If no (and you almost never do), move to question 2.

Question 2: Is your sample size above 30? If yes, z works as an approximation because the t-distribution converges toward the normal distribution at larger sample sizes. If no, you must use t.

Z vs. T Decision Flowchart

Know population σ?YesNoUse Z-ScoreSample size ≥ 30?YesNoZ works (approximation)Must Use TIn practice, most real-world data requires the t-distributionbecause population σ is almost never known.

The practical rule: if you're using sample data (s instead of σ) and n < 30, always use t.

Here's the honest truth: in the real world, you almost never know σ. You're working with sample data. So the real question is usually just about sample size — and even then, many statisticians argue you should default to t regardless. The t-distribution with large degrees of freedom is virtually identical to the z-distribution anyway.

Same Data, Two Formulas, Different Answers

This is where the choice actually bites you. Say you're testing whether a new tutoring method improves test scores. You collect data from 12 students. The sample mean score is 78, the hypothesized population mean is 72, and the sample standard deviation is 10.

Both formulas look almost identical. The z-score formula uses the population standard deviation:

z=xˉμσ/n=787210/12=62.887=2.078z = \frac{\bar{x} - \mu}{\sigma / \sqrt{n}} = \frac{78 - 72}{10 / \sqrt{12}} = \frac{6}{2.887} = 2.078

The t-score formula swaps in the sample standard deviation:

t=xˉμs/n=787210/12=62.887=2.078t = \frac{\bar{x} - \mu}{s / \sqrt{n}} = \frac{78 - 72}{10 / \sqrt{12}} = \frac{6}{2.887} = 2.078

Wait — the numbers are the same? Yes. The test statistic itself is identical when σ and s happen to equal the same value. The difference isn't in the calculation. It's in the critical value you compare it against.

At a 95% confidence level, the z critical value is always 1.96. But the t critical value with 11 degrees of freedom (n - 1 = 12 - 1) is 2.201. That's 12% higher. Your test statistic of 2.078 clears the z-threshold but falls short of the t-threshold. One says significant, the other says not enough evidence.

Same data. Same math. Opposite conclusions. That red ink from my professor suddenly made a lot more sense.

The Critical Value Table Your Textbook Should Have Led With

Critical values change based on your confidence level and — for the t-distribution — your degrees of freedom (df). Here's a side-by-side comparison showing how t-values shrink toward z-values as sample size grows.

Confidence LevelZ Critical ValueT (df = 5)T (df = 11)T (df = 29)T (df = 120)
90%1.6452.0151.7961.6991.658
95%1.9602.5712.2012.0451.980
99%2.5764.0323.1062.7562.617

See the pattern? At df = 5 (a sample of 6 people), the 95% t critical value is 2.571 — a full 31% larger than the z-value of 1.96. By df = 120, the gap shrinks to about 1%. That's why the "n ≥ 30" rule of thumb exists: beyond 30 observations, the t-distribution is close enough to normal that the difference rarely changes your conclusion.

But "close enough" isn't "identical." I've seen A/B tests at startups where the sample was 35 users per group and the team used z-scores because "it's over 30." Their confidence interval was slightly too narrow, and the "winning" variant turned out to be noise. Small margins matter when money is on the line.

Degrees of Freedom: The Penalty for Not Knowing σ

Degrees of freedom (df) is one of those terms that sounds more intimidating than it is. For a one-sample t-test, it's just n1n - 1. You have 20 data points? Your df is 19.

But why subtract 1? Because you used your data to estimate the standard deviation. That "costs" you one degree of freedom — you've consumed one piece of independent information. Think of it like a budget: you started with n independent observations, spent one to calculate s, and now you've got n - 1 left for your test.

William Sealy Gosset — a chemist at the Guinness brewery in Dublin — figured this out in 1908. He was working with tiny samples of barley yields (sometimes as few as 3 or 4 observations) and realized the normal distribution gave confidence intervals that were way too tight for small samples. His solution was the t-distribution, published under the pen name "Student" because Guinness didn't want competitors knowing they used statistics. Hence "Student's t-distribution."

A brewer. Not a mathematician. Sometimes the best insights come from people who actually need the answer, not people writing proofs.

How the Wrong Choice Inflates (or Deflates) Your Confidence Interval

Back to our tutoring example. Sample mean of 78, sample standard deviation of 10, n = 12. Let's build a 95% confidence interval both ways and see what happens.

Using z (incorrectly, since we don't know σ):

78±1.960×1012=78±5.66=[72.34,  83.66]78 \pm 1.960 \times \frac{10}{\sqrt{12}} = 78 \pm 5.66 = [72.34,\; 83.66]

Using t with df = 11 (correctly):

78±2.201×1012=78±6.35=[71.65,  84.35]78 \pm 2.201 \times \frac{10}{\sqrt{12}} = 78 \pm 6.35 = [71.65,\; 84.35]

The z-based interval is 11.32 points wide. The t-based interval is 12.70 points wide — about 12% wider. That extra width isn't sloppiness. It's honesty. The t-distribution accounts for the additional uncertainty that comes from estimating σ with a small sample. The z-distribution pretends that uncertainty doesn't exist.

Z-Based (Wrong for n=12)

[72.34, 83.66]

Width: 11.32 — looks precise, but it's overconfident. The interval is too narrow to reflect the real uncertainty in your estimate.

T-Based (Correct for n=12)

[71.65, 84.35]

Width: 12.70 — wider, but it honestly reflects the uncertainty from a small sample with an estimated σ.

With 200 observations? The difference between z and t shrinks to fractions of a decimal. The choice barely matters. But with 12? It can flip your conclusion. And in fields like clinical research, where sample sizes of 10–20 are common in early-phase trials, this isn't academic — it's the difference between advancing a drug to the next phase or shelving it.

When Even Experienced Analysts Get This Wrong

I've reviewed dashboards at companies where the analytics team hard-coded z = 1.96 into every confidence interval calculation. Didn't matter if the sample was 15 users or 15,000. Same critical value. Nobody questioned it because the code "worked."

It worked in the sense that it produced a number. Whether that number meant anything for the small-sample segments — new markets, niche user cohorts, pilot programs — was a different story. Their p-values looked great on paper. The replication rate told a different story.

The fix isn't complicated. If you're estimating σ from your sample (which is almost always the case), use the t-distribution. Let the degrees of freedom do their job. As your sample grows, the t-value converges to z anyway — you lose nothing by defaulting to t, but you risk real errors by defaulting to z.

And if you're working with averages from skewed distributions, the choice of z vs. t is only half the battle. Make sure the average you're testing is the right one to begin with.

Frequently Asked Questions

What is a critical value in statistics?

A critical value is the threshold on a test statistic's distribution that separates the "reject" region from the "fail to reject" region in a hypothesis test. At a 95% confidence level (two-tailed), the z critical value is ±1.96 — meaning if your test statistic exceeds 1.96 or falls below -1.96, you reject the null hypothesis. For the t-distribution, the critical value depends on degrees of freedom and is always larger than z for small samples.

When should I use a z-score instead of a t-score?

Use a z-score only when you know the true population standard deviation (σ) — not an estimate from your sample. In practice, this is rare outside of standardized testing or manufacturing with known process parameters. If you're calculating standard deviation from your data (which is the typical case), use the t-distribution. The common "n ≥ 30" shortcut works because the t-distribution closely approximates the normal distribution at higher degrees of freedom, but defaulting to t is always the safer choice.

What are degrees of freedom and why do they matter?

Degrees of freedom (df) represent the number of independent values that can vary in your calculation. For a one-sample t-test, df = n - 1 because one "degree" is used up estimating the sample standard deviation. Lower df means heavier tails on the t-distribution, which produces larger critical values and wider confidence intervals. This is the t-distribution's way of penalizing you for the extra uncertainty that comes with small samples.

Find Your Critical Value in Seconds

Pick your confidence level, enter your degrees of freedom, and get the exact z or t critical value. No table-flipping required.

*Works for z, t, chi-square, and F distributions.

Frequently Asked Questions

What is a critical value in statistics?
A critical value is the threshold that separates the rejection region from the non-rejection region in hypothesis testing. If your test statistic exceeds the critical value, you reject H₀ at your chosen α. Example: at α = 0.05 two-tailed Z, the critical value is ±1.960.
When should I use Z vs. t distribution?
Use the Z distribution when σ is known or n ≥ 30. Use the t distribution when σ is unknown and n < 30. As df increases, t approaches Z; by df = 120 the two are nearly identical.
What are degrees of freedom?
Degrees of freedom (df) count the independent values free to vary. One-sample t: df = n − 1. Two-sample t: df ≈ n₁ + n₂ − 2. Chi-square goodness of fit: df = categories − 1. F-test: df₁ = numerator df, df₂ = denominator df.
What's the difference between one-tailed and two-tailed tests?
Two-tailed tests detect differences in either direction (H₁: μ ≠ μ₀) and split α between both tails. One-tailed tests detect a specific direction and put all α in one tail. One-tailed tests have smaller critical values but require a strong pre-registered direction.
How do critical values relate to p-values?
If |test statistic| > critical value, then p < α. Critical values are useful for pre-specifying decision rules; p-values quantify the strength of evidence. Modern practice recommends reporting both.
What is the critical value for 95% confidence?
For α = 0.05 two-tailed: Z = 1.960. For t: t(df = 10) = 2.228, t(df = 30) = 2.042, t(df = ∞) = 1.960. For one-tailed at 95%: Z = 1.645.
Advertisement