BERKELEY (CBS SF) – For people looking to buy a home for the first time, a survey reaffirms that the Bay Area may be one of the worst places to do so.

According to a new study by the personal finance website WalletHub, when accounting for a combination of cost of living, property crime rates and 25 other metrics, Berkeley was the worst city for new homeowners among 300 cities ranging in size.

READ MORE: UPDATE: Suspect Arrested After 94-Year-Old Asian Woman Stabbed In San Francisco's Tenderloin Neighborhood

Oakland was far down the list too at No. 297. Among other big cities, Oakland came in at 63rd of 64, only ahead of Detroit.

ALSO READ: Santa Cruz Housing Affordability For Teachers Called Worst In Nation

Plenty of other Bay Area cities rounded out the bottom of the list. Santa Rosa came in at 218, Antioch at 222, San Jose at 258 and San Francisco at 284.

READ MORE: Heat Wave: Triple-Digit Temps, Full Reopening Brings Crowds To Concord Water Park

Other findings included that San Francisco, Sunnyvale and Santa Clara were among six cities tied for the highest cost of living in the country. The five cities with the lowest ratio of median home value to median annual rent can also be found in the Bay Area: Berkeley, Fremont, San Mateo, Santa Clara and Sunnyvale.

ALSO READ: $61/Hour Wage Needed To Rent 2-Bedroom In San Francisco, $54/Hour In San Jose

Besides cost of living and property crime rates, other factors included real estate tax rates, median home price appreciation, weather and job market.

The full study can be found at

MORE NEWS: 'No Sideshow Zone;' Antioch Unveils Prevention, Enforcement Action Against Planned 'Rideout' Event

© Copyright 2019 CBS Broadcasting Inc. and Bay City News Service. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.