CCalclabhub

Mechanics

How To Calculate A Gravitational Force

Every pair of masses in the universe pulls on each other, and the strength of that pull is one multiplication, one division and one constant.

Quick Answer

F = G x m1 x m2 / r squared

F
Gravitational force
G
Gravitational constant
m1, m2
The two masses
r
Centre-to-centre distance

Multiply the gravitational constant by both masses and divide by the square of the distance between their centres. Earth and the Moon, about 384,400 km apart, attract with roughly 1.98 x 10 to the 20 newtons.

What Is A Gravitational Force?

Newton's law of gravitation says that any two masses attract each other with a force proportional to the product of their masses and inversely proportional to the square of the distance between them. Multiply the gravitational constant by both masses, divide by the distance squared, and you have the force in newtons.

The constant is very small, about 6.6743 times 10 to the minus 11, which is why gravity feels weak until enormous amounts of mass are involved. Two people standing a metre apart attract each other, but the force is a few nanonewtons and there is no chance of noticing it. The reason gravity dominates the solar system is that the masses involved are astronomical in a literal sense.

The inverse square law is the part with the widest consequences. Double the distance and the force falls to a quarter. Triple it and the force falls to a ninth. This is the same geometric relationship that governs the falloff of light and sound from a point source, because in each case the effect spreads over a sphere whose area grows with the square of the radius.

Newton's third law means the two forces are always equal and opposite. The Earth pulls on the Moon with exactly the force with which the Moon pulls on the Earth. The difference in what happens next comes entirely from the masses: the Earth's acceleration is about 81 times smaller than the Moon's, which is why the Moon does most of the visible orbiting.

The centre-to-centre distance is a genuine requirement, not a rounding detail. For two spheres the gravitational field outside them is exactly the same as if all the mass sat at the centre, which is why the point-mass formula works for planets. But the distance must be measured between centres, so a satellite's altitude above the surface has to be added to the planet's radius before it goes into the formula.

The reduced mass is a useful by-product when the two bodies are of comparable size. It is the product divided by the sum, and it is the single mass that describes the relative motion of the pair in the two-body problem. For Earth and the Moon it comes out very close to the Moon's own mass, which is the quantitative statement that the Earth barely moves.

The separation energy is the other figure worth keeping. It is the force times the distance, and it tells you the energy you would have to add to pull the pair completely apart. For Earth and the Moon that is about 7.6 times 10 to the 28 joules, which is the number that makes clear how tightly bound even a seemingly empty region of space actually is.

The same equation that lets you weigh a planet also tells you why tides happen. The gravitational field is not uniform across an extended body, so the near side of the Earth is pulled more strongly than the far side, and the difference between the two produces two bulges. That differential force, not the absolute one, is what raises and lowers the oceans.

The same formula that lets you weigh a planet also lets you check the inverse square law. Measuring the field at several altitudes and comparing the values is one of the classic laboratory exercises in physics, because the prediction is exact and the deviation from it is hard to measure with ordinary equipment.

Formula

F = G x m1 x m2 / r^2

The attractive force between two point masses, or between two uniform spheres.

SymbolMeaning
FForce
GGravitational constant
m1First mass
m2Second mass
rSeparation

g = G x M / r^2 = F / m

The force per unit mass, which is the acceleration a small test mass would experience.

SymbolMeaning
gField strength
MSource mass
rDistance from centre

W = G x m1 x m2 / r

The energy needed to pull the two masses apart to infinite separation.

SymbolMeaning
WSeparation energy
GGravitational constant
m1, m2The two masses
rSeparation

How To Calculate A Gravitational Force

  1. 1

    Get both masses in kilograms

    Convert to kilograms if the problem quotes tonnes or grams. Earth is about 5.972 times 10 to the 24 kilograms, which is written as 5,972,000,000,000,000,000,000,000.

  2. 2

    Get the centre-to-centre distance in metres

    Add the radii if the problem gives altitudes. Earth and the Moon are about 384,400,000 metres apart centre to centre.

  3. 3

    Square the distance

    Multiply the distance by itself. This is where the inverse square law bites, and it is also the easiest place to drop a factor of a million.

  4. 4

    Multiply and divide

    Multiply the gravitational constant by both masses, then divide by the squared distance. The result is in newtons.

