Gravitational Attraction Calculator

Gravitational Attraction Calculator







Every pair of masses in the universe pulls on each other, from apples and Earth to galaxies across cosmic voids. Newton's law of universal gravitation quantifies that pull exactly, and the Gravitational Attraction Calculator evaluates it for any two masses at any distance, reporting the force in newtons and micronewtons plus each mass's acceleration.

Gravity is absurdly weak compared to everyday forces: two 1,000-kg masses ten meters apart attract each other with a force of about 0.67 micronewtons, less than a mosquito's weight. Only planetary masses make gravity feel strong, which is precisely why the calculator's scientific-notation outputs matter.

This guide explains Newton's law, the gravitational constant, how to use the calculator, and how to interpret the tiny numbers it returns. Two worked examples, lab-scale masses and an Earth-satellite scale check, show complete calculations, followed by deep dives on Cavendish's experiment and gravity versus weight.

Newton's Law of Universal Gravitation

The law states F = G x m1 x m2 / r²: the force equals the gravitational constant times the product of the masses, divided by the squared distance between their centers. Double one mass and the force doubles; double the distance and the force quarters.

G, the gravitational constant (6.674 x 10^-11 N·m²/kg²), is the number that makes the units work and sets gravity's feeble scale. It is one of the least precisely known fundamental constants because gravity is so hard to isolate from stronger effects.

The inverse-square form means gravity weakens fast with distance but never reaches zero: technically, you gravitationally attract everything in the observable universe, just immeasurably weakly.

