Hercules is located in Contra costa county California with a geographic area of 6.4 square miles. The total population in Hercules is 26,090 with 48.5% male and 51.5% female. Children under age 5 represent 4.2% of the population, under age 18 equal 19.4% of the population and over age 65 is 16.3% of the population. The median household income is $110,669, per capita income is $45,865. There are a total of 8,980 housing units with 80.6% owner occupied. Education includes 12.2% of residents that are high school graduates and 50.4% with a bachelor's degree or higher. The average temperature in Hercules in the summer is 70 degrees, and in the winter 43 degrees.