Why the value of g varies from place to place on the earth's surface?

As we all know that 'g' is inversely proportional to the square of the radius of the earth.

Here, g ∝ 1/R^{2}

So, the value of 'g' varies from place to place on the earth's surface.