Divide the number of people in the sample population who have the characteristic being tested by the total number of people in the sample to get the sample proportion.
Subtract the sample proportion from one, and multiply the result by the sample proportion. Divide the result by the total number of people in the population.
Take the square root of the number obtained from Step 2.
Multiply the result by 1.96, if you want a 95 percent confidence interval of the true population proportion. Multiply the result by 1.645 for a 90 percent confidence interval, or by 2.575 for a 99 percent confidence interval.
Subtract the result of Step 4 from the sample population proportion, then add it to the sample proportion. Record these two numbers as the limits of the confidence interval for the true population proportion for example, (0.234, 0.329). This means the true population proportion should lie somewhere between these two numbers.