According to the United States Census Bureau, the town has a total area of 15.9 square miles (41 km2), of which 15.2 square miles (39 km2) is land and 0.7 square miles (1.8 km2), or 4.21%, is water. Wayland borders Lincoln, Sudbury, Weston, Framingham, and Natick.
As of 2000, there were 4,625 households out of which 41.4% had children under the age of 18 living with them, 71.5% were married couples living together, 7.1% had a female householder with no husband present, and 19.5% were non-families. 16.1% of all households were made up of individuals and 7.6% had someone living alone who was 65 years of age or older. The average household size was 2.80 and the average family size was 3.15.
In the town, the population was spread out with 28.7% under the age of 18, 3.4% from 18 to 24, 24.7% from 25 to 44, 29.0% from 45 to 64, and 14.3% who were 65 years of age or older. The median age was 41 years. For every 100 females there were 93.0 males. For every 100 females age 18 and over, there were 87.6 males. The median income for a household in the town was $121,036, and the median income for a family was $204,033.47. Males had a median income of $136,344 versus $60,875 for females. The per capita income for the town was $75,144. About 2.1% of families and 2.5% of the population were below the poverty line, including 1.9% of those under age 18 and 2.7% of those age 65 or over.