Rankin is located in Allegheny county Pennsylvania with a geographic area of 0.4 square miles. The total population in Rankin is 1,948 with 42.4% male and 57.6% female. Children under age 5 represent 9.6% of the population, under age 18 equal 25.2% of the population and over age 65 is 8.8% of the population. The median household income is $24,341, per capita income is $19,026. There are a total of 895 housing units with 28.5% owner occupied. Education includes 37.5% of residents that are high school graduates and 26.3% with a bachelor's degree or higher. The average temperature in Rankin in the summer is 73 degrees, and in the winter 33 degrees.