Here's how much money you need to make to buy a home in San Francisco or San Jose

MOST EXPENSIVE SF REAL ESTATE SALES IN 2015 The city's most-expensive sale so far, on the corner of Divisadero and Broadway, went for $31 million in May 2015. MOST EXPENSIVE SF REAL ESTATE SALES IN 2015 The city's most-expensive sale so far, on the corner of Divisadero and Broadway, went for $31 million in May 2015. Photo: MLS, © Vince Valdes 2014 (415) 381-2811 Photo: MLS, © Vince Valdes 2014 (415) 381-2811 Image 1 of / 45 Caption Close Here's how much money you need to make to buy a home in San Francisco or San Jose 1 / 45 Back to Gallery

Ready for some more real estate-triggered depression?

A comprehensive survey by Finder.com of 78 cities in the United States found that the two cities wherein you need to earn the most money to buy a home are — you guessed it — right here in the Bay Area.

The study, which didn't even include Oakland, took into account "home value, non-housing expenditure, non-mortgage debt, interest rate, monthly payments and required salary" to calculate the affordability of American cities. Unsurprisingly, San Francisco and San Jose are the least affordable on the list.

To buy a home in San Francisco, the site found, a salary of $180,600 is required to buy an average home costing around $1,119,500. San Jose was up next, with a necessary salary of $129,864 to buy a standard house for roughly $805,000.

Sacramento fell at number 19 on the list, with a salary of $57,155 needed to buy a home at $253,100.

The cheapest on the list? Jackson, Mississippi, where residents can make $43,265 a year to buy an house costing just $62,800.

See the full results of the study here.