Loading...
Loading...
Calculate confidence intervals for means and proportions with step-by-step solutions and Python code.
Enter your data and click Calculate CI.
Common Critical Values:
Use t when σ is unknown (you estimated it from the sample as s). Use z only when σ is known. In practice, always use t - it converges to z for large n, so it is never wrong to use t.
Lower df = wider interval. The t-distribution has heavier tails with fewer df, increasing the critical value. At df=10, t* ≈ 2.228 vs z* = 1.960 for 95% CI. At df=100, t* ≈ 1.984.