Confidence Interval Calculator (Mean)

Build a confidence interval around an average using the t distribution. Enter the sample mean, standard deviation and size.

Learn how to calculate it yourself

Enter your values

Results update as you type.

95%
How to enter your data

Enter one summary value in each box: Sample mean, Sample standard deviation, and Sample size, then choose the confidence level. Keep the mean and standard deviation in the same units. Use the mean and standard-deviation calculators first if you only have a list of raw observations.

Confidence interval for the mean

46.27 – 53.73
Margin of error
±3.73
Standard error
1.826
t critical
2.045
Calculated in your browser. No data is sent to us.

Calculate a confidence interval for a population mean from the sample mean, sample standard deviation, sample size, and confidence level. This tool takes summary statistics rather than raw observations. The interval describes sampling uncertainty under the model assumptions, not the range containing most individual observations.

Calculate it yourself

Example: a sample of 9 values has mean 10 and sample standard deviation 2. Find its 95% confidence interval.

Follow this worked example, then repeat the steps with your own numbers.

  1. Calculate the standard error

    SE = s ÷ √n = 2 ÷ √9 = 2 ÷ 3 ≈ 0.6667

    s is the sample standard deviation and n is the sample size.

  2. Look up the t multiplier

    df = n − 1 = 8; t critical ≈ 2.306

    Use a t table with 8 degrees of freedom and 0.025 in the upper tail for a two-sided 95% interval.

  3. Calculate the margin

    Margin = t × SE ≈ 2.306 × (2 ÷ 3) ≈ 1.5373
  4. Build the interval

    10 − 1.5373 ≈ 8.46; 10 + 1.5373 ≈ 11.54

    Report the interval as 8.46 to 11.54 in the same units as your measurements.

For a small sample, this interval assumes approximately normal data without strong outliers. The t multiplier comes from a table or numerical calculation, not ordinary arithmetic.

Check your answer in the calculator

Use your PaperSurvey.io results

Read the three inputs from Descriptive Statistics, then calculate the confidence interval here.

PaperSurvey Descriptive Statistics showing mean 7.04, sample standard deviation 1.09 and 291 responses.
View full-size screenshot
Example from PaperSurvey.ioThe widget provides the mean, sample standard deviation and response count needed for a mean interval.

Where it is used

  • Teachers: A teacher enters every mark from a class test to see the average score and the range the class's true ability likely falls within.
  • Small-business owners: A cafe owner types in the satisfaction ratings customers gave this week to find the average and check how dependable that average really is.
  • HR staff: An HR officer enters staff survey scores about workplace happiness so they can report the average with a sensible margin around it.

When to use the t distribution

When you estimate a confidence interval for an average from a sample, the t distribution is the correct choice, especially for smaller samples. It is slightly wider than the normal distribution to account for the extra uncertainty of estimating the standard deviation from the data.

When should you use it?

Use it whenever you have a list of numbers that all measure the same thing, such as test marks, ratings out of ten, ages, or waiting times in minutes. It works best when you only asked or measured some of the people, but you want to say something sensible about the whole group. The calculator gives you the average of your numbers plus a trustworthy range around it. If your data is words or yes and no answers rather than numbers, this is not the right tool.

What does the result mean?

The calculator shows two things: the average of the numbers you entered, and a range below and above it. At the usual 95% setting, you can be about 95 percent confident that the true average for the whole group sits somewhere inside that range. A narrow range means your average is precise and dependable. A wide range means there is more uncertainty, usually because you have few responses or your numbers are very spread out. There is no single perfect width, but narrower is generally better.

Mistakes to avoid

Do not type words, categories, or yes and no answers, because this tool only works with number measurements. Do not mix different things in one list, such as ages and prices together, since the average would be meaningless. Avoid drawing strong conclusions from only a handful of numbers, as the range will be very wide and unreliable. Remember to include the decimal point where it matters, and remove any currency symbols or units. Finally, do not confuse the confidence range with the highest and lowest values in your data.

How to use this calculator

  1. Enter your sample mean in Sample mean.
  2. Enter the sample standard deviation and the number of observations in their respective boxes.
  3. Choose the confidence level, such as 95%.
  4. Read the confidence interval around the mean. It describes sampling uncertainty for the population mean under the model assumptions, rather than the spread of individual scores.

Worked example

For the ten ratings 8, 7, 9, 6, 8, 7, 9, 8, 7, 9, the mean is 7.8 and the sample standard deviation is about 1.033. Enter those values and a sample size of 10. The 95% t interval is approximately 7.06 to 8.54, under the model assumptions.

Frequently asked questions

When can I use the normal (z) interval instead?

With large samples the t and z intervals are almost identical. The t interval is always a safe choice.

What do I type in the box?

Enter the sample mean, sample standard deviation, and sample size in their separate boxes, then choose the confidence level. Do not paste individual measurements into these numeric fields.

Where do I get these numbers?

Calculate the mean and sample standard deviation from your individual measurements and count the valid observations. Use those summary values here, keeping the mean and standard deviation on the same measurement scale.

What confidence level should I choose?

Stick with 95% unless you have a reason not to, as it is the standard choice used in most reports. A higher level like 99% makes the range wider, and a lower level like 90% makes it narrower.

What does 95% confidence actually mean?

It means you can be about 95 percent sure the true average for the whole group falls inside the range shown. It does not mean that 95 percent of your individual answers fall inside that range.

Why is my range so wide?

Usually because you entered only a few numbers, or your numbers are very spread out. Collecting more responses is the best way to make the range narrower and the average more dependable.

Embed this calculator on your site

Free to use. Paste this snippet wherever you want the calculator to appear.


Get Started with PaperSurvey.io Software

Get Started

Start your 14-day free trial now, no credit card required.