DETROIT - When it comes to getting stuck in traffic on the way to and from work, Los Angeles leads the world.

Drivers in the car-crazy California metropolis spent 104 hours each driving in congestion during peak travel periods last year. That topped second-place Moscow at 91 hours and third-place New York at 89, according to a traffic scorecard compiled by Inrix, a transportation analytics firm.

The U.S. had half the cities on Inrix's list of the top 10 most congested areas in the world and was the most congested developed country on the planet, Inrix found. U.S. drivers averaged 42 hours per year in traffic during peak times, the study found. San Francisco was the fourth-most congested city, while Bogota, Colombia, was fifth, Sao Paulo ranked sixth and London, Atlanta, Paris and Miami rounded out the top 10.

The Inrix scorecard says Canada's top congested big cities were Montreal in 23rd place with 52 hours spent in congestion, 38th-ranked Toronto at 45 hours, and Vancouver at 30 hours.

Being stuck in traffic cost the average U.S. driver $1,400 last year and nearly $300 billion for all drivers nationwide, Inrix said.

Study authors said a stable U.S. economy, continued urbanization of big cities, employment growth and low gas prices all contributed to increased traffic and congestion worldwide in 2016, lowering the quality of life.