ES EN FR PT DE IT

Gravitational Force Calculator

Calculate the gravitational attraction between two masses.

The Gravitational Force Calculator is a free science calculator. Calculate the gravitational attraction between two masses. Solve physics and science problems with exact formulas.
Inputs
Physical Parameters
Values
Result
Enter values and press Calculate

What is Gravitational Force?

Gravitational force is the attractive force between any two objects with mass. From apples falling to planets orbiting, gravity governs motion throughout the universe. Newton's Law of Universal Gravitation quantifies this force: F = G(m₁m₂)/r², where G is the gravitational constant, m₁ and m₂ are the masses, and r is the distance between their centers. Every object with mass attracts every other object — you exert gravitational force on your phone, your car, and distant stars.

Consider two 1,000 kg lead spheres placed 1 meter apart. The gravitational force between them is F = 6.674×10⁻¹¹ × (1,000 × 1,000) ÷ 1² = 6.674×10⁻⁵ N — about 0.007 grams of force. This tiny force explains why we don't notice gravity between everyday objects. Now consider Earth (mass 5.97×10²⁴ kg) and a 70 kg person at Earth's surface (distance 6,371,000 m from center). Force: F = 6.674×10⁻¹¹ × (5.97×10²⁴ × 70) ÷ (6.371×10⁶)² = 687 N — exactly the person's weight. The same formula explains both negligible and enormous gravitational effects.

How it Works: Formulas Explained

Newton's gravitational formula F = Gm₁m₂/r² contains four elements. G (gravitational constant) equals 6.674×10⁻¹¹ N·m²/kg² — an extremely small number explaining gravity's weakness compared to other forces. The masses m₁ and m₂ appear in the numerator — doubling either mass doubles the force. Distance r appears squared in the denominator — doubling distance reduces force to one-quarter, the famous inverse-square law.

Let's calculate the force between Earth and Moon. Earth's mass: 5.97×10²⁴ kg. Moon's mass: 7.35×10²² kg. Average distance: 384,400,000 m. Force: F = 6.674×10⁻¹¹ × (5.97×10²⁴ × 7.35×10²²) ÷ (3.844×10⁸)² = 6.674×10⁻¹¹ × 4.39×10⁴⁷ ÷ 1.48×10¹⁷ = 1.98×10²⁰ N. This enormous force — equivalent to the weight of 20 quadrillion tonnes — keeps the Moon in orbit. Despite this force, the Moon doesn't crash into Earth because its orbital velocity creates a balance between gravitational pull and inertial tendency to travel straight.

The calculator handles scientific notation for astronomical masses and distances. Results display in newtons, with optional conversion to more intuitive units. For planetary calculations, forces typically range from 10¹⁸ to 10²³ N. For everyday objects, forces are 10⁻¹⁰ N or smaller — measurable only with sensitive equipment like the Cavendish balance that first measured G in 1798.

Step-by-Step Guide

  1. Identify the first mass — Enter m₁ in kilograms. For Earth, use 5.97×10²⁴ kg. For a person, use 70 kg. The calculator accepts scientific notation (5.97e24) for large values.
  2. Identify the second mass — Enter m₂ in kilograms. For the Moon, use 7.35×10²² kg. For a car, use 1,500 kg. Both masses contribute equally to the force — swapping m₁ and m₂ gives identical results.
  3. Measure center-to-center distance — Enter r in meters. For objects on Earth's surface, use Earth's radius (6,371,000 m). For satellites, add altitude to Earth's radius. Distance is measured between centers of mass, not surfaces.
  4. Square the distance — Calculate r². For Earth's surface: (6.371×10⁶)² = 4.06×10¹³ m². This squaring creates the inverse-square relationship — force drops rapidly with distance.
  5. Multiply masses and G — Compute G × m₁ × m₂. For Earth-person: 6.674×10⁻¹¹ × 5.97×10²⁴ × 70 = 2.79×10¹⁶ N·m².
  6. Divide to find force — Complete F = (Gm₁m₂) ÷ r². For Earth-person: 2.79×10¹⁶ ÷ 4.06×10¹³ = 687 N. This equals the person's weight — gravitational force and weight are the same thing.

Real-World Examples

Example 1: International Space Station Orbit
The ISS has mass 420,000 kg and orbits at 400 km altitude (r = 6,771,000 m from Earth's center). Gravitational force: F = 6.674×10⁻¹¹ × (5.97×10²⁴ × 4.2×10⁵) ÷ (6.771×10⁶)² = 3.65×10⁶ N or 3,650 kN. This equals the weight of 372 tonnes — substantial force! Astronauts feel weightless not because gravity is absent (it's 89% of surface gravity at that altitude) but because they're in continuous free-fall. The ISS falls toward Earth while moving forward fast enough to miss it, creating orbit.

