Using the Formula n=1/(ME)2 to Determine Sample Size When we want confidence and use the conservative estimate of , we can use the simple formula to roughly determine the sample size needed for a given margin of error . Use this formula to determine the sample size needed for a margin of error of 0.005 . Enter the exact answer.