Williamsburg is located in Hampshire county Massachusetts with a geographic area of square miles. The total population in Williamsburg is 2,638 with 45.6% male and 54.4% female. Children under age 5 represent 2.7% of the population, under age 18 equal 14.1% of the population and over age 65 is 23.9% of the population. The median household income is $83,750, per capita income is $47,256. There are a total of 1,198 housing units with 72.9% owner occupied. Education includes 13.8% of residents that are high school graduates and 59.1% with a bachelor's degree or higher. The average temperature in Williamsburg in the summer is 70 degrees, and in the winter 30 degrees.