Here's a national ranking Miami won't be boasting about: The city is the second least affordable place to own a home.

Residents would have to pay most of their income — 86% compared with the 30% benchmark long used to denote affordability — to cover a mortgage and property taxes, a new report shows.

This doesn't mean all homeowners shell out this much. Instead, this applies to those with median income in a median-priced home.