🔬
🔬 Science & engineering

Gravitational Force Calculator (Newton)

Results update as you type.

Your numbers

Understanding the gravitational force calculator — concept and principle

Every pair of masses attracts each other. Newton's law of universal gravitation gives the size of that pull from the two masses and the distance between their centres. This calculator returns the force and the gravitational acceleration produced by mass 1 at that distance. The defaults describe the Earth and the Moon.

Gravitational pull between Earth and MoonEarth (5.972×10²⁴ kg) and Moon (7.348×10²² kg) 384,400 km apart pull each other with about 1.98×10²⁰ N.Earth and Moon pull on each other1.98 × 10²⁰ Nsame size, opposite waysr = 384,400 kmEarthMoonF = G × m₁ × m₂ ÷ r²G6.674×10⁻¹¹N·m²/kg²m₁5.972×10²⁴kgm₂7.348×10²²kgr²1.478×10¹⁷m²Earth's pull at the Moon: g ≈ 0.0027 m/s²
Both bodies feel the same 1.98 × 10²⁰ N, but the light Moon is moved far more.

How it is calculated

The principle

Newton proposed that the same force making an apple fall also keeps the Moon in orbit, and that it weakens with the square of distance. The inverse-square law has a simple geometric picture: the influence spreading from a mass is shared over the surface of a sphere, whose area grows as 4πr². Doubling the distance spreads it over four times the area, so the force falls to a quarter.

For spherical bodies with symmetric layers, the force outside them is the same as if all the mass were concentrated at the centre, which is why r is measured between centres. The force is mutual: the Moon pulls the Earth exactly as hard as the Earth pulls the Moon (Newton's third law), but the Earth accelerates far less because of its larger mass.

Worked example

  1. Inputs: m₁ = 5.972 × 10²⁴ kg (Earth), m₂ = 7.348 × 10²² kg (Moon), r = 3.844 × 10⁸ m.
  2. r² = (3.844 × 10⁸)² = 1.47763 × 10¹⁷ m².
  3. G m₁ = 6.6743 × 10⁻¹¹ × 5.972 × 10²⁴ = 3.98589 × 10¹⁴ m³/s².
  4. g = 3.98589 × 10¹⁴ ÷ 1.47763 × 10¹⁷ ≈ 0.0026974833 m/s².
  5. F = g × m₂ = 0.0026974833 × 7.348 × 10²² ≈ 1.982111 × 10²⁰ N.
How Force (N) changes with Distance (m)How Force changes with Distance01e+212e+213e+214e+219.61e+071.92e+082.88e+083.84e+084.8e+085.77e+087.69e+08Example: 1.982111e+20Distance (m)
Each point is the calculator re-run with only “Distance (m)” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Distance (m)Force (N)
9.61e+073.171377e+21
1.92e+087.928443e+20
2.88e+083.523752e+20
3.84e+081.982111e+20
4.8e+081.268551e+20
5.77e+088.809381e+19
7.69e+084.955277e+19

How to read the result

The acceleration at the Moon's distance is about 1/3,600 of the 9.8 m/s² at Earth's surface, because the Moon is roughly 60 Earth radii away and 60² = 3,600. Newton checked exactly this: the Moon's centripetal acceleration from its 27.3-day orbit is about 0.00272 m/s², very close to the value here. For everyday objects the force is tiny; two 1 kg masses 1 m apart attract with only 6.67 × 10⁻¹¹ N.

Common mistakes

Keep in mind: The formula is classical Newtonian gravity for point masses or spherically symmetric bodies. It does not include relativistic effects, tides, irregular shapes or the influence of third bodies, which matter for precise spacecraft navigation.

Frequently asked questions

Why is G so hard to measure?

Gravity between laboratory masses is extremely weak, so torsion-balance experiments, starting with Cavendish in 1798, must detect tiny forces. G is still known less precisely than most other fundamental constants.

How do I find surface gravity of a planet?

Use the planet's mass as m₁ and its radius as r; the acceleration output is the surface gravity, ignoring rotation.

Sources: CODATA 2018 recommended values of the fundamental physical constants (NIST) · Isaac Newton, Philosophiæ Naturalis Principia Mathematica (1687), Book III

Checked 8 Nov 2026. Standard textbook formulas in SI units, computed in your browser. For learning and estimates — real designs must follow your local codes and be checked by a qualified engineer.

🔬 All science & engineering tools →🌍 Calculators by country →