Despite laws restricting talking and texting while driving in many states, a shocking new survey out Monday found nearly 90 percent of drivers said they used their smartphones while on the road.

On average, drivers spent 3.5 minutes per hour on their phones, the Zendrive study discovered, a frightening finding because a 2-second distraction increases the likelihood of a crash by 20 times.

The study also looked at National Safety Council statistics to show that ​after a steady 40-year decline, ​the number of traffic deaths surpassed 40,000 in 2016 the first time in 10 years, an increase of 6 percent from 2015.

Zendrive, a driver analytic​s​ company, ​examined​​ the habits of 3​.1​ million drivers​ who took 570 million trips over 5.6 billion miles from Dec​ember 2016 to February ​for the survey.​​

Using the data from the three-month study, Zendrive found that Vermont, which bans hand-held cellphone use while driving, leads the states with distracted drivers. Mississippi, which doesn’t have a ban, came in second place, followed by Louisiana, Alabama, Arkansas and Oklahoma. Those four have no bans in place.

Of the 10 states with the least distracted drivers, six of them banned cellphone use while driving, including the top two — Oregon and Washington.

​New York, which has a ban, placed 23rd, and ​New Jersey, which also prohibits cellphone use, came in 45th place.

A spokeswoman for the Governors Highway Safety Association said distracted driving is a “challenging behavior to break” because much of it is linked to simple daily activities like remembering to call somebody while driving to the store.

And despite advertising campaigns to alert people to the dangers and state laws prohibiting the use of cell phones, the meaning doesn’t always register.

“Drivers are getting the message, but not taking it to heart,” said Kara Macek, the GHSA spokeswoman. “They know they shouldn’t be doing it and are well aware of the laws.”

According to the GHSA, 14 states ban all drivers from using hand-held devices while driving. Forty-six states ban texting while driving.

​The National Highway Traffic Safety Administration estimated that 3,500 people were killed in crashes involving distracted drivers in 2015.