Danvers is located in Essex county Massachusetts with a geographic area of 13.3 square miles. The total population in Danvers is 27,549 with 46.7% male and 53.3% female. Children under age 5 represent 5.1% of the population, under age 18 equal 18.4% of the population and over age 65 is 21.6% of the population. The median household income is $99,269, per capita income is $45,688. There are a total of 10,652 housing units with 70.4% owner occupied. Education includes 22.9% of residents that are high school graduates and 48.0% with a bachelor's degree or higher. The average temperature in Danvers in the summer is 70 degrees, and in the winter 30 degrees.