I agree with the other answers and this is generally the case: It is a question of size.
However, in the UK, to be a city you need to have a cathedral, so if there's no cathedral, it is a town.
This is why there are a number of towns in the UK which are larger than cities just because they do not possess a cathedral. An exception to this, was the town of Birmingham, which in the late 19th century was established as a city, although it did not have a cathedral at that time.