This paper proposes a clustering algorithm basedon the students’ learning styles inventory proposed by Felderand Soloman. This algorithm allows us to identify studentswho have similar learning styles, providing a useful tool tohelp teachers in the conformation of groups for collaborativelearning activities.