A new study reveals Californians are some of the most aggressive drivers in the nation.

On Tuesday, GasBuddy revealed its list of cities with the most aggressive drivers in the country.

The company compiled data from the top 30 metropolitan areas in the U.S. and found four California cities ranked in the top 10. GasBuddy looked at the frequency of aggressive driving using data from the Drives feature in the GasBuddy app.

Los Angeles ranked number one in the nation for the most aggressive drivers.

Sacramento ranked third, San Francisco ranked fifth, and San Diego ranked sixth.

Philadelphia, Atlanta, Orlando, Detroit, Austin, and Las Vegas also made it in the top 10.

Drivers in Los Angeles, Philadelphia, and Sacramento were 21 percent more aggressive than the average driver in the U.S.

GasBuddy says aggressive driving wastes gas and can lower gas mileage by as much as 40 percent, which costs drivers an extra $477 per year in fuel consumption.

“Frustration while driving in densely populated cities with high levels of congestion leads motorists to drive more aggressively and with more urgency. Interestingly, these are areas that typically see some of the highest gas prices in their respective states,” said Patrick DeHaan, head of petroleum analysis at GasBuddy. “With drivers in Los Angeles, Philadelphia, Sacramento and Atlanta being 20 percent more aggressive than the average driver in America, it’s particularly important for commuters and rideshare drivers in these areas to work on shedding their lead foot and relax more to keep money from flying out the window each time they hit the road.”

The study found the most frequent aggressive driving habit was hard braking. It also found aggressive driving was more common on Fridays.