1001Ferramentas
🎯 Calculators

Mean 95 Confidence Interval Calculator

Computes the ninety five percent confidence interval for a sample mean using approximate normal distribution with z equals 1.96.

95% confidence interval for the mean

A 95% confidence interval for the population mean is built around the sample mean with IC = x̄ ± z·s/√n, using z = 1.96 whenever σ is known or n is large (that's the Central Limit Theorem at work). When the sample is small (n < 30) and σ is unknown, swap 1.96 for Student's t critical value with n − 1 degrees of freedom. Notice that the standard error s/√n shrinks as n grows, so the interval gets tighter. One thing trips people up, so worth flagging. Important caveat: the frequentist reading is "if we repeated the sampling many times, 95% of the resulting intervals would contain the true mean", and not "there is a 95% chance the true mean lands inside this particular interval". Worked example: x̄ = 50, s = 8, n = 30 → SE = 8/√30 ≈ 1.461; IC = 50 ± 1.96·1.461 ≈ [47.14, 52.86].

Applications

You'll find it behind election polls (that famous "margin of error of ±3 points" is just a 95% CI), clinical trials reporting drug efficacy, A/B tests, the validation of analytical methods under ABNT NBR ISO/IEC 17025 (laboratory accreditation), quality control charts, and pretty much any scientific paper that reports an average drawn from a sample.

FAQ

Why 95% and not 99%? Mostly convention. 95% strikes a decent balance between a narrow interval and real confidence. 99% runs wider and shows up when a mistake is expensive, like drug approval or aviation.

When should I use t instead of z? Reach for t when the population σ is unknown and n is small, with n < 30 as the usual rule of thumb. Once n gets large the t distribution converges to the normal anyway.

Does the population need to be normal? With large n the CLT keeps the sample mean approximately normal no matter how the population itself is distributed. With small n, though, the population's normality starts to matter.

Confidence interval vs prediction interval? A CI estimates the mean. A prediction interval estimates a single future observation, and it comes out wider because it has to account for individual variability on top of that.

Related Tools

📊

Wilson Interval (Proportion)

Computes the Wilson confidence interval for a proportion, the modern alternative to the Wald interval (the p̂ ± z·SE formula you learn first). The Wald interval fails badly with small samples or proportions near 0 or 1 — it can even produce negative bounds. Wilson's fixes this by inverting the score test, which keeps it inside [0, 1] with much better coverage. It's the recommended interval for proportions. Enter the successes, the total and the confidence level.

📈

CI for Correlation (Fisher z Transform)

Computes the confidence interval for a correlation coefficient using the Fisher z transformation. The sampling distribution of r is skewed, especially near −1 or +1, which prevents applying the usual symmetric margin. Fisher solved this with a transformation that makes the distribution approximately normal; you build the interval on that scale and then map back to r. The result is an asymmetric interval, narrower on the side near the extremes. Enter the coefficient r and the sample size.

⚖️

CI for the Difference of Two Proportions

Computes the confidence interval for the difference between two proportions, using the Wald method. It's the companion to the two-proportion z-test and the basis of any A/B test reading: beyond saying whether the difference is significant, it shows the plausible range for its real size. If the interval doesn't contain zero, there's a significant difference. For example: variant A converted 45 of 100 and B, 30 of 100 — what's the interval for the difference? Enter the successes and the total of each group and the confidence level.

🎯

Agresti-Coull Interval (Proportion)

Computes the Agresti-Coull confidence interval for a proportion, an elegant middle ground between the simplicity of the Wald interval and the accuracy of Wilson's. The almost folkloric idea is to add a few fictitious successes and failures to the sample before applying the Wald formula — which fixes Wald's terrible behavior in small samples or extreme proportions. For 95% confidence, it's like adding two successes and two failures. Enter the successes, the total and the confidence level.

📐

CI for the Ratio of Two Variances

Computes the confidence interval for the ratio between the variances of two normal populations, σ₁²/σ₂². Instead of just testing whether the variances differ, it gives a plausible range for how many times one is larger than the other. If the interval contains the number 1, there's no evidence the spreads are different. The calculation uses the F distribution, and because it's asymmetric, the bounds come from F quantiles with the degrees of freedom swapped. Enter the two samples and the confidence level.

📈

Exact CI for a Poisson Mean

Computes the exact confidence interval for the mean of a Poisson distribution, from an observed event count. It's the right tool for count data: number of defects per batch, accidents per month, particles detected per interval. The calculation uses the exact relationship between the Poisson and the chi-square distribution (Garwood's method), giving reliable bounds even when very few events were observed. Enter the number of events and the confidence level.

The results provided by this tool are for general informational and educational purposes only and do not constitute professional, financial, medical, legal, tax or accounting advice. Always confirm important decisions with a qualified professional and official sources.