How to calculate sample size for estimating the mean difference between two groups using the precision value?

Is it correct to calculate the sample size for the mean difference by using precision? How is the precision value described (in terms of percentage)?