Buyers looking to snap up a home in the San Francisco metro area will need to pull in a $181,349 annual salary, a new report from mortgage tracker HSH said this week.

On top of that, they’d then pay $4,231 a month in home-related taxes, interest and other costs like a mortgage loan’s principal.

HSH looked at how much it costs to buy a home in the nation’s 50 largest metropolitan areas and looked at mortgage data for S.F. metro region, which includes San Francisco, Alameda, Contra Costa, Marin and San Mateo counties.

It found that the amount needed to buy a home locally shoots up even further if a buyer decides to put less money down at the time of purchase than the standard 20 percent down on a 30-year-fixed mortgage with a 4.21 percent. In that case, the annual required salary spikes to $215,598 to afford a home in the S.F. metro area.

To put those figures in perspective, the national median home price is $255,600 — which only requires an annual salary of $56,160. You can read HSH’s full study here.

“Prices are rising quickly for two reasons: Plenty of demand and limited supply. During the quarter, the average number of months of available inventory of existing homes at the running sales rate was just 4.2; optimal levels are reckoned at around six months,” HSH says in its report. “Helping to drive demand are mortgage rates that have not only remained lower than expected this year, but actually declined measurably in the second quarter.”