Question: how to calculate deviation between two values?
Answer: Work out the Mean (the simple average of the numbers) Then for each number: subtract the Mean and square the result. Then work out the mean of those squared differences. Take the square root of that and we are done!