calqulio.
◎ English · Global

Sample size — Normal Margin for a Proportion Calculator

Normal Margin for a Proportion: Calculate sample size from Margin of error, Critical multiplier, Planning success proportion. Check the formula, input units and worked result on this page.

Enter your values

pp
Formula symbol: error. Required unit: pp. Must be greater than zero. Allowed range: 0.000001–100.
Formula symbol: z. Enter a numeric value. Must be greater than zero. Allowed range: 0.000001–100.
%
Formula symbol: p. Enter the percentage as a number: for 15%, enter 15. Must be greater than zero. Allowed range: 0.000001–99.999999.

Use a decimal point, without thousands separators.

You supply the critical multiplier. The normal approximation can be poor with few expected successes or failures; this is not a Wilson or exact interval. Required n is rounded up.
Example result
Sample size
100

The initial result uses the example values. Enter your own values and calculate again.

Edit inputs

How it works

A planning proportion and sample size give a normal-approximation margin in percentage points. This form solves for sample size; enter the known quantities in Margin of error, Critical multiplier, Planning success proportion.

Inputs and units
Sample size — Normal Margin for a Proportion Calculator · Inputs and units
InputExample valueWhat to enter
Margin of error10 ppFormula symbol: error. Required unit: pp. Must be greater than zero. Allowed range: 0.000001–100.
Critical multiplier2Formula symbol: z. Enter a numeric value. Must be greater than zero. Allowed range: 0.000001–100.
Planning success proportion50 %Formula symbol: p. Enter the percentage as a number: for 15%, enter 15. Must be greater than zero. Allowed range: 0.000001–99.999999.
n = max(0, ceil((((z ^ 2) * p * (100 - p)) / (error ^ 2))))

Worked example

Show example inputs and results

This example is generated by the same calculation engine using the starting values in the form. Your own inputs produce your own result.

Margin of error
10 pp
Critical multiplier
2
Planning success proportion
50 %

Complete example results

Sample size
100

Reading the result

The result solves for sample size from the entered quantities. Check the result unit and the formula conditions before using it.

Questions and answers

Can I use the example values for my own calculation?

The example values illustrate the calculation. Replace every input with your own information, especially dates, rates and the selected operation.

When can I use the sample size result?

You supply the critical multiplier. The normal approximation can be poor with few expected successes or failures; this is not a Wilson or exact interval. Required n is rounded up.

Why are some results rounded?

Results display up to 8 decimal places. Calculations use the unrounded values; very small values use scientific notation. JavaScript floating-point arithmetic can introduce tiny rounding differences.

Are my inputs sent to a server?

The calculator processes inputs in your browser. Its code does not send your values to a server.

Method sources: itl.nist.gov

Methods & accuracy

What would you like to calculate?

Browse all calculators

Graphing calculator ↗