here is a variable, y, with five observations: 42, 86, 6, 14, 22 the mean of y is 34. here is the formula for calculating the standard deviation: sd y