St. Petersburg is a city in Pinellas County, Florida, United States. As of the 2020 census, the population was 258,308, making it the fifth-most populous city in Florida and the most populous city in the state that is not a county seat.