Last weekend's massacre in Las Vegas is only the latest reminder of the persistent gun violence in the United States. And a new set of statistics on the rates of gun violence unrelated to conflict underscores just how outsize U.S. rates of gun deaths are compared with those in much of the rest of the world.

Take countries with the top indicators of socioeconomic success — income per person and average education level, for instance. The United States ranks ninth in the world among them, bested by the likes of Denmark, Norway, the Netherlands, Iceland, Canada and Finland.

Those countries all also enjoy low rates of gun violence, but the U.S. has the 31st highest rate in the world: 3.85 deaths due to gun violence per 100,000 people in 2016. That was eight times higher than the rate in Canada, which had .48 deaths per 100,000 people — and 27 times higher than the one in Denmark, which had .14 deaths per 100,000.

The numbers comes from a massive database maintained by the University of Washington's Institute for Health Metrics and Evaluation, which tracks lives lost in every country, in every year, by every possible cause of death. The figures for 2016 were released just last month. As in previous years, the data paint a fairly rosy picture for much of the world, with deaths due to gun violence rare even in many countries that are extremely poor — such as Bangladesh and Laos, which saw .16 deaths and .13 deaths respectively per 100,000 people.

Prosperous Asian countries such as Singapore and Japan boast the absolute lowest rates, though the United Kingdom and Germany are in almost as good shape.

"It is a little surprising that a country like ours should have this level of gun violence," says Ali Mokdad, a professor of global health and epidemiology at the IHME. "If you compare us to other well-off countries, we really stand out."

To be sure, there are quite a few countries where gun violence is a substantially larger problem than in the United States — particularly in Central America and the Caribbean. Mokdad says a major driver is the large presence of gangs and drug trafficking. "The gangs and drug traffickers fight amongst themselves to get more territory, and they fight the police," says Mokdad. And citizens who are not involved are often caught in the crossfire.

Mokdad said drug trafficking may also be a driving factor in two Asian countries that have unusually large rates of violent gun deaths for their region: the Philippines and Thailand.

With the casualties due to armed conflicts factored out, even in conflict-ridden regions such as the Middle East, the U.S. rate is worse than in all but one country: Iraq.

The U.S. gun violence death rate is also higher than nearly all countries in sub-Saharan Africa, including many that are among the world's poorest.

Copyright 2017 NPR. To see more, visit http://www.npr.org/.