We can use the formula for sample size in estimating a population mean:
$n = \left(\frac{z \cdot s}{E}\right)^2$
where $n$ is the sample size, $z$ is the z-score corresponding to the desired confidence level, $s$ is the standard deviation, and $E$ is the margin
Show more…