Gainesville is located in Cooke county Texas with a geographic area of 19.3 square miles. The total population in Gainesville is 16,557 with 49.7% male and 50.3% female. Children under age 5 represent 9.3% of the population, under age 18 equal 26.6% of the population and over age 65 is 14.4% of the population. The median household income is $46,327, per capita income is $21,757. There are a total of 6,106 housing units with 50.7% owner occupied. Education includes 32.9% of residents that are high school graduates and 14.0% with a bachelor's degree or higher. The average temperature in Gainesville in the summer is 82 degrees, and in the winter 49 degrees.