Question: how to calculate standard deviation from a sample?
Answer: Work out the mean.
Then for each number: subtract the Mean and square the result.
Then work out the mean of those squared differences. To work out the mean, add up all the values then divide by how many. But hang on ... ... 
Take the square root of that: