NumberPath
Preparing offline
Tests & experimentsFree calculatorPreparing offline

Confidence Interval and Margin of Error Calculator

Compute one or two group confidence intervals for means or proportions with a stated method.

Your inputs

Two-sided intervals only. No paired, clustered, weighted or finite-population correction. Group differences are group 1 minus group 2.

Your calculation

Result

—

Enter your inputs to see the result and working.

No account. Inputs stay in your browser.

How to use this calculator

Choose a parameter and enter summary statistics or counts.

Formula and method

Mean: estimate ± critical × standard error. Proportion: Wilson score. Difference of proportions: Newcombe combination of Wilson limits.

Worked example

Mean 50, SD 10, n=100: 95% t interval approximately [48.016, 51.984].

Assumptions and supported scope

Two-sided intervals only. No paired, clustered, weighted or finite-population correction. Group differences are group 1 minus group 2.

Method references

Method and worked example checked against the calculator implementation. About our methods · Report a correction

Keep exploring

Try another calculator with clear working.

Sample Size and Power Calculator →

Saved calculations

Stored in this browser on this device. Browser data removal also removes these saves.

Keep NumberPath handy

Open this website in a browser that supports installation. If an install option is available, use its address-bar or browser-menu control.

iPhone or iPad: open the Share menu and choose Add to Home Screen. Installation options depend on your browser.

When the header says Offline ready, the app shell has been cached. Calculators you open online are saved for offline use until the next app update. Saved inputs remain in this browser. Installation varies by browser; it has not been tested on every device.