Say we have tossed a coin $n$ times and have counted $s$ times of heads (success). So our estimated success probability for this binomial model is $p=s/n$.
Now we are interested to compute the confidence interval for this obtained proportion $p$. This interval (using the normal approximation) is given by:
$$I=p\pm z \sqrt{\frac{p(1-p)}{n}} $$
Question is, how can I compute the prefactor $z$ that is multiplied by the standard deviation? It is sometimes referred to as, a quantile of a standard normal distribution. It would be greatly appreciated if someone could showcase how $z$ can be computed here.