Confidence Interval Calculator

Calculate a mean or proportion interval, with raw sample entry, display precision and a stated margin of error.

On-device No sign-up Free to use

Calculate result controls

Showing an example. Edit to see your own.

?

Numbers separated by spaces, commas or line breaks. With Student t, the list supplies mean, sample SD (n - 1) and sample size, replacing those three fields. Confidence level still applies. Up to 10,000 numbers. Clear the list for another method.

More options
?

Display rounding does not change the calculation. Very small values use scientific notation.

Processed in your browser. Your inputs stay on this device.

Result

Showing an example.

Estimate a mean interval from 25 observations with sample mean 10 and sample standard deviation 2.

95% interval: 9.17444 to 10.8256. Margin of error 0.825559 around 10.

https://usefreetools.net/confidence-interval-calculator · 20 November 2026

Was this helpful?

How to use Confidence Interval Calculator

  1. Choose Student t for a mean with sample SD, z for a mean with known population SD, or Wilson score for a binary proportion.
  2. For a mean, enter mean, standard deviation and sample size. Under Student t you may instead supply a raw list; it replaces those three summary fields. Clear the list before choosing another method.
  3. For Wilson, enter the integer success count and total sample size. Mean and standard deviation are not used.
  4. Set confidence level and display precision. Review the estimate, interval center, margin and bounds alongside the method’s assumptions.

Example: Confidence Interval Calculator

Estimate a mean interval from 25 observations with sample mean 10 and sample standard deviation 2.

You add
Interval method: Mean: sample SD (Student t) Confidence level (%): 95 Sample mean: 10 Standard deviation: 2 Sample size n: 25 Success count: 12 Raw sample data (optional): (blank) Significant digits in displayed results: 6
You get
95% interval: 9.17444 to 10.8256. Margin of error 0.825559 around 10.

Options

Deviation source
Use Student t when the mean calculation uses a sample standard deviation. Select z only for a known population deviation under that method’s assumptions.
Wilson proportion
Use the observed success count and total sample count. They describe the entered sample rather than a forecast of future outcomes.

Supported inputs and limits

  • Confidence level is 50.0001% to 99.999%.
  • Summary sample size is at most 1,000,000;
  • Student t requires at least two observations.
  • The optional raw list supports Student t only and accepts up to 10,000 numbers or 200,000 characters.
  • Mean intervals assume independent observations and an appropriate population distribution or sample size.
More details

Wilson models independent binary trials.

There is no weighting, clustering or finite-population correction.

Confidence concerns the repeated-sampling method, not the probability that this fixed interval contains the parameter.

Calculations use finite floating-point arithmetic.

A constant raw sample gives a zero-width computed interval, which does not establish zero population uncertainty.

Display rounding uses 4, 6, 10 or 12 significant digits and does not change the calculation.

Where your input is processed

This tool does not upload your inputs. See the limits for anything saved on your device.

Confidence belongs to the repeated-sampling method

A 95% procedure is intended to cover the fixed parameter in about 95% of repeated samples under its assumptions. It does not assign a 95% probability to the parameter being inside this already computed interval. Nonrepresentative sampling and measurement bias are not repaired by a narrow interval.

Questions about Confidence Interval Calculator

When should I use the t method?

Use the estimated-deviation method when the population deviation is unknown and your sample provides its estimate, subject to the stated assumptions.

Does 95% confidence assign a probability to these fixed bounds?

No. It describes how the interval method performs over repeated suitable samples.

Why use Wilson bounds for proportions?

They remain within zero and one and account for the sample size, including all-success or no-success samples.

Page updated · Project managed by Tony Hines · Report a problem with Confidence Interval Calculator