As of the 2006 census, 48.3 percent of residents were male and 51.7 percent were female. 24.3 percent were 19 years old or younger, 27.4 percent were between 20 and 30 years old, and 34.0 percent were between 40 and 64 years old. The average age of a Winnipegger in May 2006 was 38.7, compared to an average of 39.5 for Canada as a whole. Between the censuses of 2006 and 2011, Winnipeg's population increased by 4.8 percent, compared to 5.2 percent for Manitoba as a whole. The population density of the city of Winnipeg averaged 1,430 people per km2, compared with 2.2 for Manitoba.