We looked at housing list price data from real-estate brokerageMovoto.com and real-estate marketplace Zillow.com. The diagram below shows the number of square feet of housing that you can buy for $1 million, based on the median price per square foot in each city:

Andy Kiersz/Business Insider, data from Movoto and Zillow

With a median list price of $666 per square foot, San Francisco’s real-estate boom limits a million dollars to buying about 1,500 square feet. On the other end of the spectrum, the median list price in beleaguered Detroit is just $12 per square foot—55 times cheaper than in San Francisco.

Considering all five boroughs, the median price per square foot in New York City is $424. Looking just at Manhattan, however, that price jumps to an astronomical $1,538 per square foot, leading to $1 million buying just 650 square feet.