Confidence Interval Calculator

Math

Works out the confidence interval, standard error and margin of error for a sample mean or proportion.

Mean: x̄ ± t × s ÷ √n
Proportion: p ± z × √(p × (1 - p) ÷ n)

Samples under 31 use the t-distribution; larger ones use the normal distribution (z).

A survey of 400 people with 52% saying yes: standard error √(0.52 × 0.48 ÷ 400) ≈ 0.025. The 95% confidence interval is 47.1% - 56.9%.

A 95% confidence interval means that if you repeated the method many times, 95% of the intervals would contain the true value. It doesn't mean there's a 95% chance the true value is in this one.

Results are for information only. For tax, salary, loan or health decisions, check official sources or ask a professional.

All Math tools