Works on this device
Gravitational Force Calculator
Find the pull of gravity between two masses with Newton's law, solve it for a mass or a distance, work out the gravity of a planet, moon or star, or see what you would weigh on other planets.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose Force between two masses, Gravity of a planet, moon or star or Weight on other planets and moons.
- For two masses, choose what you want to find, then type the values you know. Type a large number as 5.9722e24, which means 5.9722 × 10^24. You can also choose an example.
- Choose Calculate. The steps show the numbers put into the formula.
The formulas
- Newton's law of gravity: F = G × m₁ × m₂ ÷ r². F is the force in newtons, m₁ and m₂ are the masses in kilograms and r is the distance between their centres in metres.
- One mass: m₂ = F × r² ÷ (G × m₁). Distance: r = √(G × m₁ × m₂ ÷ F).
- Gravitational field strength (the acceleration of gravity) of a body: g = G × M ÷ r² = GM ÷ r², with r its radius plus the height above the surface.
- Weight on a body = your mass × its surface gravity g.
- G, the gravitational constant, is 6.67430 × 10^-11 m³/(kg·s²) (CODATA 2018, the same in CODATA 2022). It is a measured value with an uncertainty of about 0.002%.
Worked example
The Earth has a mass of 5.9722 × 10^24 kg and the Moon 7.346 × 10^22 kg. Their centres are 384,400 km apart on average. F = 6.6743 × 10^-11 × 5.9722 × 10^24 × 7.346 × 10^22 ÷ (3.844 × 10^8)² = 1.98164 × 10^20 N.
Two people of 70 kg, 1 m apart, pull on each other with only 3.2704 × 10^-7 N.
At the surface of the Earth (mean radius 6,371 km) the field strength is g = 6.6743 × 10^-11 × 5.9722 × 10^24 ÷ 6,371,000² = 9.8203 m/s². On the Moon (mean radius 1,737.4 km) it is 1.62427 m/s², so a person of 70 kg weighs 113.699 N there, and a bathroom scale set for Earth would show 11.6 kg.
Limits you should know
- The formulas are Newton's. They hold for point masses and for round bodies seen from outside. General relativity changes them measurably only near very dense bodies.
- The masses and radii of planets in the examples are taken from the NASA planetary fact sheets. Change them if you have newer or other values.
- The spin and the flattened shape of a planet are left out. The measured gravity at sea level on the Earth is between about 9.78 m/s² and 9.83 m/s².
- For the speed needed to leave a planet, use the Escape Velocity Calculator. For the speed of an orbit, use the Orbital Velocity Calculator. For energy in a gravity field, use the Potential Energy Calculator.