If you're calculating rolling returns on an annual basis, then your first step is to calculate the returns for each year you want to capture in your calculation. Then, simply add those returns together and divide them by the number of years covered. For example, if you're calculating rolling returns for the past 10 years, then you would find the returns for each of those 10 years, add those figures together, and then divide that answer by 10.