Basically, the comp off is calculated based on the number of extra hours an employee works, which is then converted into leave days or hours depending on company policy.