In 2016, the populations of the City of Ottawa and the Ottawa–Gatineau census metropolitan area (CMA) were 934,243 and 1,323,783 respectively. The city had a population density of  in 2016, while the CMA had a population density of . It is the second-largest city in Ontario, fourth-largest city in the country, and the fourth-largest CMA in the country.