Gravitational Force Calculator

Gravitational force calculator using Newton's law of universal gravitation.

Science Universal CODATA G
Rate this calculator · 5.0 (2)

Gravitational Force (F)

F = G m₁m₂ / r², with G from CODATA

Instructions — Gravitational Force Calculator

1

Enter the two masses

In kilograms. Use scientific notation for astronomical bodies — the Earth is 5.972e24 kg, the Moon 7.342e22 kg. The calculator accepts e-notation directly.

2

Enter the distance

In meters, measured between the centers of mass. For two spheres or point masses this is the center-to-center distance. For surface bodies like Earth, use the body's radius (6,371 km for Earth).

3

Read the force

Output is in newtons. The grid converts to pound-force, kilonewtons, dyne, and lists the gravitational constant used. Tiny everyday forces show in scientific notation; the Earth-Moon attraction shows as ~2 × 10^20 N.

G = 6.6743 × 10⁻¹¹ N·m²/kg². Smallest known fundamental constant, measured to about 22 parts per million.
Inverse square: halve the distance and the force quadruples.

Formulas

Newton's universal law
$$ F = G \frac{m_1 m_2}{r^2} $$
The attractive force between two point masses or spheres. Always attractive, always along the line connecting the centers.
Gravitational constant
$$ G = 6.6743 \times 10^{-11}\,\text{N m}^2/\text{kg}^2 $$
CODATA 2022 value, relative uncertainty 22 ppm. The weakest fundamental constant in physics and the least precisely measured.
Gravitational acceleration
$$ g = \frac{G M}{r^2} $$
Acceleration of a small mass near a large mass M. On Earth's surface (M = 5.972e24 kg, r = 6.371e6 m) this gives 9.81 m/s^2.
Solve for distance
$$ r = \sqrt{\frac{G m_1 m_2}{F}} $$
If you know the force and both masses, find the separation. Useful in astronomy when calculating orbital radii.

Reference

Famous gravitational pairs
Systemdistanceforce
Earth–Moon384,400 km1.98 × 10^20 N
Sun–Earth1.496 × 10^8 km3.54 × 10^22 N
Sun–Mercury5.79 × 10^7 km1.32 × 10^22 N
Earth–ISS6,778 km (center)3.6 × 10^6 N
You (70 kg) on Earth6,371 km (center)686 N (your weight)
Two 70 kg people, 1 m1 m3.3 × 10⁻⁷ N

Article — Gravitational Force Calculator

The gravitational force calculator and Newton's universal law

Gravitational force is the attractive pull between every two masses in the universe. Newton's universal law gives F = G m1 m2 / r², with G = 6.6743 × 10⁻¹¹ N m²/kg². The force is always attractive, always along the center-to-center line, and falls off as the square of the distance. At Earth's surface, gravity gives a 70 kg person 686 N of weight. Between two people standing 1 m apart, the mutual attraction is just 3 × 10⁻⁷ N — far too weak to feel but real all the same.

The gravitational force calculator lets you compute the attraction between any two bodies, from subatomic particles to stars. Mass goes in kilograms, distance in meters, and the answer comes out in newtons plus four alternative force units.

What is gravitational force?

Gravitational force is one of the four fundamental forces of nature, alongside electromagnetism and the strong and weak nuclear forces. It is the weakest of the four by an enormous margin — about 10^36 times weaker than electromagnetism at the particle scale — yet it shapes the universe at large scales because mass is always positive and the force never cancels.

Every pair of masses in the universe pulls on each other. The pull is mutual: by Newton's third law, mass 1 pulls on mass 2 with the same force that mass 2 pulls on mass 1. Earth attracts your body; your body attracts Earth back with the same 686 N (assuming a 70 kg mass), although Earth's far greater mass makes it barely move in response.

Did you know

Despite 225 years of measurement, the gravitational constant G is still the worst-measured fundamental constant in physics — uncertainty around 22 parts per million. Compare that to the fine-structure constant (15 parts per trillion) or the electron mass (3 parts per billion).

The gravitational force formula F = Gm1m2/r²

Newton published the universal law of gravitation in the Principia in 1687. The formula is short, but it underpins celestial mechanics, satellite orbits, planetary motion, and even the existence of stable solar systems.

Gravitational force formulas
F = G m1 m2 / r² universal law
g = G M / r² acceleration near M
r = √(G m1 m2 / F) solve for distance
m1 = F r² / (G m2) solve for mass

The inverse-square dependence is the formula's defining feature. Double the distance and the force drops to a quarter. Halve the distance and it quadruples. This sensitivity to distance is why precise satellite trajectories require continuous adjustment — small position errors at launch grow into large orbit deviations.

The gravitational constant G

The constant G ties the mass-and-distance geometry of the universal law to the actual force in newtons. Its modern value, 6.6743 × 10⁻¹¹ N m²/kg², comes from CODATA 2022. The uncertainty is about 22 parts per million — orders of magnitude worse than other fundamental constants because gravity at lab scales is so feeble.

Henry Cavendish made the first laboratory measurement of G in 1798. He suspended a horizontal rod with two small lead balls at the ends from a thin wire and placed two large lead balls (158 kg each) near the small balls. The tiny gravitational pull between them twisted the wire. By measuring the twist angle and the wire's torsion constant, Cavendish calculated G to within 1 percent of today's value — an extraordinary experimental feat.

Cavendish 1798
6.74e-11
1% accurate
CODATA 2022
6.6743e-11
22 ppm

