Most Americans say it doesn't matter to them if a woman becomes president in their lifetime, according to a new Pew Research Center survey.

The poll of 1,835 adults found that 57 percent don't care whether a female is elected to the Oval Office, while just 38 percent said they would like to see a female president.

Democrats were much more hopeful that they would see a woman president than their Republican counterparts.

Sixty-nine percent of Democratic women said they hope the U.S. will elect a female president in their lifetime, while 46 percent of Democratic men said the same.

Amongst Republicans, only 20 percent of women and 16 percent of men hope for a female president, the survey found.

Pew notes that, especially for Republicans, views on a woman president could have more to do with the prospect of Hillary Clinton running for office than about a woman president in general, which could influence the way respondents answered the question.

Either way, women's leadership is increasing in both the government and private sector.

"The pipeline for female leaders seems to be widening. Women have made significant gains in educational attainment in recent decades, better positioning themselves not only for career success but also for leadership positions," Pew said. "Since the 1990s, women have outnumbered men in both college enrollment and college completion rates, reversing a trend that lasted through the 1960s and '70s. And women today are more likely than men to continue their education after college."

A record number of women - 104 - currently serve in the 114th House and Senate, making up about 19 percent of Congress, and double the number from 20 years ago. However, progress has been slower in the public sector. Only 26 women, or about 5 percent, are now in CEO positions at Fortune 500 companies, but in 1995, there were none, Pew noted. In the Fortune 500 corporate boardroom, as of 2013, about one-in-six board members were women - or 17 percent compared to 10 percent in 1995.