Formula: Acceleration due to gravity inside the Earth Here let r represent the radius of the point inside the earth. The formula for finding out the acceleration due to gravity at this point becomes: g’ = ( r / re )g In both the above formulas, as expected, g’ becomes equal to g when r = re.