Ashland is located in Middlesex county Massachusetts with a geographic area of square miles. The total population in Ashland is 17,787 with 49.0% male and 51.0% female. Children under age 5 represent 4.5% of the population, under age 18 equal 20.1% of the population and over age 65 is 17.5% of the population. The median household income is $118,348, per capita income is $57,139. There are a total of 7,124 housing units with 79.3% owner occupied. Education includes 14.3% of residents that are high school graduates and 62.2% with a bachelor's degree or higher. The average temperature in Ashland in the summer is 70 degrees, and in the winter 30 degrees.