The ideal sample size essentially depends on whether or not the researcher knows the size of the universe or population.
If the size of the universe is known, random sampling, also known as probability sampling must be adopted. Random sampling has many methods such as simple random sampling, systematic random sampling, stratified random sampling, and cluster sampling.
However, if the researcher is not aware of the size of the universe, non-probability sampling such as convenience sampling, snowball sampling, and judgemental sampling can be adopted.