York is located in York county South carolina with a geographic area of 8.5 square miles. The total population in York is 8,287 with 47.7% male and 52.3% female. Children under age 5 represent 6.6% of the population, under age 18 equal 26.5% of the population and over age 65 is 14.3% of the population. The median household income is $42,244, per capita income is $24,591. There are a total of 3,281 housing units with 61.0% owner occupied. Education includes 30.9% of residents that are high school graduates and 19.8% with a bachelor's degree or higher. The average temperature in York in the summer is 78 degrees, and in the winter 43 degrees.