Gravitational force and planetary mass