The formula for g at depth d The formula g2= g (1 – d/R) expresses the variation of g with depth. Here, g2 denotes the acceleration due to gravity at a depth of d from the earth's surface, and R denotes the earth's radius.