Gravity Field Solver – Find a Planet's Mass from g and Radius
Use this free Gravity Field Solver to work a planet's mass out of its gravity. If you know the surface gravity g and the radius r, then M = gr²/G — this is how planets that have never been visited get "weighed".
Formula
Surface gravity is g = GM/r². Solving for the mass: M = gr²/G, with G = 6.674 × 10⁻¹¹ N·m²/kg². The radius must be in metres when you calculate (the tool converts kilometres for you).
How to use
- Enter the measured surface gravity g in m/s².
- Enter the body's radius in kilometres.
- Click "Solve for Mass" to get M in kilograms, plus a comparison with Earth's mass (5.972 × 10²⁴ kg).
Worked example
The Moon's surface gravity is g = 1.62 m/s² and its radius is 1,737.4 km.
M = gr²/G = 1.62 × (1.7374 × 10⁶)² / 6.674 × 10⁻¹¹ ≈ 7.33 × 10²² kg.
The accepted value for the Moon's mass is 7.35 × 10²² kg — the small difference comes from using the rounded value g = 1.62.
FAQ
How is surface gravity measured for a distant planet?
From the wobble it causes in its moons' or spacecraft's orbits, and from how it bends their paths during flybys — the same physics, run through Kepler's laws.
Why do I need the radius as well as g?
Gravity at the surface mixes two effects: more mass pulls harder, but a bigger radius puts you further from the centre. Knowing both separates them and pins down M.
Can this find the mass at some height above the surface?
Yes — use the g measured at that height and set r to the full distance from the centre (radius + altitude).