According to the Star Wars Wiki, Coruscant has 1 trillion permanent residents on it...
Unlikely, since Coruscant is fairly bigger than Earth (16.281 km diameter) its surface would be 3.33 billion square kilometers. Let's make that 3 billion square kilometers due to the poles being uninhabitated.
So it would have 333 inhabitants/km².
For comparison: Berlin has 3,785/km², London 5,285/km², Moscow 4,583/km², Paris 3,660/km², NYC 10,444/km², L.A. 3,121/km².
And then Coruscant is built with more than thousand levels.
Reduce the size of the planet or multiply the number of inhabitants by at least 1000.