The fomula for standard deviation is as below:

standard deviation formula

And the sample standard deviation is calculated as:

standard deviation formula

n is the number of samples

x is the mean value of the samples

xi is the value of the ith sample