The power of a study is typically calculated before the study is conducted, during the study design phase. It is influenced by several factors, including the sample size, the effect size, the significance level (alpha), and the variability in the data. The formula for power calculation often involves complex statistical methods, and researchers commonly use software tools to perform these calculations.