Use this online physics calculator to calculate variation of g due to depth variation below the earth’s surface.
How to use this calculator online?
Enter the value of depth in meter unit.
The values are g and the radius of the earth is prepopulated and can be modified within a range only. You can keep these 2 prepopulated fields intact unless you have a bit different data to set as per the question.
As you enter the value of depth the calculator will fetch the value of g at that depth (provided that the inputs provided are in the proper limit for the program to run correctly.)
If the output field (the last one on the frame) doesn’t load automatically as per the input, click on the output field itself to refresh.
See the formula and the derivation steps of the formula used: g variation due to depth (formula with derivation)