Hey battler.

What attribute are you trying to measure? Is it a proportion? Normal mean?

Basically depending on what this is you will need to then pick a significance value to construct a confidence interval and then solve for n so that the interval is smaller in length than the threshold.