CalcSeed

Gravitational Force Calculator

Find the gravitational attraction between two masses separated by a distance, using the universal gravitational constant.

=
Quick answer: with the default inputs (1,000,000 kg, 1,000,000 kg, 10 m), the gravitational force is 0.67. Change any input to update the result.
Gravitational force
—

What you get back

Enter two masses in kilograms and the distance between their centres in metres, and the tool returns the attractive force in newtons. Two 1,000 tonne masses 10 m apart pull on each other with 0.667 N, about the weight of a small apple.

F=Gm1m2r2F=G\frac{m_1 m_2}{r^2}

The equation and the constant

m₁ and m₂ are the two masses in kilograms, r is the distance between their centres in metres, and G is the gravitational constant, 6.674 × 10⁻¹¹ N·m²/kg². The product of the masses sits on top, so more mass means more pull; the distance is squared underneath, so separation suppresses the force quickly.

The constant is tiny, and that single fact explains why gravity feels negligible in daily life. Two 70 kg people standing 1 m apart attract with 3.3 × 10⁻⁷ N, roughly the weight of a grain of sand. Nothing in a laboratory registers it without a torsion balance, which is how Cavendish first measured G in 1798.

Why the force is always attractive

There is no negative mass, so the product m₁m₂ is never negative and the force always pulls rather than pushes. That is unlike electrostatics, where like charges repel. Gravity also cannot be screened: no material blocks it, which is why a detector at the bottom of a mine shaft still feels the Moon.

Worked example at the defaults

Two masses of 1,000,000 kg each, 10 m apart. The product is 10⁶ × 10⁶ = 10¹². Multiply by G: 6.674 × 10⁻¹¹ × 10¹² = 66.74. Divide by r² = 100: 0.667 N. That is a real but small force, about the weight of a large apple.

The default deserves a note on scale. A million kilograms is 1,000 tonnes, so this pair is two loaded cargo ships pressed together. Even at that mass, 10 m apart, the pull is under a newton — which is why gravity only becomes a design constraint at planetary masses.

Redo it in kilograms. Two 10⁶ kg masses 10 m apart: 6.674 × 10⁻¹¹ × 10¹² ÷ 100 = 0.667 N. Doubling either mass doubles the force; doubling the separation cuts it to 0.167 N, a quarter. Those two responses are the whole behaviour of the law.

Gravitational forces at different scales

PairMassesSeparationForce
Two people70 kg each1 m3.3 × 10⁻⁷ N
This calculator’s default10⁶ kg each10 m0.667 N
Two large ships10⁸ kg each100 m66.7 N
Earth and Moon5.97 × 10²⁴ and 7.35 × 10²² kg3.84 × 10⁸ m1.98 × 10²⁰ N
Earth and Sun5.97 × 10²⁴ and 1.99 × 10³⁰ kg1.50 × 10¹¹ m3.54 × 10²² N

Force alone is misleading without the acceleration it produces. The Earth–Moon force of 1.98 × 10²⁰ N sounds enormous, but divided by the Moon’s mass it gives 2.7 × 10⁻³ m/s², which is exactly the centripetal acceleration needed for its orbit. Divide by Earth’s much larger mass and the same force moves Earth by only 3.3 × 10⁻⁵ m/s².

What changes the answer

  • Either mass: force is linear in each, so tripling one mass triples the attraction.
  • Separation: force falls with the square, so 10 times the distance means one hundredth the force.
  • Distance convention: r is centre to centre, so for a surface calculation you add the planet radius to the altitude.
  • Density distribution: a non-spherical body pulls as if all its mass were at the centre only outside its surface, which is why mascons perturb low orbits.
  • G itself: measured to about 22 parts per million, the least precise fundamental constant, though the uncertainty never matters in textbook problems.

Surface gravity on other worlds

Setting m₁ to a planet’s mass, m₂ to 1 kg and r to its radius gives the surface gravity directly. Earth: 5.97 × 10²⁰ kg at 6,371 km yields 9.82 m/s². Mars: 6.42 × 10²³ kg at 3,390 km yields 3.73. The Moon: 7.35 × 10²² kg at 1,737 km yields 1.62. A 70 kg person therefore weighs 687 N on Earth, 261 N on Mars and 113 N on the Moon.

