Taking a quick trip to the campus gym could make a difference in the classroom, as data from Purdue University shows that students who workout at its campus gym get better grades than students not hitting the gym.

The data, compiled from gym visits during the spring semester of 2010, also suggests that the frequency of workouts correlate with academic performance, as students who visit Purdue gyms at least 16 times per month hold a GPA of 3.10 or higher.

But that doesn’t stop those with less frequent gym vists from showing their stuff in the classroom. Those using the gym at least seven times each month have an average GPA of 3.06.

“Students who worked out at Purdue’s gym at least once a week were more likely to earn a higher grade point average than students who visited less or not at all,” said Tricia Zelaya, assistant director for student development and assessment at Purdue’s Division of Recreational Sports, in a press release. “Going to the gym is so much more than going to the gym. Students who are motivated by fitness and wellness tend to have better time management skills, and research shows that being fit is good for the mind. It all ties together.”

More recent data is unavailable due to renovations at Purdue’s France A. Córdova Recreational Sports Center. According to Zelaya, however, recent preliminary data is matching these findings.

Can’t make it to the gym? HackCollege’s Caitlin Self has a list of five fast at-home workouts.