It made more sense with the original answer since he was asking because he wanted to determine his pokemon's hidden power strength. You wouldn't be able to calculate it from the damage formula anyway since part of the "modifier" variable generates a random number from .85 to 1. Since you don't know what it is, you cannot solve for it. The other person gave an IV calculator as you suggested, so it did answer the question.