Confidence Interval Calculator

Mean (known σ) / Proportion (Wald); 90%, 95%, 99%, 99.9%

Lower limit
—
Upper limit
—
Margin of error
—
Point estimate
—
Standard error
—
Critical z
—

Two-sided normal intervals. Mean mode assumes independent observations, a normally distributed sample mean and known population σ; it is not a Student t interval. Proportion mode uses the Wald approximation, which can have poor coverage for small samples or proportions near 0/1; endpoints are not clipped to [0,1]. Confidence is long-run coverage, not a probability assigned to this fixed interval. Presets use precise normal critical values; custom z can reproduce rounded source values. Inputs: |mean|,σ≤10¹², integer n=1–10¹², p=0–1, custom z>0 and ≤37; reduced decimal denominator ≤10²⁴. Use a decimal point or comma; inactive fields are ignored. Results are approximate to 12 significant digits.

How the calculation works

x̄ ± zσ/√n; p̂ ± z√(p̂(1−p̂)/n)

Two-sided normal intervals. Mean mode assumes independent observations, a normally distributed sample mean and known population σ; it is not a Student t interval. Proportion mode uses the Wald approximation, which can have poor coverage for small samples or proportions near 0/1; endpoints are not clipped to [0,1]. Confidence is long-run coverage, not a probability assigned to this fixed interval. Presets use precise normal critical values; custom z can reproduce rounded source values. Inputs: |mean|,σ≤10¹², integer n=1–10¹², p=0–1, custom z>0 and ≤37; reduced decimal denominator ≤10²⁴. Use a decimal point or comma; inactive fields are ignored. Results are approximate to 12 significant digits.

Frequently asked questions

How is the result calculated?

x̄ ± zσ/√n; p̂ ± z√(p̂(1−p̂)/n)

What assumptions apply?

Two-sided normal intervals. Mean mode assumes independent observations, a normally distributed sample mean and known population σ; it is not a Student t interval. Proportion mode uses the Wald approximation, which can have poor coverage for small samples or proportions near 0/1; endpoints are not clipped to [0,1]. Confidence is long-run coverage, not a probability assigned to this fixed interval. Presets use precise normal critical values; custom z can reproduce rounded source values. Inputs: |mean|,σ≤10¹², integer n=1–10¹², p=0–1, custom z>0 and ≤37; reduced decimal denominator ≤10²⁴. Use a decimal point or comma; inactive fields are ignored. Results are approximate to 12 significant digits.

How precise are the displayed results?

Two-sided normal intervals. Mean mode assumes independent observations, a normally distributed sample mean and known population σ; it is not a Student t interval. Proportion mode uses the Wald approximation, which can have poor coverage for small samples or proportions near 0/1; endpoints are not clipped to [0,1]. Confidence is long-run coverage, not a probability assigned to this fixed interval. Presets use precise normal critical values; custom z can reproduce rounded source values. Inputs: |mean|,σ≤10¹², integer n=1–10¹², p=0–1, custom z>0 and ≤37; reduced decimal denominator ≤10²⁴. Use a decimal point or comma; inactive fields are ignored. Results are approximate to 12 significant digits.

How we verified this calculator

The calculator is checked against 6 reference cases computed independently of its code. Last passed: .

# Inputs Expected result
1
Interval type = Mean (known σ)
Confidence level = 90%
Lower limit: 48.355146373
Upper limit: 51.644853627
Margin of error: 1.64485362695
Point estimate: 50
2
Interval type = Mean (known σ)
Confidence level = 90%
Sample size = 1
Sample mean = -50
Known population standard deviation σ = 0
Lower limit: -50
Upper limit: -50
Margin of error: 0
Point estimate: -50
3
Interval type = Mean (known σ)
Confidence level = 95%
Lower limit: 48.0400360155
Upper limit: 51.9599639845
Margin of error: 1.95996398454
Point estimate: 50
4
Interval type = Mean (known σ)
Confidence level = 95%
Sample size = 1
Sample mean = -50
Known population standard deviation σ = 0
Lower limit: -50
Upper limit: -50
Margin of error: 0
Point estimate: -50
5
Interval type = Mean (known σ)
Confidence level = 99%
Lower limit: 47.4241706965
Upper limit: 52.5758293035
Margin of error: 2.57582930355
Point estimate: 50
6
Interval type = Mean (known σ)
Confidence level = 99%
Sample size = 1
Sample mean = -50
Known population standard deviation σ = 0
Lower limit: -50
Upper limit: -50
Margin of error: 0
Point estimate: -50

How we test our calculators →

Also try:

Back to category →