compared with something , compared to something
If you say, for example, that one thing is large or small compared with another or compared to another, you mean that it is larger or smaller than the other thing.
The room was light and lofty compared to the basement.
这个房间与地下室比起来更亮更高。
The astronomical unit is large compared with distances on earth.
与地球上的距离相比,该天体非常大。
Columbia was a young city compared to venerable Charleston.
跟历史圣地查尔斯顿相比,哥伦比亚还是座年轻的城市。
You talk about one situation or thing compared with another or compared to another when contrasting the two situations or things.
In 1800 Ireland's population was nine million, compared to Britain's 16 million.
1800年爱尔兰的人口是900万,而英国人口是1600万。