Following is how the retention rate is calculated in our dashboard:

Following is the formula used for turnover rate:


You can check the numbers by unhiding the calc sheet.