Farmington is located in Dakota county Minnesota with a geographic area of 14.6 square miles. The total population in Farmington is 22,996 with 50.1% male and 49.9% female. Children under age 5 represent 7.8% of the population, under age 18 equal 31.2% of the population and over age 65 is 7.9% of the population. The median household income is $95,326, per capita income is $37,222. There are a total of 7,927 housing units with 85.0% owner occupied. Education includes 20.0% of residents that are high school graduates and 36.6% with a bachelor's degree or higher. The average temperature in Farmington in the summer is 70 degrees, and in the winter 9 degrees.