Surface Gravity Solver – Find a Planet's Mass from g and Radius
Use this free Surface Gravity Solver to work backwards: if you know a planet's surface gravity and its radius, find its mass. This is exactly how astronomers "weigh" planets they can never put on a scale.
Formula
Surface gravity is g = GM/R², so rearranging gives the mass: M = gR²/G, with G = 6.674 × 10⁻¹¹ N·m²/kg². You only need two measurements — how hard the surface pulls, and how big the planet is.
How to use
- Pick a preset planet, or choose Custom and enter any surface gravity and radius.
- Enter g in m/s² and the radius in kilometres.
- Click "Solve for Mass" to get the mass in kilograms and in Earth masses.
Worked example
Mars has a measured surface gravity of g = 3.71 m/s² and a radius of R = 3,389.5 km:
M = 3.71 × (3.3895 × 10⁶)² / 6.674 × 10⁻¹¹ ≈ 6.39 × 10²³ kg.
The accepted value is 6.417 × 10²³ kg — the small difference comes from the rounded value of g used here. Mars is about 0.107 Earth masses.
FAQ
How do we measure a planet's surface gravity before landing?
By watching how its gravity bends the path of an orbiting spacecraft or a passing probe — the same tracking data gives the mass directly through Newton's laws.
Why does this give only the mass, not the composition?
Mass alone doesn't say what a planet is made of. Combine it with the radius to get the average density, and the density hints at rock, metal, ice or gas fractions.
Can this work for a star?
The same formula applies, but for stars the mass is usually found from binary orbits instead, because a star's "surface" gravity is harder to measure directly.