St. Paul has been ranked as one of the best cities in the country for tech jobs for women.
SmartAsset ranked cities using several factors when looking at STEM (science, technology, engineer and maths) opportunities for women in America – and St. Paul came in joint-6th place.
Cities were ranked based on the gender pay gap in tech, income after housing costs, tech jobs filled by women and four-year employment growth.
Why did St. Paul rank so high?
St. Paul is a great place for women in tech in large part because opportunities are growing faster than any other city.
In the four years between 2013 and 2016, tech jobs grew in St. Paul by 41 percent.
The city is home to some major tech and financial employers, including Ecolab, Securian Financial Group and Lawson Software.
SmartAsset found that women accounted for 26.4 percent of tech jobs in St. Paul – above the national average of 25.9 percent – while earnings after housing costs is just a shade under $50,000.
The pay gap between men and women isn't one of the best in the top 15 cities, but at 89 percent, is still ahead of the 84 percent average across tech jobs in the U.S.
This means that for every $1 a man makes in median earnings, a woman makes $0.89.
CNBC has broken down the pay gap in STEM jobs by race in this report from last year, showing that white men get higher salaries than any other gender or race.
The best city for tech in the U.S. is Washington D.C., where women comprise 38.5 percent of tech positions, while Kansas City is the only city in the top 15 where women get paid more on average than men.