Vancouver comes out denser than I expected. And just want to point out that Vancouver's density is not just high-rises in downtown and TODs. There's also low rise apartments at many TODs and elsewhere, and a lot of high density condominium townhouses in the suburbs, as well as quite a lot of duplexes in the city especially east end.
Overall, there's 2,234,521 people in 1,374.97 km2, for a weighted density of 4121 / km2. However, while it's not just downtown, the 99,000 people living in downtown at high densities do provide a significant boost to weighted densities. Without downtown, the weighted density would be only 3520 / km2.
Toronto: 4515 / km2
Montreal: 4472 / km2
Vancouver: 4121 / km2
Sydney: 3455 / km2
Calgary: 2531 / km2
Melbourne: 2459 / km2
Perth: 1770 / km2
Adelaide: 1704 / km2