You should have elaborated on your investigation design so that others can provide you with sound insights. Anyway, different methods can be utilized to determine the most appropriate sample size (SS) for a research study in advance. Estimating a priori SS can be done manually or via computer software (e.g., G*Power), or online (e.g., sample-size.net). You could justify your sample size within various considerations, such as using a priori power analysis, focusing on accuracy, or measuring the entire population—if it is finite. You might refer to the following for enriching inputs.
Faul, F., Erdfelder, E., Lang, AG. et al. G*Power 3: A flexible statistical power analysis program for the social, behavioral, and biomedical sciences. Behavior Research Methods, 39, 175–191 (2007). https://doi.org/10.3758/BF03193146
Norouzian, R. (2020). Sample size planning in quantitative L2 research. Studies in Second Language Acquisition, 42(4), 849-870. https://doi.org/10.1017/s0272263120000017
Senyak, J., & Kohn, M. (2021, August 8). Sample size calculators for designing clinical research. Sample Size Calculators. https://sample-size.net/
Serdar, C. C., Cihan, M., Yucel, D., & Serdar, M. A. (2021). Sample size, power, and effect size revisited: Simplified and practical approaches in pre-clinical, clinical, and laboratory studies. Biochem Med (Zagreb), 31(1), 010502. https://doi.org/10.11613/BM.2021.010502
Shieh, G. (2020). Power analysis and sample size planning in ANCOVA designs. Psychometrika, 85(1), 101-120. https://doi.org/10.1007/s11336-019-09692-3
There are a number of formulas in the literature for calculating the optimal sample size. If you are applying a stratification process, then use the optimal stratified sample size.