Written under the influence of Larry Niven's story "There Is a Tide." Try to calculate the force of gravity on the surface of a spherical piece of a neutron star with a mass 500 000 times less than the Earth's mass but with a 3 meters diameter ...
Acceleration of gravity g — an acceleration given to the body in a vacuum by the force of gravity, that is, the geometric sum of the planet's gravitational pull (or another celestial body) and inertial forces resulting from its rotation. According to Newton's second law, gravity's acceleration is equal to the force of gravity acting on the unit mass object.
Acceleration of gravity is made up of two components: gravitational acceleration and centrifugal acceleration. The calculator only calculates the gravitational acceleration.
The value of the gravitational acceleration on the surface can be approximated by imagining the planet as point mass M and calculating the gravitational acceleration at a distance of its radius R:
G — gravitational constant ( m^3, s^-2, kg^-1).
h — altitude above sea level
More info on the Wikipedia: