Sample Size for Proportions: Fresh Take

  • Find the required sample size for a desired margin of error and population’s confidence interval.

Calculate the sample size [latex]n[/latex]

Recall the margin of error formula: [latex]ME = z^{*} \cdot \sqrt{\frac{\hat{p}(1-\hat{p})}{n}}[/latex], to determine the minimum sample size needed to produce a given margin of error simply by solving for [latex]n[/latex].

[latex]ME = z^{*} \cdot \sqrt{\frac{\hat{p}(1-\hat{p})}{n}}[/latex]

[latex]\frac{ME}{z^{*}} = \sqrt{\frac{\hat{p}(1-\hat{p})}{n}}[/latex]

[latex](\frac{ME}{z^{*}})^2 = \frac{\hat{p}(1-\hat{p})}{n}[/latex]

[latex]n \cdot (\frac{ME}{z^{*}})^2 = \hat{p}(1-\hat{p})[/latex]

[latex]n = \hat{p}(1-\hat{p})(\frac{z^{*}}{ME})^{2}[/latex]

sample size formula

The rearranged formula to find the sample size needed for proportion:

[latex]n = \hat{p}(1-\hat{p})(\frac{z^{*}}{ME})^{2}[/latex]

Suppose a cell phone company wants to determine the current percentage of customers aged 50 and above who use text messaging. How many customers aged 50+ should the company survey in order to be 90% confident that the estimated (sample) proportion is within three percentage points of the true population proportion of customers aged 50+ who use text messaging on their cell phones? Answer: 752 cell phone customers

Feel free to check the solution using our statistical tool below.

[Trouble viewing? Click to open in a new tab.]

Let’s try finding the necessary sample size on another example.