According to the 2011 census Ernakulam district has a population of 3,282,388, roughly equal to the nation of Mauritania or the US state of Iowa. This gives it a ranking of 104th in India (out of a total of 640). The district has a population density of . Its population growth rate over the decade 2001–2011 was 5.6%. Ernakulam has a sex ratio of 1028 females for every 1000 males, and a literacy rate of 95.68%.