How many participants for a survey when you don’t know the total population?

I have been using a sample size calculator to know how many participants I should have to have a sample and results that are representative for my total population. But what if we don't know the total population? how do you calculate your sample?

Thanks in advance,