Most people would think that if it's not good looks that make a man most attractive to women, then it's definitely a sense of humor.

But studies consistently show that altruism is a top quality women are drawn to when they are looking for a relationship.

And a new study in the British Journal of Psychology found that altruistic men may have more sex, too.

The researchers asked unmarried Canadian adults how much they did good deeds like giving money to charity or helping someone get their car out of the snow. They then asked the participants how often they had sex and how many partners they've had.

Men who reported more altruistic acts had more sex — and more partners. For those who were in relationships, good-hearted men were more likely to have had more sex in the last 30 days, too.

mangostock/Shutterstock

In the second experiment of the study, the researchers had undergraduate students say whether they would like to donate money that they might receive for participating to charity. Those who said that they would also tended to have more casual sex, more sex in relationships, and more lifetime sex partners overall.

Another study, published in January 2016 in the journal Evolutionary Psychology, presented 202 women with different men to choose from. The different combinations of choices were either attractive or not, and they either did a good deed or didn't.

The women chose the selfish, attractive men for a one-night stand. But for a long-term relationship, they chose the altruistic man whether he was attractive or not.

A slightly older study, published in The Journal of Social Psychology in 2013, really drives this home. That study found that women valued altruism above other traits as a measure of whether a potential mate would make a good parent. The women also said that altruism was important for short-term relationships, but significantly more women said that the trait mattered for the long term.

Yet another study, published in Social Psychological and Personality Science in July 2015, analyzed Germans' responses to a large annual survey.