Your research aim must be clearify before deciding on the sample size. There are several alternative for sample size determination. The computation may be based on univariate, bivariate or multivariate sample size formulation. We require further information, for better diagnosis.
If the mean is following a normal distribution let the mean be mean+/-se where se is the standard error. se = za*SD/√n where SD=standard deviation. n is given at least as n > (za*SD)*(za*SD)/se where za is the value of z that cuts off at least an area of a/2. Therefore the minimum sample size n is (za*SD)*(za*SD)/se.
The approach to determining sample size depends on the specific research aim(s) of your study, the number and nature of the variables involved, the data collection/sampling method, and the intended method(s) for analysis.
If you could elaborate a bit on these points, I'd wager that you'd get responses that were better focused to your needs.
A well-known sample size calculation formula is Andrew Fisher’s Formula, which can be applied through:
deciding the population size,
specifying the confidence interval,
defining the confidence level,
determining the standard deviation, and
converting the confidence level into a Z-Score.
For further reading, you might check out the insights in the following relevant books.
Dattalo, P. (2008). Determining sample size. Oxford University Press. https://doi.org/10.1093/acprof:oso/9780195315493.001.0001
Desu, M. M. (2012). Sample size methodology. https://www.google.com/books/edition/Sample_Size_Methodology/WEzGzKNy9yoC?hl=en, Elsevier.https://www.elsevier.com/books/sample-size-methodology/desu/978-0-12-212165-4
Odeh, R. E., & Fox, M. (2019). Sample size choice: Charts for experiments with linear models. CRC Press. https://www.taylorfrancis.com/books/e/9781003066798
Verma, J. P., & Verma, P. (2020). Determining sample size and power in research studies: A manual for researchers. Springer Singapore. https://doi.org/10.1007/978-981-15-5204-5