Calculation of these indexes relies on accurate data collection and analysis. For instance, the prevalence rate is calculated by dividing the number of existing cases by the total population and then multiplying by 100 to get a percentage. Similarly, the incidence rate is determined by dividing the number of new cases by the at-risk population during a certain time frame.