Mandi is a major city and a municipal corporation in Mandi District in the Indian state of Himachal Pradesh. It is situated 145 kilometres (90 mi) north of state capital, Shimla in the north-west Himalayas at an average altitude of 880 m (2,890 ft) Mandi is connected to the Pathankot through National Highway 20 and to Manali and Chandigarh through National Highway 21. Mandi is approximately 184.6 km (114.7 mi) from Chandigarh, the nearest major city, and 440.9 km (274.0 mi) from New Delhi, the national capital. In the 2011 Indian census, Mandi city had a population of 26,422. Mandi district is currently the 4th largest economy in the state. Mandi has the second highest sex ratio of 1013 females per thousand males, in the state.