If you’re single and looking to find love, Pittsburgh could be the city for you.

The Steel City came in 4th place in a recent study ranking American cities based on “dating friendliness,” the New York Times reported.

WalletHub compared 182 cities, including the 150 most populated cities and at least two of the most populated cities in each state, the Times reported, and the results are based on 35 metrics across three categories: “economics,” “fun and recreation” and “dating opportunities.”

Chip Lupo, an analyst at WalletHub, told the Times that economics matter in dating because a more affordable city can enhance dating opportunities. The study considers metrics like average dining costs, housing affordability and median annual household income. The category makes up 25% of each city’s final score.

In the “fun and recreation” category, each city’s restaurant scene, nightlife options, walkability and safety were considered, the Times said, making up another 25% of the total.

“Dating opportunities” contributed the remaining 50% of each city’s score, including the share of singles, online dating statistics and the ratio of singles by gender.

The top 15 cities include:

  1. Atlanta
  2. Las Vegas
  3. Seattle
  4. Pittsburgh
  5. Tampa, Fla.
  6. Portland, Ore.
  7. Madison, Wis.
  8. Cincinnati
  9. Denver
  10. Austin, Texas
  11. Minneapolis
  12. St. Louis
  13. Rapid City, S.D.
  14. Boise, Idaho
  15. Miami

Atlanta scored high in the “fun and recreation” category, courtesy of its nightlife, shopping and social clubs, the Times reported. Over 69% of Atlanta’s population is single, too, WalletHub’s study said.

And here are the last 15 cities on WalletHub’s list, with Pearl City coming in last:

  1. Garland, Texas
  2. Winston-Salem, N.C.
  3. Anaheim, Calif.
  4. Rancho Cucamonga, Calif.
  5. Little Rock, Ark.
  6. Jackson, Miss.
  7. Yonkers, N.Y.
  8. Grand Prairie, Texas
  9. Warwick, R.I.
  10. Hialeah, Fla.
  11. Glendale, Calif.
  12. Columbia, Md.
  13. Brownsville, Texas
  14. Port St. Lucie, Fla.
  15. Pearl City, Hawaii