Examples

Example 1: Earth and the Moon

First mass
5.972 x 10^24 kg
Second mass
7.348 x 10^22 kg
Distance
384,400 km
StepCalculationResult
Distance in metresr in metres384400 x 1000
Distance squaredr squared147764960000000
NumeratorG x m1 x m20.000000000066743 x 5.972e24 x 7.348e22
Gravitational forceFabout 1.98 x 10^20 newtons

Result: Earth and the Moon attract each other with about 1.98 x 10 to the 20 newtons, and the acceleration that produces at the Moon is small enough to keep it in its orbit.

Example 2: Your weight on the surface

First mass
5.972 x 10^24 kg
Second mass
70 kg
Distance
6,371 km
StepCalculationResult
Radius in metresr in metres6371 x 1000
Field strengthg = G x M / r^20.000000000066743 x 5.972e24 / 6371000 squared
Field strength valueg9.81 metres per second squared
WeightW = m x g70 x 9.81

Result: A 70 kilogram person is pulled toward Earth with about 687 newtons, which is the figure a scale reads as weight.

Example 3: Doubling the distance

First mass
Earth
Second mass
Moon
Distance
768,800 km
StepCalculationResult
Distance factordistance factor2
Force factorforce factor1 / 2 squared
New forcenew force4.9553 x 10 to the 19

Result: Doubling the separation cuts the force to about 4.9553 x 10 to the 19 newtons, a quarter of the original, because the force follows an inverse square law.

Calculator

Gravitational force

1.982111e+20

Field strength
0.0026974833
Energy to separate
7.619234e+28
Reduced mass
7.258688e+22

Values update as you type. This calculator covers the single scenario its formula assumes — see Common Mistakes for what it leaves out.

Prefer a full-width tool? Open the A Gravitational Force calculator page.

Common Mistakes

  • Measuring the distance from the surface

    The formula takes the distance between centres. A satellite 400 km above Earth is 6,771 km from the centre, not 400 km.

  • Forgetting to square the distance

    Dividing by r instead of r squared overstates the force by a factor of r, which for planetary distances is enormous.

  • Using the wrong value of the constant

    G is about 6.6743 times 10 to the minus 11. Confusing it with the surface gravity of 9.81 is by far the most common substitution error.

  • Mixing units in the distance

    The problem may quote kilometres while the formula needs metres. Converting late rather than early is the usual reason for answers that are wrong by a factor of a million.

  • Assuming the two forces differ

    They are always equal and opposite. Only the resulting accelerations differ, because they scale inversely with each body's own mass.

  • Using the point-mass formula inside a planet

    Once you are inside a uniform body only the mass below you contributes, and the force falls toward zero at the centre. The full formula only applies outside the body.

FAQ

How do you calculate gravitational force?

Multiply the gravitational constant 6.6743e-11 by both masses and divide by the square of the centre-to-centre distance. The answer is in newtons.

Why is the gravitational constant so small?

Because force is measured in newtons and masses in kilograms, the constant has to be tiny for ordinary objects to produce ordinary forces. Its smallness is a consequence of the unit system, not a sign that gravity is intrinsically weak.

Do the Earth and the Moon pull on each other equally?

Yes, the forces are exactly equal and opposite. The Earth's much larger mass means it accelerates far less, so the Moon appears to do the orbiting.

What happens to the force if I double the distance?

It falls to a quarter of its original value, because the force is inversely proportional to the square of the separation.

Does gravity act between two small objects?

Yes, but the force is so small that it is undetectable next to friction or electromagnetic effects. It becomes significant only when at least one mass is planetary.

What is the difference between mass and weight?

Mass is the amount of matter in kilograms and does not change with location. Weight is the gravitational force on that mass, in newtons, and changes with the local gravitational field.

References

  1. [1]Wikipedia, Newton's law of universal gravitation — https://en.wikipedia.org/wiki/Newton%27s_law_of_universal_gravitation
  2. [2]Wikipedia, Gravitational constant — https://en.wikipedia.org/wiki/Gravitational_constant
  3. [3]NASA, Gravity and orbits — https://science.nasa.gov/