Suppose you live in San Francisco and want to buy a home. You’ll need to come up with a downpayment, say 20 percent of the selling price, and have a high enough income to pay the mortgage. You’ll also need some money to pay for everything else, like food, water, electricity, and transportation.
That first part—the downpayment—will be tough. If you make the median wage and want to purchase a median-priced home, you’ll need 37 years to accumulate the cash, assuming you’re able to set aside five percent of your salary. By the way, a Seattleite would need just over 20 years to amass the downpayment. (Source)