T-value for a 95% confidence level

Simply replacing σ by the sample standard deviation, s, in the formula for a 95% confidence interval reduces the confidence level. Increasing 1.96 to a larger constant compensates.

Effect of increasing k

Finding the t-value