Chelmsford is located in Middlesex county Massachusetts with a geographic area of square miles. The total population in Chelmsford is 35,239 with 47.1% male and 52.9% female. Children under age 5 represent 5.9% of the population, under age 18 equal 21.0% of the population and over age 65 is 17.8% of the population. The median household income is $117,582, per capita income is $51,458. There are a total of 13,271 housing units with 83.0% owner occupied. Education includes 15.2% of residents that are high school graduates and 56.4% with a bachelor's degree or higher. The average temperature in Chelmsford in the summer is 70 degrees, and in the winter 30 degrees.