This shows that the period of oscillation is independent of the amplitude and mass of the pendulum but not of the acceleration due to gravity, g , therefore a pendulum of the same length on the Moon would swing more slowly due to the Moon's lower gravitational field strength. Because the value of g varies slightly over the surface of the earth, the time period will vary slightly from place to place and will also vary with height above sea level.