UseCalcPro
Home
MathFinanceHealthConstructionAutoPetsGardenCraftsFood & BrewingTools
Blog
  1. Home
  2. Math

Confidence Interval Calculator

Compute confidence intervals, margin of error, and z-critical values

95% Confidence Interval

70.71 – 79.29

MOE

±4.2941

z*

1.960

95% Confidence Interval

Lower Bound

70.71

Upper Bound

79.29

Key Statistics

Margin of Error

±4.2941

Z-Critical (z*)

1.9600

Standard Error

2.1909

Interpretation

We are 95% confident the true population mean lies between 70.71 and 79.29.

Formula

CI = x̅ ± z* × (σ / √n)
SE = σ / √n = 2.1909
MOE = z* × SE = 1.9600 × 2.1909 = 4.2941

Z-Critical Values

90% confidencez* = 1.645
95% confidencez* = 1.960
99% confidencez* = 2.576

Formulas Used

Confidence Interval for a Mean

CI = x̅ ± z* × (σ / √n)

Calculates the confidence interval for a population mean when the population standard deviation is known (or approximated). The margin of error is z* times the standard error.

Where:

x̅= Sample mean (center of the interval)
z*= Z-critical value for the chosen confidence level
σ= Population (or sample) standard deviation
n= Sample size

Confidence Interval for a Proportion

CI = p̂ ± z* × √(p̂(1 - p̂) / n)

Calculates the confidence interval for a population proportion using the normal approximation. Valid when np̂ and n(1-p̂) are both at least 10.

Where:

p̂= Sample proportion (observed success rate)
z*= Z-critical value for the chosen confidence level
n= Sample size

Standard Error of the Mean

SE = σ / √n

The standard error measures the typical distance between a sample mean and the true population mean. It decreases as sample size increases.

Where:

σ= Population standard deviation
n= Sample size

Example Calculations

1Mean CI: Exam Scores (95%)

Inputs

Sample Mean75
Standard Deviation12
Sample Size30
Confidence Level95%

Result

Confidence Interval70.71 – 79.29
Margin of Error±4.29
Standard Error2.19

With a sample mean of 75, SD of 12, and n=30, the 95% CI is 70.71 to 79.29. We are 95% confident the true population mean exam score falls in this range.

2Proportion CI: Survey Result (95%)

Inputs

Sample Proportion60%
Sample Size200
Confidence Level95%

Result

Confidence Interval53.21% – 66.79%
Margin of Error±6.79%

In a survey of 200 people where 60% said yes, the 95% CI for the true proportion is 53.21% to 66.79%. The margin of error is ±6.79 percentage points.

3Mean CI: Temperature Readings (99%)

Inputs

Sample Mean98.2
Standard Deviation0.7
Sample Size50
Confidence Level99%

Result

Confidence Interval97.95 – 98.45
Margin of Error±0.25
Standard Error0.099

With a mean of 98.2°F, SD of 0.7, and 50 readings, the 99% CI is 97.95 to 98.45. The high confidence level widens the interval slightly compared to a 95% CI.

Frequently Asked Questions

Q

What is a confidence interval?

A confidence interval is a range of values that is likely to contain the true population parameter. For example, a 95% confidence interval means that if you repeated the sampling process 100 times, approximately 95 of those intervals would contain the true population value.

  • 95% CI: 95 out of 100 repeated samples would contain the true value
  • Wider intervals = more confidence but less precision
  • Narrower intervals = less confidence but more precision
  • Increasing sample size narrows the interval without losing confidence
  • The margin of error is half the width of the confidence interval
Confidence LevelZ-CriticalWidth
90%1.645Narrowest
95%1.960Moderate
99%2.576Widest
Q

How do you calculate a confidence interval for a mean?

For a population mean with known standard deviation, use CI = x̅ ± z*(σ/√n). The sample mean x̅ is the center, z* is the critical value for your confidence level, σ is the standard deviation, and n is the sample size.

  • Step 1: Find the sample mean (x̅)
  • Step 2: Calculate standard error: SE = σ / √n
  • Step 3: Multiply SE by z-critical: MOE = z* × SE
  • Step 4: CI = x̅ ± MOE
  • Example: x̅=75, σ=12, n=30, 95% → 75 ± 1.96×(12/√30) = 75 ± 4.29
