More retail workers than law-enforcement workers were killed in homicides on the job each year between 2012 and 2017, according to data from the Bureau of Labor Statistics. The latest year for which this data is available is 2017.

Ninety-four retail employees were killed in homicides while at work in 2017, compared with 85 law-enforcement officers, firefighters, and others in similar positions during the same period.

The number of homicides in retail is so high in part because so many people work in the industry — many more than are employed as police officers or security guards.

The figure represents a major problem for retailers, especially as the industry additionally saw 55,480 nonfatal worker injuries in 2017.

Visit Business Insider's homepage for more stories.

More retail workers than police officers were killed in homicides on the job for six years in a row.

In 2017, 94 people working in sales and similar jobs were killed at work in homicides, according to the Bureau of Labor Statistics data. Forty-six retail-sales supervisors, 31 cashiers, and 14 salespeople were among those killed.

For comparison, 85 people in protective-service jobs — law-enforcement officers, firefighters, and related careers — were killed in homicides the same year. Thirty-seven police officers and 30 security guards were among those killed in homicides.

Homicides, most of them attributed to intentional shootings, made up roughly 9% of fatal workplace injuries in the US in 2017.

Part of the reason the total number of retail workers murdered is comparable to that of more stereotypically dangerous jobs is because many more people work in the retail industry than as police officers or security guards. When comparing the proportional number of employees who died by homicide at work, protective-service workers were about five times more likely to die by homicide.

The fatal-injury rate for law-enforcement officers and firefighters in 2017 was 7.7 — in other words, for every 100,000 full-time employees working in this sector, 7.7 died on the job because of homicide or other fatal injuries. Out of 100,000 retail workers, 1.6 died because of fatal injuries on the job in 2017.

Read more: What experts say that Walmart and other retailers need to do to protect shoppers and workers in the aftermath of deadly shootings that killed 24 people

The threat of violence at work

A man at a makeshift memorial near the scene of the mass shooting in El Paso, Texas. Associated Press

While the average police officer may be more likely to be murdered at work than the average cashier, violence against retail workers has been a real concern for years.

In 2016, 121 people working in sales were killed in homicides at work. In 2015, 96 people were killed, and in 2014, 107 people were killed. Every year from 2012 to 2017, more retail workers than police officers and firefighters were murdered on the job. The latest year for which this data is available is 2017.

Retail workers are actually more likely than people working in protective services to have nonfatal injuries that force them to take time off work.

There were roughly 55,480 nonfatal injuries on the job linked to days off work among retail workers in 2017, or 382 injuries for every 100,000 workers. And 9,540 law-enforcement officers and firefighters were injured at work the same year — 280 injuries for every 100,000 workers.

The dangers faced by retail workers have been highlighted after two shootings in Walmart stores that killed 24 people in El Paso, Texas, and Southaven, Mississippi. Two store workers were killed in the Southaven shooting, which was carried out by another Walmart employee.

"It would be hard to find any establishment that hosts the public this week not thinking about what else should be done," the hospitality-industry consultant Bjorn Hanson told Business Insider.