Rye is located in Rockingham county New hampshire with a geographic area of square miles. The total population in Rye is 5,478 with 52.6% male and 47.4% female. Children under age 5 represent 4.9% of the population, under age 18 equal 16.7% of the population and over age 65 is 30.3% of the population. The median household income is $108,750, per capita income is $78,448. There are a total of 2,304 housing units with 86.9% owner occupied. Education includes 15.5% of residents that are high school graduates and 57.9% with a bachelor's degree or higher. The average temperature in Rye in the summer is 68 degrees, and in the winter 23 degrees.