How strong is the pull between two bodies? Compute the gravitational force F = G·M·m/r² — with a four-way solver, verified celestial-body presets, and comparison against weight on Earth.
F = G·M·m / r² · G = 6.67430×10⁻¹¹ m³/kg/s² (CODATA 2018)
Body 1 (M) presets:
Body 2 (m) presets:
Worked example: Earth–Moon
M = 5.972e+24 kg (Earth), m = 7.342e+22 kg (Moon), r = 3.844e+8 m (center-to-center distance)
M·m = 4.38464e+47 kg²
r² = 1.47763e+17 m²
F = G·M·m/r² = 6.67430×10⁻¹¹ × 4.38464e+47 / 1.47763e+17 = 1.98049e+20 N
= 1.98049e+17 kN = 4.45232e+19 lbf — equivalent to the weight of a 2.01954e+19 kg mass on Earth's surface.
Verified presets
Celestial body
Mass (kg)
Radius (km)
Surface g (m/s²)
Earth
5.97237×10²⁴
6,371
9.8206
Moon
7.342×10²²
1,737.4
1.6234
Mars
6.4171×10²³
3,389.5
3.7280
Jupiter
1.89813×10²⁷
69,911
25.9203
Sun
1.98847×10³⁰
696,000
273.9721
Masses use IAU 2015 GM divided by CODATA 2018 G (consistent with the escape velocity calculator); surface g = G·M/R² recomputed from the table figures — not copied from secondary sources.
Scope vs the escape velocity calculator
This calculator answers “how strong is the FORCE of attraction?” (newtons) — e.g. 1.98049e+20 N between Earth and Moon. The escape velocity calculator answers “how fast must it go to ESCAPE?” (km/s) — e.g. 11.186 km/s from Earth\'s surface. Two different physical quantities, two different search intents: “gravitational force calculator” vs “escape velocity calculator”. Both use the same constant G.
Frequently asked questions
What is the difference between gravitational force, weight, and the gravitational field (g)?
All three are related but have different units. Gravitational force (F, newtons) is the pull between TWO masses: F = G·M·m/r² — this is what the calculator computes (e.g. Earth–Moon: 1.98049e+20 N). Weight (W, newtons) is a special case: a planet's gravitational force on a body near its surface, W = m·g. The gravitational field (g, m/s²) is the force PER UNIT MASS at a point: g = G·M/r² — a property of the location, not of the body. Example: Earth's gravitational field at the Moon's position is only 2.697e-3 m/s² (0.0275% of standard gravity), while the weight of 1 kg on Earth's surface is 9.80665 N.
What is Newton's law of universal gravitation formula?
F = G·M·m/r². M and m are the masses of the two bodies (kg), r is the distance between their centers of mass (m), and G = 6.67430×10⁻¹¹ m³/(kg·s²) is the universal gravitational constant (CODATA 2018). Force is directly proportional to both masses and inversely proportional to the square of the distance. A complete step-by-step worked example is in the “Earth–Moon worked example” section above.
What is the value of the gravitational constant G?
G = 6.67430×10⁻¹¹ m³/(kg·s²) per CODATA 2018. This is a UNIVERSAL constant — the same value everywhere in the universe, from falling apples to galaxies. G is also the least precisely known physical constant (relative uncertainty around 2.2×10⁻⁵), because gravity is so weak it's hard to measure in a lab. Don't confuse it with lowercase g: g is the LOCAL gravitational field, which varies with the celestial body and distance.
Why is the result for 1 kg on Earth's surface 9.821 N instead of 9.807 N?
Because 9.80665 m/s² is STANDARD gravity — a defined value used as the international reference, not a measurement at one spot. The calculator computes purely from the formula: F = G·M·m/r² = 6.67430×10⁻¹¹ × 5.97237×10²⁴ × 1 / (6,371,000)² = 9.821 N. The 0.14% difference comes from rounding of the preset constants and from the fact that Earth's surface gravity genuinely varies (about 9.78 at the equator to 9.83 at the poles). For all “weight on Earth” comparisons, the calculator uses 9.80665, exact by definition.
The Earth–Moon force is 1.98049e+20 N — why doesn't the Moon fall, and why don't we feel it?
Three reasons. First, that huge force acts on a giant mass (the Moon, 7.342×10²² kg), so the acceleration it produces is only a = F/m = 2.697e-3 m/s² — almost exactly the centripetal acceleration needed to orbit. Second, we move along with Earth, so the pull cancels out in our frame; what remains is only its differential effect — ocean tides. Third, this force equals the weight of a 2.01954e+19 kg mass on Earth — huge, but “spread out” over a Moon-sized mass.
Do small bodies also pull on big ones?
Yes. Newton's third law applies fully to gravity: attraction always comes in pairs, equal in magnitude, opposite in direction. Earth pulls the Moon with 1.98049e+20 N, and the Moon pulls Earth with exactly 1.98049e+20 N as well. What differs is the acceleration (a = F/m): Earth barely budges because its mass is about 81 times the Moon's, while the Moon is accelerated enough to stay in orbit.
What happens to the force if the distance is doubled?
The force becomes ONE QUARTER — because it's inversely proportional to the square of the distance (1/r²). Triple the distance → 1/9 the force; 10× the distance → 1/100 the force. A real example: although the Sun's mass is about 333,000 times Earth's, at 1 AU its force on Earth is 3.54177e+22 N — only 178.8 times the Moon's force on Earth (1.98049e+20 N), because 1 AU is about 389 times the Earth–Moon distance and force weakens with the square of distance.
What units does this calculator use?
The main result is always newtons (N), plus automatic conversion to kilonewtons (kN), meganewtons (MN), and pound-force (lbf). 1 N = 0.224809 lbf, since 1 lbf = 4.4482216152605 N. Input mass can be in kg, grams, tons, Earth masses, or Sun masses; distance can be in m, cm, km, astronomical units/AU (1 AU = 149,597,870,700 m), or Earth radii. The calculator can also invert the formula: find M, m, or r when the force and two other quantities are known.
How tiny is the gravitational force between everyday objects?
Tiny: two 1 kg balls 1 m apart pull each other with only 6.67430e-11 N — eleven orders of magnitude below 1 newton. That's why G is hard to measure (the Cavendish experiment, 1797–1798) and why gravity is “unfelt” between everyday objects. Gravity only dominates at planetary mass scales, because — unlike electric force — it never cancels out: always attractive and cumulative.
How is this calculator different from the escape velocity calculator?
They compute different quantities. This calculator computes the attractive FORCE (newtons) between two masses — e.g. 1.98049e+20 N between Earth and Moon. The escape velocity calculator computes the minimum SPEED (km/s) for a body to escape a celestial body's gravity — e.g. 11.186 km/s from Earth's surface. Both use the same constant G, but answer different physics questions: “how strong is the pull?” vs “how fast must it go to escape?”. See the escape velocity calculator for the second quantity.
When can gravity be ignored in engineering calculations?
Compare it with the other forces acting on the same system. Rule of thumb: if gravity is below 1% of the dominant force (engine thrust, friction, electromagnetic forces), its contribution usually drowns in measurement uncertainty. For bodies under 1 ton at distances over 1 m, the force is below 10⁻⁴ N — negligible in almost all engineering calculations, except precision instruments like gravimeters or space missions.
We use cookies and third-party services (including Google AdSense) to personalize content, analyze traffic, and serve relevant ads. By clicking "Accept", you consent to our use of cookies as described in our Privacy Policy.
Report an issue
2 taps, no typing needed — diagnostics are sent automatically.