The population distribution in Tanzania is uneven. Most people live on the northern border or the eastern coast, with much of the remainder of the country being sparsely populated. Density varies from 12 per square kilometre (31/sq mi) in the Katavi Region to 3,133 per square kilometre (8,110/sq mi) in the Dar es Salaam Region.
Approximately 70 percent of the population is rural, although this percentage has been declining since at least 1967. Dar es Salaam (population 4,364,541) is the largest city and commercial capital. Dodoma (population 410,956), is located in the centre of Tanzania, is the capital of the country.
The population consists of about 125 ethnic groups. The Sukuma, Nyamwezi, Chagga, and Haya peoples each have a population exceeding 1 million. Approximately 99 percent of Tanzanians are of African descent, with small numbers of Arab, European, and Asian descent. The majority of Tanzanians, including the Sukuma and the Nyamwezi, are Bantu.
The population also includes people of Arab and Indian origin, and small European and Chinese communities. Many also identify as Shirazis. Thousands of Arabs and Indians were massacred during the Zanzibar Revolution of 1964. As of 1994, the Asian community numbered 50,000 on the mainland and 4,000 on Zanzibar. An estimated 70,000 Arabs and 10,000 Europeans lived in Tanzania.
Some albinos in Tanzania have been the victims of violence in recent years. Attacks are often to hack off the limbs of albinos in the perverse superstitious belief that possessing the bones of albinos will bring wealth. The country has banned witch doctors to try to prevent the practice, but it has continued and albinos remain targets.
According to 2010 Tanzanian government statistics, the total fertility rate in Tanzania was 5.4 children born per woman, with 3.7 in urban mainland areas, 6.1 in rural mainland areas, and 5.1 in Zanzibar. For all women aged 45–49, 37.3 percent had given birth to eight or more children, and for currently married women in that age group, 45.0 percent had given birth to that many children.