Employee salary survey: mean ₹85,000, SD ₹15,000, n = 100
SE = 15000/√100 = 1500. 95% CI: 85,000 ± 1.96 × 1500 = 85,000 ± 2,940. Interval: ₹82,060 to ₹87,940. We're 95% confident the true average employee salary lies in this range.
Compute the confidence interval for a population mean - a range of values that's likely to contain the true mean, given your sample. Used in surveys, A/B tests and scientific experiments to express uncertainty in results.
95% confidence interval
69.1372 to 74.8628
x̄ ± 2.8628 (margin of error)
Lower bound
69.1372
Upper bound
74.8628
Margin (z·SE)
2.8628
Standard error (SE)
1.4606
σ / √n
Z-score used
1.96
Parte del contenido aún se muestra en inglés.
Confidence intervals are the standard way statisticians express uncertainty in estimates. Every time you read a poll result ('Modi has 48% approval, margin of error ±3%') or a clinical study ('the drug reduces blood pressure by 12 mmHg, 95% CI [8, 16]'), you're seeing confidence intervals at work. They convert a point estimate (a single number) into a range of plausible values for the true population parameter. This calculator computes confidence intervals for the population mean given a sample mean, sample standard deviation, and sample size - the most common type of CI used in surveys, A/B tests, and scientific experiments.
For Indian Class 11-12 statistics and B.Tech/B.Com/B.Sc statistics courses, confidence intervals are part of the inferential statistics syllabus. JEE/NEET don't typically test CI directly, but CAT and other management entrance tests do include CI questions. In professional contexts, market researchers, A/B testers in product teams, manufacturing quality engineers, clinical researchers, and economists all use CIs daily. The 95% confidence level is the de facto standard - it balances precision and certainty for most applications.
Enter your sample mean, standard deviation and sample size.
Pick the confidence level (95% is standard).
Read the interval (lower bound, upper bound) and margin of error.
The standard error (SE) of the mean is σ/√n. Multiply by the z-score for your chosen confidence to get the margin of error. The interval is mean ± margin.
CI = x̄ ± z × (σ / √n) Margin = z × (σ / √n)
Confidence interval formula: CI = x̄ ± z × (σ / √n), where x̄ is sample mean, σ is population SD (or sample SD for large samples), n is sample size, z is the critical value for the confidence level (1.96 for 95%, 2.58 for 99%, 1.645 for 90%). The (σ / √n) term is the standard error of the mean - it measures how much the sample mean varies across different samples drawn from the same population.
Interpretation (critical, often misunderstood): a 95% CI does NOT mean 'there's a 95% probability the true mean is in this interval.' It means 'if we repeated this sampling procedure many times, 95% of the resulting intervals would contain the true mean.' The true mean is a fixed (unknown) value; the interval varies with each sample. The 95% refers to the long-run frequency of intervals capturing the true value.
Sample size effect: margin of error shrinks with √n. To halve the margin, you need 4× the sample size. To quarter the margin, you need 16× the sample size. This square-root law is why polls of 1,000-2,000 voters give ±3% margins (sufficient for most political reporting), but polls of 10,000 give just ±1% - the marginal precision gain is rarely worth the 10× cost.
SE = 15000/√100 = 1500. 95% CI: 85,000 ± 1.96 × 1500 = 85,000 ± 2,940. Interval: ₹82,060 to ₹87,940. We're 95% confident the true average employee salary lies in this range.
SE = 0.008/√5000 = 0.000113. 95% CI: 0.042 ± 1.96 × 0.000113 = 0.042 ± 0.00022. Interval: 4.178% to 4.222%. Very tight due to large n. Compare with control's CI to test for significance.
Worst-case SD for proportion 0.5 × 0.5 / 1200 = 0.0144. 95% margin: 1.96 × 0.0144 = 0.0283 = 2.83%. Reported as '47% ± 3 percentage points at 95% confidence.' Standard for political polls.
If you repeated the sampling procedure many times, ~95% of the resulting intervals would contain the true population mean. It is NOT 'a 95% chance the true mean is in this interval'.
Z when you know population SD or have large sample (n ≥ 30). T when you have small sample with unknown population SD. This calculator uses Z; for small samples, the interval is slightly wider with t.
Increase sample size (margin shrinks with √n) or accept a lower confidence level (90% gives narrower margin than 95%).
More confident, but wider - less informative. There's a trade-off between precision (narrow) and confidence (wide). 95% is the standard sweet spot.
When data is heavily skewed, contains outliers or is very small. The CI assumes the sampling distribution of the mean is approximately normal - which holds for large samples (CLT).
Margin is half the interval width. CI = mean ± margin. Pollsters often report margin alone, e.g. ±3 percentage points at 95% confidence.
From simple percentages to scientific notation, statistics, geometry and big-number arithmetic - every common math problem you'd reach for a calculator for, runs in your browser with no installs. The fraction calculator preserves exact rationals, the big-number calculator uses BigInt for hundreds of digits without precision loss, and the scientific calculator's expression evaluator is a hand-written shunting-yard parser (no eval) that supports trig, log, factorial and parentheses.
If you're a student, double-check your work without paying for a graphing calculator. If you're a professional, use these tools as a sanity check on spreadsheet formulas. Every result is shown alongside its formula and inputs, so the math is always auditable.
The Confidence Interval Calculator is part of the Math suite on Online Calculator Tools, alongside 6 related calculators. All tools share the same UI patterns, the same privacy-first rendering (nothing is sent to a server), and the same commitment to showing the formula and assumptions behind every result.