This doesn't take into account median salaries. It's possible that the median salary in SF is $200k and everything is OK (it isn't $200k though). While it doesn't really affect the results of this article, it's important to always consider that like-for-like comparisons are being made.
Like I said, the numbers don't change much but if you're curious, here are the results:
San Francisco-Oakland-Fremont metro area 8.84
San Diego-Carlsbad-San Marcos metro area 7.52
Los Angeles metro area 6.98
New York metro area 5.87
Miami (FL) metro area 5.25
Seattle-Tacoma metro area 5.11
Boston metro area 5.10
Riverside-San Bernardino-Ontario metro area 4.71
Washington (DC) metro area 4.10
Phoenix-Mesa-Glendale metro area 3.57
Baltimore metro area 3.52
Philadelphia metro area 3.46
Houston metro area 3.17
Tampa-St. Petersburg-Clearwater metro area 3.06
Chicago metro area 3.05
Dallas-Fort Worth metro area 2.99
Minneapolis-St. Paul metro area 2.95
Atlanta metro area 2.48
St. Louis metro area 2.41
Detroit metro area 1.29
Interesting numbers (I live in San Diego-Carlsbad-San Marco metro). I make 3x+ the median income of my hometown in Maine, but here I only rent a single bedroom in a larger house. I'd love to own....but I've known for a while that my options are either move or make more.
Would you happen to have a source for the numbers? Thanks!
I pulled the data from Wolfram Alpha (I searched for "median home prices [and median household income] of top 25 metro areas in the US"; I couldn't figure out the correct syntax to get it to compute the numbers for me).
Like I said, the numbers don't change much but if you're curious, here are the results: