CalcUnit Logo

How to Calculate Gravitational Force

Calculate gravitational force between two masses.

The Formula

F = Gm₁m₂/r²

The gravitational force formula uses the mathematical relationship: F = Gm₁m₂/r². Each variable in the formula represents a measurable quantity that affects the final result.

What Each Variable Means

Every value in the gravitational force formula, what it measures, and the value used in the worked example on this page:

VariableTypeExample value
Mass 1 (m1)Input (you provide)5,972,000,000,000,000,000,000,000 kg
Mass 2 (m2)Input (you provide)73,480,000,000,000,000,000,000 kg
Distance (r)Input (you provide)384,400,000 m
Gravitational Force (F)Result (calculated)—

Step-by-Step Method

  1. 1Write down the values you know: Mass 1 (m1), Mass 2 (m2), Distance (r).
  2. 2Substitute your known values into the formula: F = Gm₁m₂/r².
  3. 3Work through the arithmetic in the standard order of operations — parentheses first, then exponents, then multiplication and division, then addition and subtraction.
  4. 4Check that your result carries the correct unit and falls in a reasonable range for the problem.
  5. 5Verify your answer with the interactive Gravitational Force Calculator — it solves the same formula instantly.

Worked Example

Take a concrete case: mass 1 (m1) = 3,000,000,000,000,000,000,000,000 kg, with the other inputs at the typical values from the variables table above. Substituting into the formula gives gravitational force (f) = 99570197375046139904.0000. These numbers are solved by the same engine that powers the Gravitational Force calculator, so you can reproduce them exactly by entering the same inputs there.

Mass 1 (m1)Gravitational Force (F)
1,000,000,000,000,000,000,000,000 kg33190065791682048000.0000
3,000,000,000,000,000,000,000,000 kg99570197375046139904.0000
4,000,000,000,000,000,000,000,000 kg132760263166728192000.0000
6,000,000,000,000,000,000,000,000 kg199140394750092279808.0000
7,000,000,000,000,000,000,000,000 kg232330460541774331904.0000
8,999,999,999,999,999,000,000,000 kg298710592125138436096.0000
10,000,000,000,000,000,000,000,000 kg331900657916820455424.0000
20,000,000,000,000,000,000,000,000 kg663801315833640910848.0000

How each result changes as mass 1 (m1) changes, holding the other inputs constant.

Practice Problems

1. Earth and Moon: Plug in Mass 1 (m1) 5,972,000,000,000,000,000,000,000 kg, Mass 2 (m2) 73,480,000,000,000,000,000,000 kg, Distance (r) 384,400,000 m. What is the answer?

Answer: With Mass 1 (m1) 5,972,000,000,000,000,000,000,000 kg, Mass 2 (m2) 73,480,000,000,000,000,000,000 kg, Distance (r) 384,400,000 m, the results are Gravitational Force (F) 198,211,072,907,925,200,000.0000 N.

2. Given Mass 1 (m1) 87.5 kg, Mass 2 (m2) 80 kg, Distance (r) 1 m, what does it come out to?

Answer: Entering Mass 1 (m1) 87.5 kg, Mass 2 (m2) 80 kg, Distance (r) 1 m gives Gravitational Force (F) 0.0000 N.

Frequently Asked Questions

What is the formula for gravitational force?

The formula is: F = Gm₁m₂/r². Calculate gravitational force between two masses.

What values do I need to calculate gravitational force?

You need mass 1 (m1), mass 2 (m2), distance (r). The calculator produces gravitational force (f) from those inputs.

What is the gravitational force when mass 1 (m1) is 3,000,000,000,000,000,000,000,000 kg?

With mass 1 (m1) = 3,000,000,000,000,000,000,000,000 kg, the result is gravitational force (f) = 99570197375046139904.0000. This is worked through in full in the example on this page.

Related Topics

gravitygravitational forcenewtonphysics

Use the Interactive Calculator

Skip the manual math — get instant results with our free Gravitational Force calculator.

Open Calculator

Related Calculators