According to the South African National Census of 2001
, the population of Cape Town is 2,893,251 people. There are 759,767 formal households, of which 87.4% have a flush or chemical toilet, and 94.4% have refuse removed by the municipality at least once a week. 80.1% of households use electricity as the main source of energy. 16.1% of households are headed by one person.
Coloured people account for 48.13% of the population, followed by Black Africans at 31%, Whites at 18.75%, and Asians at 1.43%. 46.6% of the population is under the age of 24, whilst 5% are over the age of 65. The median age in the city is 26 years old, and for every 100 females, there are 92.4 males. 19.4% of city residents are unemployed; 58.3% of the unemployed are black, 38.1% are Coloured, 3.1% are White and 0.5% are Asian.
41.4% of Cape Town residents speak Afrikaans
at home, 28.7% speak Xhosa
, 27.9% speak English, 0.7% speak Sotho
, 0.3% speak Zulu
, 0.1% speak Tswana
and 0.7% of the population speaks a non-official language at home. 76.6% of residents are Christian, 10.7% have no religion, 9.7% are Muslim, 0.5% are Jewish and 0.2% are Hindu. 2.3% have other or undetermined beliefs.
4.2% of residents aged 20 and over have received no schooling; 11.8% have had some primary school; 7.1% have completed only primary school; 38.9% have had some high school education; 25.4% have finished only high school and 12.6% have an education higher than the high school level. Overall, 38.0% of residents have completed high school. The median annual income of working adults aged 20–65 is ZAR 25 774. Males have a median annual income of ZAR 27 406 versus ZAR 22 265 for females.