The mortgage lender that released the study, HSH.com, concluded that the salary needed to buy in New York was $86,215, based on the median home price of $395,400. If you're thinking about Manhattan and Brooklyn, that obviously sounds preposterously low—because it is. HSH used metro data, which means New York City stats are lumped in with areas outside the five boroughs like Westchester, Long Island, and even parts of New Jersey and Pennsylvania.

Though, as some commenters pointed out, that price can be had in other boroughs:

So, let's break it down by borough to see what the real median prices are.

(Image credit: Google Maps / Trulia)

Manhattan

Obviously, Manhattan real estate is expensive. The median price according to Trulia is $1,215,904, with a price per square foot of $1,453. Of course, the median price varies by neighborhood and even by block, with the most expensive being a $14.5 million park adjacent one on the UES.

(Image credit: Google Maps / Trulia)

Brooklyn

Across the East River, the median is $755,500 and $697 per square foot. There are some pricey blocks north of $1.5 million in Brooklyn Heights, Carroll Gardens, Park Slope, Ditmas Park, and Bay Ridge.

(Image credit: Google Maps / Trulia)

Queens

The median in Queens is $570,000 with a price per square foot of $437. A handful of blocks in Astoria and Forest Hills tip the scale at over $1.5 million.

(Image credit: Google Maps / Trulia)

Bronx

In the Bronx, we finally crack the median for New York Metro at $380,000 and $260 per square foot. But the borough isn't immune to $1.5 million blocks—Riverdale isn't cheap.