A confidence interval is not a probability statement about the parameter — it's a statement about the procedure that produced it. A confidence interval is one that, in repeated sampling, contains the true parameter of the time.
For a sample mean from a Normal (or large via CLT), the standard interval is
A common and important misinterpretation: a CI does not mean "the parameter is in this interval with probability ." That's the Bayesian credible interval, which requires a prior. The frequentist interval makes a statement about the *procedure*, not the realized interval. Once you've computed it, the parameter is either in it or not — there's no probability at the realized level.