There are different methods and formulas to calculate a sample size, depending on the type and purpose of your research. However, a common approach is to use a confidence level and a margin of error. A confidence level is the probability that your sample results are close to the true population results, usually expressed as a percentage. A margin of error is the maximum difference that you expect between your sample results and the population results, usually expressed as a percentage point. For example, if you have a 95% confidence level and a 5% margin of error, it means that you are 95% sure that your sample results are within 5 percentage points of the true population results.
To calculate a sample size using these parameters, you can use online calculators or formulas that take into account the population size, the expected proportion of responses, and the design effect (a factor that adjusts the sample size for complex sampling methods). For example, using this online calculator, if you have a population size of 10,000 backpackers, a 95% confidence level, a 5% margin of error, a 50% expected proportion of responses, and a 1 design effect, you would need a sample size of 370 backpackers.