Troy is located in Madison county Illinois with a geographic area of 5.6 square miles. The total population in Troy is 10,278 with 44.6% male and 55.4% female. Children under age 5 represent 8.9% of the population, under age 18 equal 25.2% of the population and over age 65 is 12.1% of the population. The median household income is $76,672, per capita income is $34,051. There are a total of 3,934 housing units with 74.0% owner occupied. Education includes 23.4% of residents that are high school graduates and 34.6% with a bachelor's degree or higher. The average temperature in Troy in the summer is 74 degrees, and in the winter 27 degrees.