Women in the workforce have to clock in while struggling to cope with an uncomfortable truth: For the past 10 years, they’ve been paid an average of just 80 percent of what men make for the same work. According to the American Association of University Women, that financial inequality varies by state—the pay gap in New York, for instance, is 89 percent, while in Wyoming it's 64 percent.

The gap also differs by industry, and tech is lagging behind. To illustrate the point, SmartAsset recently released statistics highlighting the top 15 cities where women in the tech field can expect the greatest number of opportunities. The site looked at 59 of the largest cities in the U.S. with a strong tech presence and examined their respective gender pay discrepancy in relation to housing costs as well as the percentage of women who make up the workforce.

Washington, D.C., takes the first place spot thanks to its low wage gap (just 94.8 percent) and relatively high percentage of women workers. And in Kansas City and Indianapolis, women on average make more money than men in tech, but their final indexes are brought down by few growth opportunities. A Bay Area city doesn't crack the top five, with Fremont, California, ranking in sixth place (and having the widest pay gap).

For the full list, you can head to SmartAsset.