Multiple modern measurements use atomic interferometry, torsion balances, and pendulum methods. They disagree at the 100-ppm level — not because of theoretical confusion but because the gravitational force is so small that every lab artifact (electrostatic charges, thermal drifts, building vibrations) leaves its mark on the data.

How to calculate gravitational force step by step

Take the Earth-Moon system. Earth mass = 5.972 × 10^24 kg, Moon mass = 7.342 × 10^22 kg, distance = 384,400 km = 3.844 × 10^8 m. Plug in:

F = (6.6743 × 10⁻¹¹) × (5.972 × 10^24) × (7.342 × 10^22) / (3.844 × 10^8)² ≈ 1.98 × 10^20 N

That is the constant tug pulling the Moon into its orbit. The same force keeps tides moving across Earth's oceans and slowly drains Earth's rotational energy — the Moon recedes about 3.8 cm per year as a result.

For comparison, the gravitational force between two 70 kg people standing 1 meter apart works out to 3.3 × 10⁻⁷ N. That is one ten-millionth of a newton, far below the threshold of feeling. Earth's pull dominates everyday life so completely that mutual gravity between humans is irrelevant for any practical purpose.

Tip

The gravitational force calculator accepts scientific notation: enter 5.972e24 for Earth's mass directly, no need to type 24 zeros. This is essential for astronomical bodies.

Gravitational force vs surface gravity

Surface gravity g is a special case of the universal law, applied at a planet's surface. Set m1 = the planet, m2 = a small probe mass, r = the planet's radius. Then F = m2 × (GM/r²), and dividing by m2 gives the acceleration g = GM/r².

For Earth: g = (6.6743 × 10⁻¹¹) × (5.972 × 10^24) / (6.371 × 10^6)² = 9.82 m/s², which matches the measured standard gravity to three decimal places. The standard value 9.80665 m/s² was set by international agreement in 1901 and is exact by definition.

Gravitational force in astronomy

Gravity is the choreographer of the cosmos. Planets orbit stars because gravitational force balances their inertia exactly to keep them in elliptical paths. Galaxies hold together because gravity binds their stars across hundreds of thousands of light years. Black holes are nothing more than gravity pushed to its mathematical extreme.

  • Sun–Earth = 3.54 × 10^22 N (drives Earth's 365-day orbit)
  • Earth–Moon = 1.98 × 10^20 N (creates tides)
  • Sun–Pluto = 3.6 × 10^16 N (still binds Pluto at 39 AU)
  • Milky Way center = ~10^41 N total (binds ~200 billion stars)
  • Black hole = formally infinite at singularity
  • You on Earth = 686 N for a 70 kg adult
  • Two 1 kg masses, 1 m apart = 6.67 × 10⁻¹¹ N

General relativity (Einstein, 1915) refines Newton's gravity at extreme conditions. Near black holes and at galactic scales, the geometry of spacetime matters and Newton's formula gets corrections. For everything inside our solar system at human scales, Newton is accurate to 10 decimal places, which is why the gravitational force calculator uses his formula.

Common gravitational force mistakes

The biggest mistake is using surface-to-surface distance instead of center-to-center. The formula assumes point masses or spherically symmetric bodies, with r measured between the geometric centers. For a satellite orbiting at 400 km altitude, the distance is 6,371 + 400 = 6,771 km, not 400 km.

The formula breaks down inside a mass

Newton's law treats the masses as point-like or as spheres seen from outside. Inside a planet, only the mass closer to the center than your position pulls you down; the shell outside cancels. The acceleration drops linearly to zero at the center, then grows in the opposite direction.

The second mistake is unit confusion. Mass must be in kilograms, distance in meters, and G in SI units. Using grams or kilometers throws the answer off by orders of magnitude. The third mistake is forgetting that g varies with location. At the equator g is 9.78 m/s²; at the poles it is 9.83 m/s²; on Everest it is 9.77 m/s². For weight calculations to one percent accuracy, this matters.

FAQ

Use Newton's universal law: F = G m1 m2 / r^2. With masses in kilograms and distance in meters, the result is in newtons. The constant G = 6.6743 × 10^-11 N m^2 / kg^2.
G is the proportionality constant in Newton's law of gravitation, 6.6743 × 10^-11 N m^2 / kg^2. Henry Cavendish measured it in 1798 with a torsion balance. Today's value still carries about 22 ppm uncertainty — the worst of any fundamental constant.
At the particle scale, gravity is roughly 10^36 times weaker than electromagnetism. The reason is not understood; it is called the hierarchy problem and remains an open question in theoretical physics.
For a small object near a large mass M, the gravitational acceleration is g = GM/r^2. On Earth, plugging in M = 5.972 × 10^24 kg and r = 6.371 × 10^6 m gives g = 9.81 m/s^2 — the familiar surface gravity.
No. Unlike electromagnetism, gravity is not screened or modified by matter between the two bodies. It depends only on the masses and the geometric distance between them.
Two 70 kg people standing 1 meter apart attract each other with about 3.3 × 10^-7 N. That is roughly the weight of a grain of dust. Gravitational attraction is utterly dominated by Earth's pull at human scales.
Henry Cavendish (1798) suspended a horizontal rod with two small lead spheres at the ends. Large lead spheres placed nearby twisted the rod through gravity alone. By measuring the twist and the timing of oscillations, he calculated G to within 1 percent of today's value.
The shell theorem (Newton, 1687) proved that a spherically symmetric mass attracts external objects as if all its mass were concentrated at its center. This lets us treat Earth, the Moon, and stars as point masses for orbital calculations.