How do you find the sum of squared deviations in a set of numbers?

It would be useful to know what the deviations were from.