Confidence Interval Calculator

Estimate an interval around a sample mean at a chosen confidence level. Enter your own values below to see confidence interval and check the method behind it.

All calculators

Your inputs

Change the example values to match your situation.

Your result

Let’s work it out.

Fill in your inputs and select Calculate.
Your result and breakdown will appear here.

How this calculator works

Normal (z) confidence interval = mean ± z × known population standard deviation ÷ √n.

Before you use the result

  • This is a z interval, not a Student’s t interval for an unknown population standard deviation.

What is Confidence Interval Calculator?

Confidence Interval Calculator helps you estimate an interval around a sample mean at a chosen confidence level.

The main result is confidence interval, with a breakdown of margin of error. The formula, example and assumptions below explain how to interpret it.

How to use Confidence Interval Calculator

Use the example to get familiar with the form, then enter your own figures. Any rates in the example are illustrative. Check the field labels and units before calculating.

  1. Gather sample mean, known population standard deviation, sample size and confidence level. Use values from the same situation or reporting period.
  2. Replace the example sample mean with your own value, then complete the other fields. Check the displayed units and each selected option.
  3. Select Calculate and read confidence interval with its result breakdown. Change one input and calculate again to compare a second scenario. Reset restores the original example.
  • Enter sample mean, at least -1000000000000. Decimals are accepted.
  • Enter known population standard deviation, at least 0.000001. Decimals are accepted.
  • Enter sample size, at least 2. Use a whole number.
  • Choose confidence level from 90%, 95% and 99%.

Confidence Interval Calculator: a worked example

With the inputs below, the result is 48.0400 to 51.9600 (confidence interval). Follow the example, then replace these illustrative values with your own.

Example inputs and output
Input or outputExample value
Sample mean50
Known population standard deviation10
Sample size100
Confidence level95%
Confidence interval48.0400 to 51.9600
Margin of error1.959964

Understanding the Confidence Interval result

Read confidence interval alongside margin of error. These describe different parts of the same calculation.

Displayed results use a readable number of decimal places. When checking a result by hand, keep extra precision until the last step. To compare scenarios, change one input at a time and keep the others fixed.

  • Example Margin of error: 1.959964

Confidence Interval Calculator: assumptions and common mistakes

A useful estimate starts with the right inputs. Check the following assumptions and limits before applying the result to your situation.

  • This is a z interval, not a Student’s t interval for an unknown population standard deviation.
  • Check the base value, sample definition and chosen operation. Display rounding should come after the calculation.

For wider guidance, visit NIST statistical handbook. The formula and scope of this specific tool are stated on this page.

Confidence Interval Calculator FAQs

What does Confidence Interval Calculator calculate?

Confidence Interval Calculator helps you estimate an interval around a sample mean at a chosen confidence level. Its main output is confidence interval.

What inputs do I need for Confidence Interval Calculator?

You need sample mean, known population standard deviation, sample size and confidence level. Use the field labels and units to match your figures to the formula.

Which formula does Confidence Interval Calculator use?

Normal (z) confidence interval = mean ± z × known population standard deviation ÷ √n.

What is a worked example for Confidence Interval Calculator?

Example inputs: Sample mean: 50; Known population standard deviation: 10; Sample size: 100; Confidence level: 95%. The result is 48.0400 to 51.9600 (confidence interval).

How should I enter sample mean?

Enter sample mean, at least -1000000000000. Decimals are accepted.

How do I choose confidence level?

Choose confidence level from 90%, 95% and 99%. The example uses 95%; replace it if your circumstances differ.

How should I read confidence interval?

Read confidence interval alongside margin of error. These describe different parts of the same calculation.

Why might my Confidence Interval Calculator result differ from my records?

This is a z interval, not a Student’s t interval for an unknown population standard deviation. Differences in entered values, units or rounding can also change the comparison.

Can I compare two scenarios in Confidence Interval Calculator?

Yes. Note your first confidence interval, change sample mean or another input, and select Calculate again. Editing a field clears the old result so it is not mistaken for a new calculation.

Is Confidence Interval Calculator free, and where are my inputs calculated?

This calculator is free to use without signing in. Its formula runs in your browser; calculator inputs are not sent to a calculation API. The inputs reset to the example values when you reset the form or start a fresh page.