Mistakes that produce a wrong answer

  • Using altitude instead of distance from the centre. At 400 km up, r is 6,771 km, not 400 km, and the error is a factor of 286.
  • Forgetting to square the distance, which turns the inverse-square law into a simple inverse law.
  • Entering tonnes where kilograms are expected, which understates the force by 1,000 per mass and a million in total.
  • Adding the forces from two bodies as scalars when they point in different directions, which overstates the net pull.

The altitude error is the one that breaks orbital calculations. The ISS at 400 km altitude sits 6,771 km from Earth’s centre, so gravity there is 9.81 × (6,371 ÷ 6,771)² = 8.68 m/s², only 12% less than at the surface. Astronauts float because they are in free fall at 7.66 km/s, not because gravity has vanished.

Orbits and why the mass cancels

For a circular orbit, gravity supplies the centripetal force: GMm/r² = mv²/r. The orbiting mass m appears on both sides and cancels, leaving v = √(GM/r). A bolt and a space station at the same radius must travel at the same speed, which is why loose tools appear to hover rather than fall behind.

The same cancellation sets the period: T = 2π√(r³/GM). At 6,771 km from Earth’s centre that gives 5,540 s, or 92 minutes, close to the ISS’s 93. At the Moon’s 384,400 km it gives 27.3 days, matching the lunar month. One equation covers a space station and a natural satellite because the mass of the orbiting body never enters.

Frequently asked questions

What is the formula for gravitational force?

F = Gm₁m₂/r², with G = 6.674 × 10⁻¹¹. Two 10⁶ kg masses 10 m apart attract with 0.667 N.

Why is gravity so weak?

Because G is about 6.674 × 10⁻¹¹, so the force between everyday objects is unmeasurably small. Two 70 kg people a metre apart attract with 3.3 × 10⁻⁷ N.

What does inverse-square mean?

Force is proportional to 1/r². Doubling the separation cuts it to a quarter: at 20 m instead of 10 m the default pair pulls with 0.167 N instead of 0.667 N.

Does the distance include altitude?

r is centre to centre, so add the planet radius. The ISS at 400 km altitude is 6,771 km from Earth’s centre, where gravity is 8.68 m/s², not zero.

What is the gravitational force between Earth and the Moon?

About 1.98 × 10²⁰ N, using masses of 5.97 × 10²⁰ and 7.35 × 10²² kg at 3.84 × 10⁸ m.

Why do astronauts float if gravity is still strong?

They are in continuous free fall around Earth at 7.66 km/s. Gravity at the ISS is 8.68 m/s², about 88% of surface value, but everything falls together.

Does mass affect how fast something falls?

No. The gravitational force scales with mass and so does inertia, so acceleration is GM/r² regardless of the falling object’s mass.

What is the force between two 1 kg masses 1 m apart?

6.674 × 10⁻¹¹ N, far below any measurable threshold. It would take about 10¹⁰ seconds to change the speed of either by 1 m/s.

How precise is G?

About 22 parts per million, making it the least precisely known fundamental constant. The uncertainty affects satellite tracking at the metre level over long periods.

Method and sources

Calculation basis

Physical constants follow CODATA 2022 recommended values, and formulas follow standard physics definitions.

Last updated: November 17, 2026
Formula & data sources
  • Newton's law of universal gravitation with G = 6.674 × 10⁻¹¹ N·m²/kg².

Cite this page

Reference formats
APA 7CalcSeed. (2026, November 17). Gravitational Force Calculator. https://calcseed.com/c/scientific/gravitational-force-calculator/
MLA 9"Gravitational Force Calculator." CalcSeed, 17 Nov. 2026, calcseed.com/c/scientific/gravitational-force-calculator/.
ChicagoCalcSeed. "Gravitational Force Calculator." Last modified November 17, 2026. https://calcseed.com/c/scientific/gravitational-force-calculator/

Related calculators

People also calculate