(WKRN/NEXSTAR) — Small towns are often idealized as family-friendly, safe havens of comfortable living. But does the reality live up to the perfect image?

MoneyGeek had researchers analyze FBI crime data of smaller towns and cities where the population is between 30,000 and 100,000. They used the crime data to calculate the cost of crime in each area.

The cost of crime includes impacts to victims, like the loss of stolen property and medical bills, MoneyGeek explained, as well as the cost to the justice system. Violent crimes typically result in a higher cost than nonviolent crimes, MoneyGeek said.

After crunching the numbers, and comparing the list of smaller cities to its data on crime in large cities, researchers found the stereotype to generally be true – with some noteworthy exceptions. Petersburg, Virginia, for example, was the most dangerous small city analyzed. Its per capita cost of crime was a whopping $9,022, according to MoneyGeek.

Federal Way, Washington, which is just outside Tacoma, had a cost of crime per capita the same as New York City. Federal Way’s population is under 100,000, while New York’s is over 8 million.

But that’s enough about the sneakily dangerous small towns of America. MoneyGeek also ranked the safest of the spots.

The study lists Brentwood as the safest city in Tennessee and also ranks the city as the 42nd safest city in the United States.

According to the study, the city’s population is 43,454 and the cost of crime in the area is $101 per capita.

Brentwood was the only city in the state to land a spot in the study’s top 100. The next safest city was Germantown coming in at no.135. The population is 39,264 and the crime cost per capita was $207.

Subscribe to WKRN News 2 on YouTube to find exclusive and extended clips.

The top-5 safest smalls town or cities in Tennessee, ranked by their low cost of crime per capita, are:

  1. Brentwood, TN ($101 per capita)
  2. Germantown, TN ($207 per capita)
  3. Mount Juliet, TN ($262 per capita)
  4. Collierville, TN ($292 per capita)
  5. Maryville, TN ($332 per capita)

The full list, as well as the safest town or city in every state, can be found here.