How To Calculate The Gravitational Force Between Two Objects

9 min read

Pull two textbooks toward each other across a desk and nothing dramatic happens. Gravity is weird like that. Now, the force between them is so small you could spend a lifetime measuring it and still not be sure you saw it. Now look up at the Moon, and you realize the exact same invisible tug is keeping it locked in orbit around the Earth — 384,000 kilometers away. It's simultaneously the weakest of the four fundamental forces and the one that shapes the largest structures in the universe.

It sounds simple, but the gap is usually here.

So how do you actually calculate* it? Turns out, the math is almost embarrassingly simple. Newton wrote it down in the 1600s and we've been using the same formula ever since.

What Gravitational Force Actually Is

Gravitational force is the attraction between any two objects that have mass. Not just planets and stars — your coffee mug has a gravitational pull on your phone, your phone has a pull on you, you're pulling on the cat sitting across the room. It's just that the numbers are absurdly small until you get into planetary-sized masses No workaround needed..

Most guides skip this. Don't.

What makes gravity different from, say, magnetism is that there's only one "flavor." Magnets can attract or repel. Mass only attracts other mass. Which means there's no such thing as negative mass pushing things away. That one-way pull is what lets galaxies stay galaxies instead of flying apart The details matter here..

The other thing worth understanding upfront: gravity acts at a distance. It doesn't need air, doesn't need a wire, doesn't need contact. Two objects in otherwise empty space will still feel each other's pull. That's why that used to freak out Newton, honestly. He famously refused to publish his work on gravity for years partly because he couldn't explain how it reached across empty space. Einstein eventually had a better answer with general relativity, but for almost any practical calculation you'll ever do, Newton's original formula is more than enough.

Why You'd Ever Want to Calculate It

Real talk — most people asking this question fall into one of three camps.

The first is physics students. School problems, lab work, that kind of thing. "Two 70 kg students sit 2 meters apart — what's the force?" The answer is going to be microscopic, which is the whole point of the exercise. It teaches you that gravity is universal but weak, and that "huge" masses are required for "noticeable" effects Simple, but easy to overlook..

The second camp is astronomy hobbyists. That's why maybe you want to work out the pull between Earth and Mars at their closest approach, or estimate the force Jupiter exerts on its moons, or just understand how satellites stay in orbit. Same formula, bigger numbers And that's really what it comes down to..

It sounds simple, but the gap is usually here.

The third is the curious — people who've watched a sci-fi movie, wondered how black holes work, or just like knowing how the universe ticks. If that's you, welcome. This is genuinely one of the most satisfying formulas in all of physics because it's so compact Not complicated — just consistent. Surprisingly effective..

The Formula (and What Each Part Means)

Here it is. Memorize this and you basically have 80% of classical gravitational physics:

F = G × (m₁ × m₂) / r²

That's it. Here's the thing — five symbols. Let's go through them one at a time Nothing fancy..

F is the gravitational force, measured in newtons (N). A newton is roughly the force needed to lift a small apple Worth keeping that in mind..

G is the gravitational constant. This is the universal number that makes everything work. Its value is approximately 6.674 × 10⁻¹¹ N·m²/kg². That's a tiny, tiny number with eleven zeros after the decimal before the meaningful digits start. That's why everyday objects don't noticeably attract each other.

m₁ and m₂ are the masses of the two objects, in kilograms. It doesn't matter which one is which — gravity is symmetric. The Earth pulls on you with the same force you pull on the Earth. You're not moving noticeably because you have a lot less mass to accelerate.

