Most people living in major cities would agree that their jobs don't pay them enough to meet the rising cost of urban homes (or incentivize them to show up). Estately, a national real estate search site, has created a handy infographic that contrasts the average salaries of popular careers with which U.S. cities those types of workers can afford to live in.

The real estate website used Glassdoor to find the average annual salaries of teachers, astronauts, firefighters, doctors, restaurant servers and computer programmers in Los Angeles, Seattle, San Francisco, Chicago, St. Louis, Detroit, Philadelphia, and Atlanta. They then analyzed the past six months of home sales (including the costs of monthly mortgage payments, down payment, property taxes, homeowner’s insurance, etc.) in each city to determine what fraction of homes each type of worker could afford. Most of the results are pretty abysmal.

Sources: Estately