Marshfield is located in Plymouth county Massachusetts with a geographic area of 5.1 square miles. The total population in Marshfield is 5,190 with 51.1% male and 48.9% female. Children under age 5 represent 9.6% of the population, under age 18 equal 33.4% of the population and over age 65 is 14.2% of the population. The median household income is $95,046, per capita income is $39,193. There are a total of 1,885 housing units with 68.4% owner occupied. Education includes 21.2% of residents that are high school graduates and 50.5% with a bachelor's degree or higher. The average temperature in Marshfield in the summer is 70 degrees, and in the winter 30 degrees.