There are two formulas are used to calculate the standard deviation. Both are slightly different from each other.
Where,
xi = Value in the data distribution,
∑ = Sum of each,
μ = Population mean,
x̄ = Sample mean,
N = Total number of observations.