With the median price of a home in the U.S. at $300,000, you can can achieve homeownership and the idealized middle-class lifestyle in most parts of the country making a salary just under or above six figures.
In San Francisco's land of $2 million fixer-uppers, the income needed to reach this status is obviously more. But how much more?
S.F.-based finance expert Sam Dogen pinned that number at $300,000, after surveying dozens of readers on his Financial Samurai blog and asking about their incomes and expenses living in the notoriously high-priced coastal cities.
With their feedback, Dogen broke down the budget of a couple with one to two children in San Francisco, Seattle or New York. He found $300,000 is the income necessary to put something away for retirement, save for your child's education, own a three-bedroom home, take three weeks of vacation a year and retire by a reasonable age.
"It's not an extravagant lifestyle," Dogen says. "It's a middle-class lifestyle if you consider a middle-class person should be able to afford a modest home, have at least one car, have a kid or two. There are no private jets in this budget."

Financial Samurai personal finance blogger Sam Dogen breaks down a budget for a family of four with a household income of $300,000 living in a coastal city such as San Francisco or New York.
Financial Samurai/CourtesyDogen has put together a detailed post where you'll find analysis and explanation on each expense, but here are a few points to note:
—The $29,400-a-year childcare expense takes into consideration a
babysitting rate of about $20 an hour, the standard charge in a city
such as San Francisco. Preschool easily costs $18,000 to $20,000 a
year in metro areas.
—The mortgage is based on a $1.5 million, 1,750-square-foot,
three-bedroom, two-bathroom home on a 2,500-square-foot lot.
—The car expenses are based on a single car that accommodates a
family.
—Entertainment expenses include everything from Netflix to tickets
to an occasional ball game to date night, which easily costs $200 in
San Francisco when you consider expense for dinner and babysitting.
Dogen adds that at $300,000, a family is still living paycheck-to-paycheck and not saving outside their 401K and 529 plans.