Confidence Interval Calculator
Find the confidence interval around a sample mean at 90%, 95%, or 99%.
Result
How it is calculated
The interval is built around the sample mean using the normal (z) approximation:
SE = s / √n, margin = z × SE, interval = x̄ ± margin
x̄ is the sample mean, s the sample standard deviation and n the number of observations (at least 1). The critical value z is fixed per confidence level, and the form offers five: 1.282 for 80 %, 1.440 for 85 %, 1.645 for 90 %, 1.960 for 95 % (the default) and 2.576 for 99 %. No other level, such as 97 %, can be chosen. The tool shows the margin, the lower and upper bounds and the range, with two decimals. The standard deviation cannot be negative.
Worked example
Mean 72, standard deviation 12, sample of 36, 95 % confidence.
- Standard error = 12 / √36 = 12 / 6 = 2
- Margin = 1.960 × 2 = 3.92
- Interval = 72 ± 3.92 = 68.08 – 75.92
At 99 % confidence (z = 2.576) the same data give a wider interval of 66.85 – 77.15.
Common mistakes
- Entering the standard error where the standard deviation belongs: the tool already divides by √n, so this shrinks the interval twice.
- Reading the 95 % interval as a 95 % chance that each individual value lies inside it: it is about the mean, not about single observations.
- Using the z value with a small sample (under about 30) and unknown population SD: a t-based interval would be wider than the one shown.
- Looking for a confidence level the form does not offer, such as 97 %: only 80 %, 85 %, 90 %, 95 % and 99 % can be selected, so pick the nearest one and say which you used.
About this calculator
This calculator finds the confidence interval for a sample mean using CI = x̄ ± z·(s/√n), where x̄ is the sample mean, s is the sample standard deviation, n is the sample size, and z is the critical value for the chosen confidence level (1.645 for 90%, 1.96 for 95%, 2.576 for 99%). The margin of error shrinks as the sample grows larger or the confidence level drops.
Researchers, market analysts, and statistics students use it to report how much uncertainty surrounds a sample estimate — for example, an average customer satisfaction score or a mean test result.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
Because the margin shrinks with the square root of n, quadrupling the sample only halves it: with a standard deviation of 10, a mean of 50 and 95 percent confidence, n = 25 gives plus or minus 3.92 and n = 100 gives 1.96. Keep in mind this tool uses fixed z values, so for very small samples a t-based interval would be wider. What sample sizes do you usually work with?