## Sample size to estimate mean

The formula to estimate the sample size required to estimate the mean is

$$ n =\bigg(\frac{z\sigma}{E}\bigg)^2 $$

where,

$z$ is the $Z_{\alpha/2}$ (critical value of $Z$),

$\sigma$ is the population standard deviation,

$E$ is the margin of error.