Sudbury is located in Middlesex county Massachusetts with a geographic area of square miles. The total population in Sudbury is 19,248 with 51.2% male and 48.8% female. Children under age 5 represent 6.9% of the population, under age 18 equal 30.1% of the population and over age 65 is 15.4% of the population. The median household income is $195,073, per capita income is $77,385. There are a total of 6,301 housing units with 91.0% owner occupied. Education includes 9.8% of residents that are high school graduates and 82.3% with a bachelor's degree or higher. The average temperature in Sudbury in the summer is 70 degrees, and in the winter 30 degrees.