Why Gravity Feels Strong (But Isn't)

Gravity dominates the cosmos not by strength but by monopoly: mass only attracts, never repels, and there is no negative mass to cancel it. Electric forces are vastly stronger per particle but cancel out in neutral matter.

Earth's pull feels mighty because Earth is massive: 5.97 x 10^24 kg concentrated beneath you. The calculator shows the flip side, human-scale masses produce forces in micronewtons and below, measurable only with exquisite instruments.

This weakness is why general relativity was needed for precision cosmology while Newton suffices for spacecraft: at everyday scales the Newtonian formula the calculator uses is accurate to extraordinary precision.

Force, Acceleration, and Weight

Force and acceleration differ by mass: a = F/m. The calculator reports each mass's acceleration toward the other, showing the lighter mass accelerates more, the formal content of Newton's third law in gravitational form.

Weight is simply gravitational force against a planet: your weight is Earth's mass pulling on your mass at Earth's radius. The same formula computes the Moon's pull on you, about one-sixth as strong.

In orbit, gravity still pulls at nearly full strength; weightlessness is continuous free-fall, not absence of gravity. Astronauts accelerate toward Earth at about 8.7 m/s², they just never hit it.

Gravity Assists: Stealing Planetary Momentum

Spacecraft steal momentum from planets via gravity assists: falling into a planet's gravity well and swinging around it can add or subtract kilometers per second without burning fuel. Voyager 2's grand tour of four planets ran on stolen momentum.

The physics is pure Newton: the spacecraft's hyperbolic trajectory through the planet's field rotates its velocity vector, exchanging momentum with the planet. The planet slows by an immeasurably tiny amount; the probe gains enormously.

Mission designers chain assists: Parker Solar Probe used seven Venus flybys to shed orbital energy and approach the Sun. Each encounter is computed with the same inverse-square law the calculator evaluates.

The calculator's two-body formula is the kernel of these trajectories; real missions add n-body perturbations and relativity, but every gravity assist starts as F = Gm₁m₂/r².

Even light bends: gravitational lensing by galaxies follows the same field, letting astronomers weigh invisible dark matter by the curvature it imprints on background galaxies.

How to Use the Gravitational Attraction Calculator

Enter two masses and their center-to-center distance; the calculator returns the gravitational force and each mass's acceleration.

Step 1: Enter mass 1 in kilograms.

Step 2: Enter mass 2 in kilograms.

Step 3: Enter the distance between centers in meters, not between surfaces.

Step 4: Click Calculate to see force in newtons and micronewtons plus both accelerations.

Step 5: Expect tiny numbers for everyday masses; that is correct physics, not an error.

Worked Example: Two 1,000-kg Masses, 10 m Apart

Two 1,000 kg masses sit with centers 10 meters apart.

Step 1: Product of masses: 1,000 x 1,000 = 1,000,000 kg².

Step 2: Distance squared: 10² = 100 m².

Step 3: Force: 6.674 x 10^-11 x 1,000,000 / 100 = 6.674 x 10^-10 N.

Step 4: In micronewtons: 6.674 x 10^-10 x 10^6 = 6.674 x 10^-4 µN.

Step 5: Acceleration of each mass: 6.674 x 10^-10 / 1,000 = 6.674 x 10^-13 m/s².

Step 6: Physical sense: utterly undetectable without laboratory torsion balances, exactly as expected.

Result: 6.674 x 10^-10 N; each mass accelerates at 6.674 x 10^-13 m/s².

Worked Example: Person and Earth Sanity Check

A 70 kg person stands on Earth (5.972 x 10^24 kg), centers 6.371 x 10^6 m apart.

Step 1: Mass product: 70 x 5.972 x 10^24 = 4.18 x 10^26.

Step 2: Distance squared: (6.371 x 10^6)² = 4.06 x 10^13 m².

Step 3: Force: 6.674 x 10^-11 x 4.18 x 10^26 / 4.06 x 10^13 = 687 N.

Step 4: Check: 70 kg x 9.81 m/s² = 686.7 N, matching perfectly.

Step 5: Person's acceleration: 687/70 = 9.81 m/s², the familiar g.

Step 6: Earth's acceleration toward the person: 687 / 5.972 x 10^24 = 1.15 x 10^-22 m/s², utterly negligible.

Result: 687 N of weight; the formula reproduces everyday gravity exactly.

The Cavendish Experiment

In 1798 Henry Cavendish measured G with a torsion balance: a suspended rod with small masses twisted by the attraction of nearby large masses, the twist angle revealing the micronewton forces. It was the first laboratory weighing of the Earth.

Modern versions use torsion fibers, laser interferometry, and cryogenics, yet G remains the least precise fundamental constant, with competing measurements disagreeing slightly. Gravity's weakness is an experimental curse.

The calculator lets you replay Cavendish: enter his approximate masses and separations and watch micronewton forces emerge, the same numbers that once weighed a planet.

Gravity vs Weight vs Mass

Mass (kg) is intrinsic matter content, unchanged anywhere. Weight (N) is gravitational force on that mass, changing with location: 70 kg weighs 687 N on Earth, 114 N on the Moon.

The calculator computes force, the universal currency. Weight is just the special case where one mass is a planet and the distance is its radius.

In deep space far from masses, weight approaches zero while mass persists: shoving a 1,000-kg satellite still needs 1,000 N per m/s² of acceleration, weightless but not massless.

Measuring G: Modern Experiments

Today's best G measurements use torsion balances descended from Cavendish's, now with laser interferometry reading fiber twists, and atom interferometry, dropping cold atoms through gravitational fields to measure acceleration directly.

Two leading methods disagree slightly beyond their stated uncertainties, the G discrepancy, making gravity's constant the least precisely known fundamental constant. Something subtle, perhaps fiber anelasticity or magnetic contamination, still hides in the experiments.

Proposed space-based measurements would escape seismic noise, the dominant error on Earth. Until then, metrologists refine terrestrial apparatuses, and CODATA's recommended G carries more uncertainty than any sibling constant.

The practical impact is nil for engineering: nine significant figures of G suffice for spacecraft navigation. But for fundamental physics, the discrepancy hints at undiscovered systematics, or conceivably new physics, in humanity's oldest force law.

Tips

  1. Always use center-to-center distance; surface gaps understate the true separation.
  2. Expect scientific notation for everyday masses; micronewtons are the honest scale.
  3. Double-check mass units: grams must be converted to kilograms first.
  4. Verify with the Earth sanity check: 70 kg at Earth's radius should give ~687 N.
  5. Remember force scales linearly with mass but inverse-square with distance.
  6. Use the acceleration outputs to see which mass moves more: always the lighter one.
  7. For astronomical masses, enter values like 5.972e24 directly; the math handles it.
  8. Newton's formula suffices below relativistic speeds and extreme densities.
  9. Replay Cavendish in the calculator: lab masses and separations yield micronewton forces.
  10. Remember G's uncertainty dwarfs other constants; use CODATA's value with its error bar.
  11. For mission design, the two-body formula is the starting kernel before n-body corrections.
  12. Nine significant figures of G suffice for engineering; the discrepancy matters to metrology.
  13. For surface-to-surface problems, add both radii to the gap to get center-to-center distance.
  14. Compare your result's order of magnitude against known cases before trusting the digits.
  15. Use kilograms and meters exclusively; convert grams and kilometers first.
  16. Remember the force on each mass is equal; only the resulting accelerations differ.
  17. Test the inverse-square law directly: double the distance input and watch the force quarter.

1. What is the formula for gravitational attraction?

F = G·m₁·m₂/r², with G = 6.674×10⁻¹¹ N·m²/kg², masses in kg, and center-to-center distance in meters. F = G·m₁·m₂/r², with G = 6.674×10⁻¹¹ N·m²/kg², masses in kg, and center-to-center distance in meters.

2. How weak is gravity between people?

Two 70-kg people 1 m apart attract at about 3.3×10⁻⁷ N, roughly a hundred-millionth of their weights. Utterly undetectable. Two 70-kg people 1 m apart attract at about 3.3×10⁻⁷ N, roughly a hundred-millionth of their weights: utterly undetectable.

3. What is the gravitational constant G?

6.674×10⁻¹¹ N·m²/kg², the proportionality constant setting gravity's scale. It is the least precisely measured fundamental constant. 6.674×10⁻¹¹ N·m²/kg², the proportionality constant setting gravity's scale and the least precisely measured fundamental constant.

4. Why is distance squared in the formula?

Gravity spreads over the surface of an expanding sphere (area 4πr²), so intensity falls as 1/r². This inverse-square geometry is exact in Newtonian physics. Gravity spreads over the surface of an expanding sphere (area 4πr²), so intensity falls as 1/r²; this inverse-square geometry is exact in Newtonian physics.

5. Does distance mean surface to surface?

No. Always center-to-center. For a person on Earth, that is Earth's radius, 6,371 km, not zero. No; always center-to-center, so for a person on Earth that is Earth's radius, 6,371 km, not zero.

6. How did Cavendish measure such tiny forces?

With a torsion balance: the gravitational twist of a suspended fiber, amplified optically, revealed micronewton attractions in 1798. With a torsion balance: the gravitational twist of a suspended fiber, amplified optically, revealed micronewton attractions in 1798.

7. Is Newton's law still correct?

For everyday and most astronomical scales, yes, to exquisite precision. Einstein's relativity corrects it near black holes and at cosmic scales. For everyday and most astronomical scales, yes, to exquisite precision; Einstein's relativity corrects it near black holes and at cosmic scales.

8. What is the difference between g and G?

G is the universal constant (6.674×10⁻¹¹); g is local gravitational acceleration (~9.81 m/s² on Earth), derived from G with Earth's mass and radius. G is the universal constant (6.674×10⁻¹¹); g is local gravitational acceleration (~9.81 m/s² on Earth), derived from G with Earth's mass and radius.

9. Do I attract the Earth as it attracts me?

Yes, equally and oppositely. Earth's acceleration toward you is real but ~10⁻²² m/s², lost in seismic noise. Yes, equally and oppositely; Earth's acceleration toward you is real but ~10⁻²² m/s², lost in seismic noise.

10. Can gravity be shielded or blocked?

No. Unlike electromagnetism, gravity cannot be shielded; mass only attracts, and no negative mass exists to cancel it. No; unlike electromagnetism, gravity cannot be shielded, since mass only attracts and no negative mass exists to cancel it.

11. Why don't we feel the Sun's gravity?

We do, as tides and Earth's orbit, but free-fall around the Sun cancels the local sensation, like astronauts in orbit. We do, as tides and Earth's orbit, but free-fall around the Sun cancels the local sensation, like astronauts in orbit.

12. How strong is gravity on the Moon?

About 1.62 m/s², one-sixth of Earth's. The calculator's companion gravity-force tool computes weights there directly. About 1.62 m/s², one-sixth of Earth's; the companion gravity-force tool computes weights there directly.

13. What happens to gravity at Earth's center?

Net force cancels to zero at the exact center; you would be weightless (though crushed by pressure). Net force cancels to zero at the exact center, so you would be weightless there, though crushed by pressure.

14. Does altitude noticeably reduce weight?

Slightly: at 10 km altitude weight drops ~0.3%. At the ISS's 400 km, gravity is still ~8.7 m/s². Slightly: at 10 km altitude weight drops ~0.3%, while at the ISS's 400 km, gravity is still ~8.7 m/s².

15. Can the calculator handle planets?

Yes. Enter planetary masses in kg (e.g., 5.972e24) and center distances in meters for exact Newtonian forces. Yes; enter planetary masses in kg (e.g., 5.972e24) and center distances in meters for exact Newtonian forces.

CONCLUSION

The Gravitational Attraction Calculator evaluates Newton's law for any two masses at any distance, returning the force and each mass's acceleration. Run lab-scale masses to feel gravity's weakness; run the Earth check to feel its everyday strength.

One equation, one constant, the entire falling universe: that is the unreasonable effectiveness of F = Gm₁m₂/r².