StepFormulaExample Value
Standard Errorσ/√n12/√30 = 2.19
Margin of Errorz* × SE1.96 × 2.19 = 4.29
Lower Boundx̅ - MOE75 - 4.29 = 70.71
Upper Boundx̅ + MOE75 + 4.29 = 79.29
Q

What is the difference between 90%, 95%, and 99% confidence levels?

Higher confidence levels produce wider intervals. A 90% CI is the narrowest and least certain, a 95% CI is the standard in most research, and a 99% CI is the widest and most conservative. The trade-off is always between precision (narrow interval) and confidence (high certainty).

  • 90% CI uses z* = 1.645, ideal for quick estimates
  • 95% CI uses z* = 1.960, the default standard in research
  • 99% CI uses z* = 2.576, used when errors are costly
  • A 99% CI is about 32% wider than a 95% CI
  • Doubling sample size reduces width by about 29% (√2 factor)
Confidencez*MOE (if SE=1)
90%1.645±1.645
95%1.960±1.960
99%2.576±2.576
Q

How is a confidence interval for a proportion different?

For proportions, the standard error formula changes to SE = √(p̂(1-p̂)/n), where p̂ is the sample proportion. The interval is then p̂ ± z*×SE. Proportions are bounded between 0 and 1, so the interval is clamped to this range.

  • SE for proportions: √(p̂(1-p̂)/n)
  • Maximum SE occurs at p̂ = 0.5 (most uncertainty)
  • Example: p̂=0.60, n=200 → SE = √(0.6×0.4/200) = 0.0346
  • 95% CI: 0.60 ± 1.96×0.0346 = 0.532 to 0.668
  • Rule of thumb: need np̂ ≥ 10 and n(1-p̂) ≥ 10 for validity
ParameterMean CIProportion CI
Centerx̅ (sample mean)p̂ (sample proportion)
Standard Errorσ/√n√(p̂(1-p̂)/n)
Typical useContinuous dataBinary/yes-no data
Q

How does sample size affect the confidence interval?

Increasing the sample size narrows the confidence interval because the standard error decreases proportionally to 1/√n. To cut the margin of error in half, you need to quadruple the sample size. This is why large studies produce more precise estimates.

  • SE is proportional to 1/√n — larger n = smaller SE
  • Doubling n reduces MOE by ~29% (factor of 1/√2)
  • Quadrupling n cuts MOE in half
  • n=30 to n=120: MOE drops by 50%
  • Diminishing returns: going from n=1000 to n=4000 only halves MOE again
Sample SizeSE FactorRelative MOE
n = 251/√25 = 0.200100%
n = 1001/√100 = 0.10050%
n = 4001/√400 = 0.05025%
n = 16001/√1600 = 0.02512.5%

Understanding Confidence Intervals in Statistics

A confidence interval provides a range of plausible values for an unknown population parameter based on sample data. Unlike a single point estimate, a confidence interval acknowledges the inherent uncertainty in sampling and quantifies how precise the estimate is likely to be.

The width of a confidence interval depends on three factors: the confidence level (higher = wider), the variability in the data (more spread = wider), and the sample size (larger = narrower). The 95% confidence level is the most commonly used standard in scientific research.

Our confidence interval calculator supports both mean and proportion intervals. Simply enter your sample statistics and desired confidence level to get the interval bounds, margin of error, z-critical value, and a clear interpretation of the results.

Related Calculators

Z-Score Calculator

Calculate z-scores, percentiles, and probabilities

Statistics Calculator

Find mean, median, mode, range, and standard deviation

Correlation Calculator

Find Pearson r, R-squared, and regression equations

Probability Calculator

Calculate event probabilities and combinations

Standard Deviation Calculator

Calculate population and sample standard deviation, variance, mean, and coefficient of variation. Shows step-by-step deviations table for any data set.

Scientific Notation Calculator

Convert any number to and from scientific notation. Enter a value to see the coefficient, exponent, and standard form — includes step-by-step breakdown.

Related Resources

Z-Score Calculator

Calculate z-scores and percentiles

Statistics Calculator

Find mean, median, mode, and standard deviation

Probability Calculator

Calculate event probabilities

Percentage Calculator

Calculate percentages and ratios

Last Updated: Mar 9, 2026

This calculator is provided for informational and educational purposes only. Results are estimates and should not be considered professional financial, medical, legal, or other advice. Always consult a qualified professional before making important decisions. UseCalcPro is not responsible for any actions taken based on calculator results.

UseCalcPro
FinanceHealthMath

© 2026 UseCalcPro