Mechanicsville is located in Hanover county Virginia with a geographic area of 28.3 square miles. The total population in Mechanicsville is 37,141 with 48.8% male and 51.2% female. Children under age 5 represent 5.9% of the population, under age 18 equal 23.7% of the population and over age 65 is 18.4% of the population. The median household income is $77,291, per capita income is $36,821. There are a total of 14,360 housing units with 77.3% owner occupied. Education includes 24.4% of residents that are high school graduates and 39.2% with a bachelor's degree or higher. The average temperature in Mechanicsville in the summer is 71 degrees, and in the winter 35 degrees.