A confidence interval is a range of values computed from the sample that is designed to contain the population parameter in a stated share of repeated samples, such as 95%. Any single interval either contains the parameter or not; the 95% describes the long-run success rate of the method.
Formula
x̄ ± t(n−1) × s / √n