AfoliOpen Afoli →

Margin of error

Enter your numbers — the results update instantly.

Margin of error3.1 %

Open the full calculator →

Formula

e = z·√(p(1−p)/n)

Worked example

Given: Confidence level = 95%; Sample size = 1,000; Proportion = 50 %

Result: Margin of error = 3.1 %

How it is calculated

1. Enter the values you know. 2. The calculator converts them to base units and applies the formula. 3. The result is shown in the unit you choose.

Frequently asked questions

How do I calculate it?

Formula: e = z·√(p(1−p)/n). Given: Confidence level = 95%; Sample size = 1,000; Proportion = 50 %. Result: Margin of error = 3.1 %.

Is the calculator free and private?

Yes. It is free, needs no sign-up and runs in your browser — the numbers you type stay on your device.

Related calculators

All calculators

Updated November 9, 2026