GRAVITATIONAL force of attraction by any planet is called acceleration due to GRAVITY by the planet.As each planet has different mass and radius so the acceleration due to gravity will be different for different planet.Acceleration due to gravity of the planet having mass M is given by:\(G = \frac{{GM}}{{{R^2}}}\)Where G is Universal gravitational constant and r is the radius of the planetCalculation:Gravitational acceleration at the surface of planet M is-\(g = \frac{{GM}}{{{R^2}}} = \frac{{G\left( {ρ \frac{4}{3}\pi {R^3}} \right)}}{{{R^2}}} ∝ ρ R\)As Mass = Density × volume.g ∝ ρ R \(\Rightarrow \frac{{{g_1}}}{{{g_2}}} = \frac{{{\RHO _1}{R_1}}}{{{\rho _2}{R_2}}}\)