Shimla district of Himachal Pradesh, lies between the longitude 77.00" and 78.19" east and latitude 30.45" and 31.44" north, having its headquarters situated at Shimla. It is surrounded by Mandi and Kullu in the north, Kinnaur in the east, Uttarakhand in the south-east, Solan to the south-west and Sirmaur in the south. The elevation of the district ranges from 300 metres (984 ft) to 6,000 metres (19,685 ft).
As of 2011 it is the third most populous district of Himachal Pradesh (out of 12), after Kangra and Mandi. It is also most urbanized district of Himachal Pradesh. The most commonly practised religion in the district is Hinduism. Hindi and Pahari are the languages spoken here.Tourism and Agriculture/Horticulture is the major source of income.
According to the 2011 census Shimla district has a population of 813,384, roughly equal to the nation of Comoros or the US state of South Dakota. This gives it a ranking of 483rd in India (out of a total of 640). The district has a population density of 159 inhabitants per square kilometre (410 /sq mi) . Its population growth rate over the decade 2001-2011 was 12.58%. Shimla has a sex ratio of 916 females for every 1000 males, and a literacy rate of 84.55%. It has highest urban population of all districts in Himachal. Urban population forms 24.77% of district.