Example 2: Sun-Earth Gravitational Bond
Sun's mass: 1.99×10³⁰ kg. Earth's mass: 5.97×10²⁴ kg. Distance: 149.6×10⁹ m (1 astronomical unit). Force: F = 6.674×10⁻¹¹ × (1.99×10³⁰ × 5.97×10²⁴) ÷ (1.496×10¹¹)² = 3.54×10²² N. This force accelerates Earth toward the Sun at a = F/m = 3.54×10²² ÷ 5.97×10²⁴ = 0.0059 m/s². Over a year, this acceleration curves Earth's path into an orbit rather than letting it travel in a straight line through the galaxy.

Example 3: Gravitational Attraction Between People
Two 70 kg people standing 1 meter apart experience gravitational attraction: F = 6.674×10⁻¹¹ × (70 × 70) ÷ 1² = 3.27×10⁻⁷ N — about 0.00003 grams of force. This is billions of times weaker than electromagnetic forces between atoms, which is why we never notice person-to-person gravity. Only when at least one mass is planetary in scale does gravity become dominant. Yet this tiny force is real and measurable with sensitive equipment.

Example 4: Jupiter's Grip on Io
Jupiter's mass: 1.90×10²⁷ kg. Io's mass: 8.93×10²² kg. Orbital distance: 421,700,000 m. Force: F = 6.674×10⁻¹¹ × (1.90×10²⁷ × 8.93×10²²) ÷ (4.217×10⁸)² = 6.36×10²² N. This immense gravitational force creates tidal heating inside Io, flexing the moon by up to 100 meters during each orbit. The resulting internal friction powers hundreds of active volcanoes — Io is the most volcanically active body in the solar system, all driven by Jupiter's gravity.

Example 5: Black Hole Tidal Forces
A stellar black hole has mass 10 times the Sun (1.99×10³¹ kg). At the event horizon (Schwarzschild radius r = 2GM/c² = 29,600 m), gravitational force on a 70 kg astronaut: F = 6.674×10⁻¹¹ × (1.99×10³¹ × 70) ÷ (29,600)² = 1.06×10¹⁴ N. More dramatically, the force difference between head and feet (tidal force) would be millions of newtons — enough to stretch a person into a strand of atoms, the infamous "spaghettification" that makes black holes lethal long before reaching the event horizon.

Common Mistakes to Avoid

Using surface-to-surface distance instead of center-to-center: Gravitational calculations require distance between centers of mass. For objects on Earth's surface, distance is Earth's radius (6,371 km), not zero. A common error is using altitude above surface without adding Earth's radius. A satellite at 400 km altitude is 6,771 km from Earth's center, not 400 km.

Forgetting that G is extremely small: The gravitational constant G = 6.674×10⁻¹¹ is tiny, reflecting gravity's intrinsic weakness. If you omit G or use the wrong power of 10, answers will be wrong by 11 orders of magnitude. Always include G and verify your answer's magnitude makes sense — planetary forces are 10¹⁸-10²³ N, everyday objects are 10⁻¹⁰ N or less.

Confusing weight with mass: Weight IS gravitational force (in newtons). Mass is the amount of matter (in kg). On Earth, weight = mg where g = 9.81 m/s². This g comes from Newton's gravitation formula: g = GM_Earth/r_Earth². Using mass where weight is needed (or vice versa) introduces a factor of 9.81 error.

Applying the formula inside spherical objects: Newton's formula F = Gm₁m₂/r² applies to point masses or objects outside spherical bodies. Inside Earth, only the mass beneath you contributes to gravitational force. At Earth's center, gravitational force is zero because mass surrounds you equally in all directions. The formula must be modified for interior points.

Pro Tips

Use g = GM/r² for surface gravity: Instead of full F = Gm₁m₂/r² for weight calculations, use the simplified g = GM/r². For Earth: g = 6.674×10⁻¹¹ × 5.97×10²⁴ ÷ (6.371×10⁶)² = 9.81 m/s². Then weight = mg. For Mars (M = 6.39×10²³ kg, r = 3,390,000 m): g = 3.71 m/s². A 70 kg person weighs 687 N on Earth but only 260 N on Mars — 38% of Earth weight.

Apply the inverse-square law for quick estimates: Doubling distance reduces gravitational force to ¼. Tripling distance reduces to 1/9. At 10× distance, force is 1/100. The Moon is 60 Earth radii away, so Earth's gravity at the Moon is 1/60² = 1/3,600 of surface gravity — about 0.0027 m/s². This matches the centripetal acceleration needed for the Moon's orbit, confirming Newton's theory.

