Confidence Interval for a Proportion Calculator

Compute Wald and Wilson score confidence intervals for a sample proportion

Frequently Asked Questions

How is a confidence interval for a proportion built?

From the sample proportion p̂ = x/n. The Wald interval is p̂ ± z·√(p̂(1−p̂)/n); the Wilson score interval is more accurate, especially for small n or extreme p̂.

How is this different from the Confidence Interval Calculator?

That tool is for a population mean (using z or t). This is for a proportion/percentage, which uses a different standard error and formula.

Why prefer the Wilson interval?

The Wald interval performs poorly when p̂ is near 0 or 1 or n is small (it can even fall outside 0–1). Wilson stays valid and is recommended by statisticians.

What sample size do I need?

Margin of error shrinks with √n. Halving the margin needs about four times the sample. Use a sample-size calculator to plan before collecting data.

Important Disclaimer: Estimates for informational purposes only.

This calculator provides estimates for informational purposes only. Results are based on assumptions and may not reflect actual outcomes. Consult qualified professionals in relevant fields before making important decisions based on these results.