By CBS3 Staff

PHILADELPHIA (CBS) – A new study ranks Philadelphia the third worst United States city to drive in. WalletHub released 2019’s Best and Worst Cities to Drive In on Tuesday morning.

WalletHub compared 100 of the most populated United States cities using four key categories, including cost of ownership and maintenance, traffic and infrastructure, safety, and access to vehicles and maintenance.

READ MORE: Large Flames Shoot Through Roof Of Princeton University's Theological Seminary Library

The survey found the drivers spend an average of 310 hours on the road per year – just about 13 days.

READ MORE: Pennsylvania Lottery Generates $1.3 Billion In Sales To Benefit Seniors

Philadelphia ranked the third worst city to drive in, the fifth in highest accident likelihood and tied with New York City for highest parking rates.

Oakland, California and Detroit, Michigan were the top two worst cities to drive in.

MORE NEWS: EXCLUSIVE: Casey Johnston's Parents Speaks Out After Missing Daughter's Body Found

The top three best states to drive in were Raleigh, North Carolina, Orlando, Florida, and Lincoln, Nebraska.