hi

Do you know who to calculate the variance from sample?

You take every value and subtract from it the mean, then you square this number, and do this for all data.

that is,

The standard deviation is the square root of the variance, so:

The reason for dividing with (n-1) has to do with sample size, since n is small here, use (n-1), as written.