Calculate escape velocity from gravitational parameters: Escape velocity v_esc = √(2GM/r). For Earth: v_esc = √(2 × 6.674×10⁻¹¹ × 5.97×10²⁴ ÷ 6.371×10⁶) = 11,200 m/s or 40,300 km/h. This is the speed needed to escape Earth's gravity without further propulsion. Rockets don't actually reach this speed at launch — they continuously thrust, gradually escaping rather than making a single ballistic escape.

Understand gravitational potential energy: Gravitational PE = -GMm/r (negative because zero is defined at infinite distance). A satellite in low Earth orbit has PE ≈ -60 MJ per kg. To escape Earth requires adding +60 MJ/kg — the energy equivalent of about 1.4 kg of TNT per kilogram of satellite. This energy requirement explains why space launch is so expensive.

Recognize when to use general relativity: Newton's gravitation works perfectly for most applications — satellites, planetary orbits, galaxy rotation. But for extreme gravity (black holes), high precision (GPS satellites, Mercury's orbit), or cosmology, Einstein's general relativity is required. GPS satellites must account for relativistic time dilation — their clocks run 38 microseconds per day faster than Earth clocks due to weaker gravity. Without this correction, GPS would accumulate 10 km of error per day.

Frequently Asked Questions

This is the "hierarchy problem" in physics — an unsolved mystery. Gravity is 10³⁶ times weaker than electromagnetism. A small magnet lifts a paperclip against Earth's entire gravitational pull. Some theories propose gravity "leaks" into extra dimensions while other forces don't, explaining apparent weakness. Others suggest the Planck scale reveals gravity's true strength. Understanding this weakness remains one of physics' greatest challenges.

No. Changes in gravitational fields propagate at the speed of light, not instantly. If the Sun disappeared, Earth would continue orbiting the empty spot for 8.3 minutes (light-travel time) before flying off tangentially. This was confirmed by LIGO's detection of gravitational waves from merging black holes — ripples in spacetime traveling at exactly light speed, as Einstein predicted.

G (capital) is the universal gravitational constant — the same everywhere in the universe: 6.674×10⁻¹¹ N·m²/kg². g (lowercase) is local gravitational acceleration — varies by location. Earth's surface g = 9.81 m/s², Moon's g = 1.62 m/s², Mars g = 3.71 m/s². The relationship is g = GM/r² where M and r are the attracting body's mass and radius.

Not in Newton's theory or standard general relativity — gravity is always attractive between normal matter. However, dark energy causes accelerated cosmic expansion, acting like "repulsive gravity" on cosmological scales. Some exotic theoretical matter with negative mass would produce repulsive gravity, but no such matter has been observed. All known matter and energy produce attractive gravitational fields.

You may also find these calculators useful: Force Calculator, Potential Energy Calculator, Projectile Motion Calculator, Centripetal Force Calculator.

Written and reviewed by the CalcToWork editorial team. Last updated: 2026-04-29.

Frequently Asked Questions

This is the "hierarchy problem" in physics — an unsolved mystery. Gravity is 10³⁶ times weaker than electromagnetism. A small magnet lifts a paperclip against Earth's entire gravitational pull. Some theories propose gravity "leaks" into extra dimensions while other forces don't, explaining apparent weakness. Others suggest the Planck scale reveals gravity's true strength. Understanding this weakness remains one of physics' greatest challenges.
No. Changes in gravitational fields propagate at the speed of light, not instantly. If the Sun disappeared, Earth would continue orbiting the empty spot for 8.3 minutes (light-travel time) before flying off tangentially. This was confirmed by LIGO's detection of gravitational waves from merging black holes — ripples in spacetime traveling at exactly light speed, as Einstein predicted.
G (capital) is the universal gravitational constant — the same everywhere in the universe: 6.674×10⁻¹¹ N·m²/kg². g (lowercase) is local gravitational acceleration — varies by location. Earth's surface g = 9.81 m/s², Moon's g = 1.62 m/s², Mars g = 3.71 m/s². The relationship is g = GM/r² where M and r are the attracting body's mass and radius.
Not in Newton's theory or standard general relativity — gravity is always attractive between normal matter. However, dark energy causes accelerated cosmic expansion, acting like "repulsive gravity" on cosmological scales. Some exotic theoretical matter with negative mass would produce repulsive gravity, but no such matter has been observed. All known matter and energy produce attractive gravitational fields.