Population standard deviation is used when you have data for every member of the group. Sample standard deviation is used when the data represents a random subset of a larger population. In the sample formula, we divide by (n-1) instead of N to correct for the fact that we are working with an estimate.