When to use Confidence Interval Calculator
Estimate an interval for a mean or a population proportion.
Summarize data or explore a probability model before interpreting the result in its original context.
How to use this tool
- Choose the calculation mode that matches your task and the information you have.
- Enter the inputs listed below. Follow the field format, and select units beside each supported quantity.
- Results update automatically. Review the main result and its breakdown. Use Clear to enter a new scenario.
- Sample mean
- Population standard deviation
- Sample size
- Confidence level
- Successes
How it works
Mean with known population SD
For independent observations and a known population standard deviation, use mean ± z × SD ÷ √n. The method assumes a normal sampling distribution.
Proportion (Wilson score)
Use the Wilson score interval with p̂ = successes ÷ n and the selected normal critical value. It gives bounds within 0% and 100%.
Worked example
The examples below use fixed sample inputs. They explain the calculation and do not change when you edit the tool above.
Mean with known population SD
- Sample mean
- 50
- Population standard deviation
- 10
- Sample size
- 100
- Confidence level
- 95%
- Result
- Confidence interval
- Lower
- 48.0400360155
- Upper
- 51.9599639845
- Margin of error
- 1.95996398454
- Confidence level
- 95%
Proportion (Wilson score)
- Successes
- 60
- Sample size
- 100
- Confidence level
- 95%
- Result
- Confidence interval
- Lower
- 50.2002586791%
- Upper
- 69.0598713568%
- Observed proportion
- 60%
- Confidence level
- 95%
Understanding the result and its limits
Check sample versus population conventions and model assumptions. A numerical association or interval alone does not establish causation.
Frequently asked questions
Why do statistical assumptions matter?
The formula and interpretation depend on the data source and statistical model. Match the method to the problem and its assumptions.
Methodology and references
Use the formulas and assumptions above when interpreting the example. Any practical estimate depends on the accuracy of the inputs.
- Further reading: OpenStax: introductory statistics