Hangzhou is the capital of Zhejiang, China. It is located in the northeastern part of the province, sitting at the head of Hangzhou Bay, which separates Shanghai and Ningbo. As of 2022, the Hangzhou metropolitan area was estimated to produce a gross metropolitan product of 4 trillion yuan, making it larger than the economy of Sweden. As of the 2020 Chinese census, it had a total population of 11,936,010 inhabitants. However, its metropolitan area, populated by 13.035 million people over an area of 8,107.9 km², consists of all urban districts in Hangzhou and 3 urban districts of the city of Shaoxing.