The calculation for the standard deviation for ungrouped data is done with the formula:  (Σ1n | xi – x | )/n Here, xi is the ith observation of the group. x is representing the central, whether it is the mean mode or median. n is the total number of observations present in the group.