By using the skill gap analysis we propose a new quantitative method to plan training courses. By comparing the differences between the competences needed to cover a position and the ones possessed, it is possible to find the cases that need to be trained. According to different situations we propose some algorithms to plan courses and to find the subjects that require to be trained.