Unfortunately this isn't correct. Not even very close.My rule of thumb is "Average distance from the average".
That is to say, your data set will have an average. There may or may not be any values that are equal to that average, so essentially you take the difference between that value and the average, and average those differences. That's your standard deviation, in very non pure mathematical terms.