According to the 2001 census, the City of Dundee had a population of 154,674. A more recent population estimate of the City of Dundee has been recorded at 156,561 in 2012. The demographic make-up of the population is much in line with the rest of Scotland. The age group from 30 to 44 forms the largest portion of the population (20%). The median age of males and females living in Dundee was 37 and 40 years, respectively, compared to 37 and 39 years for those in the whole of Scotland.