Try the software Gpower. It is available online and is free.
Generally it depends on whether you wish to just obtain minimal statistical power for the analysis or wish to actually represent a target population (assuming you managed to have a representative sample).