The difference is mainly because cars are more prone to accidents in big metro cities with heavy/fast traffic, and may be also because of higher overheads of insurance companies in Grade A cities. The difference is, however it is not much as compaired to grade B , negligible.

I am not aware of the calculations/rates based on which premium amount is
decided.