The usual methods still work for any population size. If the population size is very large the finite population correction factor is often used. See Schaefer et all ELEMENTARY SURVEY SAMPLING OR CONSULT a program like G*power. Best wishes David Booth
Apart from that there are some programs like g-power or you go through google with online sample size calculators. you just out some values there in order to get exact sample size.