Climate Central, a nonprofit news organization that analyzes and reports on climate science, has ranked the U.S. cities most vulnerable to major coastal floods.

The study looked at all U.S. cities with populations above 20,000, and used three metrics: population within the 100-year FEMA floodplain, population within that floodplain combined with sea level rise projections for 2050 and the total high social vulnerability population in the same locations as the second metric.

New York City topped the list, with more than 245,000 people at risk from flooding, followed by Miami and Pembroke Pines, Florida.

Cities Most Vulnerable to Coastal Flooding Today

  1. New York
  2. Miami
  3. Pembrook Pines, FL
  4. Coral Springs, FL
  5. Miramar, FL
  6. St. Petersburg, FL
  7. Davie, FL
  8. Fort Lauderdale, FL
  9. Miami Beach, FL
  10. Hialeah, FL
  11. Sunrise, FL
  12. Pompano Beach, FL
  13. Hollywood, FL
  14. Lauderhill, FL
  15. Charleston, SC
  16. Cape Coral, FL
  17. Tamarac, FL
  18. Margate, FL
  19. Tampa, FL
  20. Fountainebleau, FL
  21. Miami Gardens, FL
  22. Country Club, FL
  23. Atlantic City, NJ
  24. North Lauderdale, FL
  25. Kendale Lakes, FL

Cities Most Vulnerable to Coastal Flooding by 2050

  1. New York
  2. Hialeah, FL
  3. Miami
  4. Fort Lauderdale, FL
  5. Pembroke Pines, FL
  6. Coral Springs, FL
  7. Miramar, FL
  8. St. Petersburg, FL
  9. Davie, FL
  10. Miami Beach, FL
  11. Charleston, SC
  12. Pompano Beach, FL
  13. Sunrise, FL
  14. Hollywood, FL
  15. Miami Gardens, FL
  16. Norfolk, VA
  17. Lauderhill, FL
  18. Cape Coral, FL
  19. Boston
  20. Tamarac, FL
  21. Virginia Beach, VA
  22. Tampa, FL
  23. Fountainebleau, FL
  24. Margate, FL
  25. Kendale Lakes, FL

The report also studied cities with the highest social vulnerability by 2050. On this list, the cities that had the fewest resources to prepare and respond to environmental hazards were ranked by using 29 different socioeconomic variables, according to the study. Philadelphia, Houston and Baltimore all got bad ratings for social vulnerability.