Hampshire is located in Kane county Illinois with a geographic area of 9.5 square miles. The total population in Hampshire is 5,909 with 47.9% male and 52.1% female. Children under age 5 represent 3.1% of the population, under age 18 equal 23.7% of the population and over age 65 is 8.7% of the population. The median household income is $99,635, per capita income is $49,998. There are a total of 1,839 housing units with 69.0% owner occupied. Education includes 29.2% of residents that are high school graduates and 33.8% with a bachelor's degree or higher. The average temperature in Hampshire in the summer is 74 degrees, and in the winter 27 degrees.