r is the distance between the centers* of the two objects, in meters. Not the distance between their surfaces. This trips up a lot of people. If you're calculating the force between you and the Earth, the distance isn't 6,371 km (Earth's radius) — that would only be true if you were a single point at the surface. The full center-to-center distance is the radius of the Earth plus your height above the surface. For most everyday problems, "Earth's radius" is a close enough approximation Less friction, more output..

The "r²" part — distance squared — is the famous inverse square law. Also, double the distance, and the force drops to a quarter. Triple it, and the force drops to a ninth. This is why gravitational influence falls off so quickly with distance, and why you have to get very* far from a planet before you're truly "free" of it.

How to Actually Do a Calculation

Let's walk through a real example so you can see the formula in action That's the part that actually makes a difference..

Say you want to find the force between the Earth and the Moon.

Earth's mass (m₁) ≈ 5.Plus, 35 × 10²² kg Distance between centers (r) ≈ 3. 97 × 10²⁴ kg Moon's mass (m₂) ≈ 7.84 × 10⁸ m G ≈ 6 And that's really what it comes down to..

Plug it in:

F = (6.674 × 10⁻¹¹) × (5.Practically speaking, 97 × 10²⁴ × 7. 35 × 10²²) / (3 Still holds up..

The numerator of the mass part: 5.9, then add the exponents: 10²⁴ × 10²² = 10⁴⁶. So the mass product is roughly 4.97 × 7.35 ≈ 43.39 × 10⁴⁷.

The denominator: (3.Still, 84)² ≈ 14. Also, 7, and (10⁸)² = 10¹⁶. So r² is about 1.47 × 10¹⁷ Simple as that..

Now divide: 4.39 × 10⁴⁷ / 1.47 × 10¹⁷ ≈ 2.99 × 10³⁰.

Multiply by G: 6.674 × 10⁻¹¹ × 2.But 99 × 10³⁰ ≈ 2. 0 × 10²⁰ N.

About 200,000,000,000,000,000,000 newtons. Yeah. Big Simple, but easy to overlook..

A useful sanity check: the Moon orbits Earth because of this exact force, and orbital mechanics checks out when you work the numbers backward. That's a great way to know you didn't make a unit error.

Common Mistakes That'll Wreck Your Answer

Mixing up units. The single biggest reason people get the wrong answer. If you put grams in instead of kilograms, or kilometers in instead of meters, your result will be off by factors of thousands. Always double-check that everything is in SI units before you start crunching Simple, but easy to overlook..

Using the wrong distance. Remember, r is center to center, not edge to edge. For the Earth-Moon calculation, you use the average orbital distance, not the Earth's radius. For a person standing on Earth's surface, the relevant r is Earth's radius plus their height, though the height term is so small relative to 6,371 km that you can almost always ignore it Easy to understand, harder to ignore..

Forgetting that G has units. G isn't a pure number — it has units (N·m²/kg²) that make the equation dimensionally consistent. If you ever write F = Gm₁m₂/r² and the units don't work out to newtons, something is wrong No workaround needed..

Thinking mass and weight are the same. Your mass in kilograms is the same on Earth, on the Moon, and floating in space. Your weight* — the gravitational force on you — changes depending on where you are. The formula gives you force (essentially weight here), not mass.

Assuming Newton's law works everywhere. It works incredibly well for almost everything you'd ever calculate in a classroom or hobbyist context. It starts to break down near very massive or very dense objects — black holes, for instance — where general relativity takes over. For 99.9% of practical problems, this isn't something you need to worry about, but it's worth knowing the limit exists.

Tips That Actually Help

A few things that make this easier in practice.

Use scientific notation religiously. Once your numbers get above 10⁶ or below 10⁻³, writing them out as regular numbers is asking for mistakes. Scientific notation keeps the exponents clear and the digits manageable.

Work the units before the numbers. Seriously. Write out G in N·

m²/kg², then m₁ and m₂ in kg, r in m. On the flip side, you'll see newtons pop out the other end before you ever touch a calculator. Now, cancel what you can. It catches unit errors instantly And that's really what it comes down to..

Estimate first. Before you punch in the exact values, do a quick order-of-magnitude check. Earth mass ~ 10²⁴ kg, Moon mass ~ 10²² kg, distance ~ 10⁸ m, G ~ 10⁻¹¹. So roughly 10⁻¹¹ × 10⁴⁶ / 10¹⁶ = 10¹⁹ newtons. If your final answer is 10²⁵ or 10¹², you know immediately something went sideways Simple, but easy to overlook. No workaround needed..

Keep extra digits until the end. Rounding intermediate steps is how you accumulate error. Carry at least two or three guard digits through the calculation, then round your final answer to the appropriate significant figures based on your least precise input Easy to understand, harder to ignore. Worth knowing..

Memorize the constants you actually use. G = 6.674 × 10⁻¹¹ N·m²/kg². Earth mass = 5.97 × 10²⁴ kg. Earth radius = 6.37 × 10⁶ m. Having these at your fingertips saves time and reduces transcription errors Simple, but easy to overlook. And it works..

When You'd Actually Use This

Outside of physics homework, this formula shows up in surprisingly practical places And that's really what it comes down to..

Satellite operators use it constantly — not the simplified version, but the full deal with perturbations from the Sun, Moon, and Earth's oblateness factored in. GPS satellites need relativistic corrections on top of Newtonian gravity, but the baseline orbital mechanics starts right here.

It sounds simple, but the gap is usually here.

Planetary scientists use it to weigh planets. We didn't know Mercury's mass until we sent a spacecraft past it and watched its trajectory bend. Same for asteroids — the NEAR Shoemaker mission determined Eros's mass by tracking how the spacecraft's orbit changed Worth keeping that in mind..

Even geologists use variations of it. Gravimeters measure tiny differences in local g to map density variations underground — useful for finding oil, minerals, or groundwater. The principle is the same: mass attracts mass, and measuring that attraction tells you what's down there Worth keeping that in mind. Took long enough..

The Bottom Line

Newton's law of universal gravitation is one of those rare equations that's both conceptually simple and computationally honest. No hidden variables, no empirical fudge factors, no "it works because we calibrated it." Two masses, a distance, one constant. That's it.

The math looks intimidating at first glance — all those exponents and tiny constants — but it's just multiplication and division dressed up in scientific notation. The hard part isn't the arithmetic; it's keeping your units straight and remembering what r actually means Most people skip this — try not to..

Once you've done it a few times, the pattern locks in. Day to day, you stop seeing a formula and start seeing a relationship: double the mass, double the force. Double the distance, quarter the force. The universe runs on inverse-square laws, and gravity was the first one we figured out.

Not bad for a guy sitting under an apple tree.

New Releases

Hot Topics

Keep the Thread Going

Good Reads Nearby

Thank you for reading about How To Calculate The Gravitational Force Between Two Objects. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home