I have a survey with a binary answer (yes/no) on a population of about 10,000 people. I'd like to calculate the required sample size for a x% margin of error (e.g., 5) at 95% confidence level. Usually, most people in this population answer yes (80%+).
I found this calculator but I don't understand how we can calculate the CI and SE without inputting the population size: http://sample-size.net/confidence-interval-proportion/