how to calculate how much off a number is from another formula