When the population standard deviation is known, the formula for a confidence interval for a population mean is:
Where n is the sample size and z is the corresponding z-value from the standard normal distribution for the selected confidence level. The value of z for a 95% confidence interval is z=1.96. The rest of the values are