Physics

Gravitational Force Calculator

Calculate gravitational force between two masses using Newton's law of universal gravitation. Free & instant.

Did this calculator help you?

What is Gravitational Force Calculator?

A gravitational force calculator lets you instantly compute the attractive force between any two masses using Newton's law of universal gravitation, F = Gm₁m₂/r². Enter the two masses in kilograms and the distance between their centers in meters, and the calculator returns the gravitational force in newtons — whether you're calculating the pull between two bowling balls or the force holding the Moon in orbit around Earth. Newton's law of universal gravitation, published in 1687, was one of the most revolutionary insights in the history of science: it showed that the same force pulling an apple to the ground also holds planets in orbit around the Sun. Every object with mass attracts every other object with mass, with a force proportional to the product of their masses and inversely proportional to the square of the distance between them. This deceptively simple formula successfully predicted the existence of Neptune, explained the tides, and remained the best model of gravity for over 200 years until Einstein's general relativity refined it for extreme conditions. This calculator is useful in many contexts: physics and astronomy students use it to solve orbital mechanics problems, science enthusiasts use it to understand why gravity between everyday objects is imperceptible while planetary gravity is enormous, and aerospace engineers use simplified versions of this same principle when planning satellite orbits and interplanetary trajectories.

When to Use This Calculator

  • Satellite and spacecraft engineering — calculating the gravitational pull at different orbital altitudes for station-keeping and maneuvers.
  • Astronomy and astrophysics — modeling the orbits of moons, planets and binary star systems with Newton's law of universal gravitation.
  • Physics education — working through universal gravitation problems in homework, labs and exam preparation.
  • Space mission design — planning gravity assists, interplanetary trajectories and escape maneuvers that depend on precise gravitational forces.
  • Understanding Earth's tides — modeling how the Moon's and Sun's gravity stretches the oceans even though they are far away.
  • Demonstrating that gravity between everyday masses is real but negligible, while the same law explains falling objects on Earth.

Steps:

  1. Enter the mass of the first object in kilograms — this can be anything from a marble to a planet.
  2. Enter the mass of the second object in kilograms.
  3. Enter the distance between the centers of the two masses in meters. For planetary bodies, this means center-to-center, not surface-to-surface.
  4. For very large or small numbers, use scientific notation (e.g. 1.989e30 for the Sun's mass in kilograms).
  5. The calculator instantly computes the gravitational force in newtons using F = Gm₁m₂/r².
  6. Compare your result with the reference table to see how gravitational force scales from everyday objects to planetary bodies.

Formula

Newton's Law of Universal Gravitation: F = Gm₁m₂ / r² Where: F = gravitational force (newtons, N) G = gravitational constant (6.674 × 10⁻¹¹ N·m²/kg²) m₁ = mass of first object (kilograms, kg) m₂ = mass of second object (kilograms, kg) r = distance between the centers of the two masses (meters, m) Example: m₁ = 70 kg, m₂ = 5.972 × 10²⁴ kg (Earth), r = 6.371 × 10⁶ m (Earth's radius) F = (6.674 × 10⁻¹¹ × 70 × 5.972 × 10²⁴) / (6.371 × 10⁶)² ≈ 686 N

Use Cases

  • Solving physics and astronomy homework problems involving Newton's law of universal gravitation
  • Calculating orbital mechanics for satellites, spacecraft, and celestial bodies
  • Understanding why gravitational attraction between everyday objects is undetectably small
  • Estimating tidal forces between planets and their moons
  • Teaching the inverse-square law relationship between force and distance
  • Comparing gravitational forces across vastly different scales, from bowling balls to galaxies

Key Benefits

  • Instantly compute gravitational force between any two masses at any distance
  • Handles both everyday-scale and astronomical-scale numbers using scientific notation
  • Built-in reference table comparing forces from bowling balls to planetary bodies
  • No registration or installation required
  • Accurate to the standard gravitational constant used in physics education and research
  • Useful for both classroom homework and real orbital mechanics estimations
  • Automatically formats extremely large or small results in readable scientific notation

Pro Tips

  • For astronomical calculations, always use scientific notation to avoid errors with extremely large or small numbers
  • Remember that distance in the formula is measured between the centers of mass, not the surfaces of the objects
  • Use this calculator alongside the escape velocity calculator to explore related orbital mechanics concepts
  • When estimating everyday gravitational forces, expect extremely small results — this confirms the theory rather than indicating an error
  • Double-check your distance units are in meters, since kilometers or other units will produce incorrect results

Common Mistakes to Avoid

  • Confusing gravitational force with weight — weight is the gravitational force specifically between an object and a planet, while this formula works for any two masses
  • Using surface-to-surface distance instead of center-to-center distance, which is what the formula actually requires
  • Forgetting to convert units to kilograms and meters before calculating, since the gravitational constant is defined in SI units
  • Assuming gravitational force is negligible in all everyday contexts — while true for small objects, it's very much not true when one mass is planetary in scale
  • Mixing up the inverse-square relationship — doubling the distance reduces force to one-quarter, not one-half
  • Forgetting that gravitational force is always attractive, never repulsive, unlike some other forces in physics

Key Terms Explained

Gravitational Force: The attractive force between any two masses, described by Newton's law of universal gravitation.
Gravitational Constant (G): The fundamental physical constant, 6.674 × 10⁻¹¹ N·m²/kg², that sets the strength of gravity throughout the universe.
Inverse-Square Law: The principle that force decreases proportionally to the square of the distance between two objects.
Center of Mass: The point at which an object's mass can be considered concentrated for gravitational calculations.
Weight: The specific gravitational force between an object and the celestial body it rests on, such as a person and Earth.
Orbital Mechanics: The branch of physics that applies gravitational force calculations to predict the motion of satellites and celestial bodies.
Escape Velocity: The minimum speed needed for an object to overcome a celestial body's gravitational pull without further propulsion.
General Relativity: Einstein's theory that reinterprets gravity as the curvature of spacetime caused by mass, refining Newton's model for extreme conditions.

Related Concepts

  • Escape Velocity: The speed required to break free from a celestial body's gravitational pull entirely, directly derived from the same gravitational force principles. Our escape velocity calculator lets you calculate this related quantity.
  • Free Fall: The motion of an object falling under gravity alone, which on Earth's surface simplifies to the constant 9.81 m/s² derived from this same force formula. Our free fall calculator explores this related concept.
  • Centripetal Force: The force required to keep an object moving in a circular path, which for orbiting bodies is provided entirely by gravitational force.
  • Newton's Third Law: The principle that gravitational force is always mutual — every object pulling on another is pulled back with equal and opposite force.
  • Weight vs. Mass: The distinction between an object's invariant mass and its weight, which is the gravitational force exerted on it and varies depending on location.

Example

A satellite with a mass of 1000 kg orbits Earth at a distance of 7,000,000 meters from Earth's center (about 620 km altitude). Using F = Gm₁m₂/r²: F = (6.674 × 10⁻¹¹ × 1000 × 5.972 × 10²⁴) / (7,000,000)² ≈ 8,138 N. This is the gravitational force keeping the satellite in orbit — the centripetal force needed to maintain its circular path.

Interpreting Your Results

The force value this calculator returns represents the mutual attraction between two masses — both objects pull on each other with exactly equal force, according to Newton's third law, even though their resulting accelerations differ based on their individual masses. For everyday-scale objects, expect results in the range of 10⁻⁷ to 10⁻¹¹ newtons — vanishingly small forces that require sensitive laboratory equipment to detect, which is why we never notice gravitational attraction between ordinary objects in daily life. For planetary-scale calculations, results will typically appear in scientific notation with large positive exponents. When comparing your result to the reference table, notice how force increases dramatically as one or both masses become planetary or stellar in scale, while distance has an equally dramatic inverse-square effect in the opposite direction.

Frequently Asked Questions

What is the formula for gravitational force?
Newton's law of universal gravitation states F = Gm₁m₂/r², where F is the gravitational force in newtons, G is the gravitational constant (6.674 × 10⁻¹¹ N·m²/kg²), m₁ and m₂ are the two masses in kilograms, and r is the distance between their centers in meters.
What is the gravitational constant G?
The gravitational constant G equals 6.674 × 10⁻¹¹ N·m²/kg². It's one of the most precisely measured yet fundamentally mysterious constants in physics — it sets the overall strength of gravity throughout the universe but its value cannot be derived from any other known constant.
Why is gravitational force between everyday objects so small?
Because G is such a tiny number (6.674 × 10⁻¹¹), the gravitational force between ordinary objects is minuscule — two 1 kg spheres 1 meter apart attract each other with a force of only about 6.674 × 10⁻¹¹ newtons, far too weak to notice. Gravity only becomes significant when at least one mass is astronomically large, like a planet or star.
Is this the same force that makes objects fall on Earth?
Yes. The gravitational force between Earth and any object on its surface (like a 70 kg person) works out to about 686 newtons using this same formula — which is exactly the object's weight. Earth's surface gravity (9.81 m/s²) is simply this force divided by the object's mass.
How does distance affect gravitational force?
Gravitational force follows an inverse-square law — doubling the distance between two masses reduces the force to one-quarter of its original value, and tripling the distance reduces it to one-ninth. This is why the Moon's gravitational pull on Earth, despite the Moon's small mass, still causes tides, while more distant objects have negligible gravitational effect.
How is this different from weight or Earth's surface gravity (9.81 m/s²)?
The 9.81 m/s² figure is a simplified constant that only applies near Earth's surface, derived by dividing Earth's gravitational force on an object by that object's mass. This calculator uses the full universal gravitation formula, which works for any two masses at any distance — planets, moons, spacecraft, or everyday objects.
What real-world calculations use this formula?
Astronomers use it to calculate orbital mechanics and predict planetary motion, spacecraft engineers use it to plan trajectories and gravitational assists, physicists use it to model tidal forces, and it forms the theoretical basis for calculating a planet's escape velocity and satellite orbital periods.
Does gravitational force ever reach zero?
Mathematically, gravitational force approaches zero only as distance approaches infinity, but never truly reaches exactly zero at any finite distance. In practice, gravitational effects from very distant or small masses become so tiny they're completely negligible compared to nearby, larger masses.
How do I calculate the gravitational force between two everyday objects?
Use F = G × m1 × m2 ÷ r² with G = 6.674 × 10⁻¹¹ N·m²/kg² and masses in kilograms, distance in meters. Two people of 70 kg and 80 kg standing 1 m apart feel a force of (6.674 × 10⁻¹¹ × 70 × 80) ÷ 1² ≈ 3.7 × 10⁻⁷ N — far too small to notice, which is why the attraction between ordinary objects is never felt. You need at least one very large mass (a planet) for gravity to become obvious.
What happens to the force when the distance between two masses doubles?
Because gravity follows the inverse-square law F ∝ 1/r², doubling the distance reduces the force to one quarter of its original value, and tripling it reduces the force to one ninth. If a satellite's orbit is raised so its distance from Earth's center doubles, the gravitational pull it feels drops to 25% of what it was.
What units must I use for this calculation?
Masses must be entered in kilograms and the distance in meters to use the gravitational constant G = 6.674 × 10⁻¹¹ N·m²/kg². The result is then a force in newtons. If you have masses in grams, tonnes or pounds, or distances in centimeters or kilometers, convert them to kg and m first — a common source of errors is entering kilometers directly and getting an answer that is off by a factor of one million.

Discover More Tools

Fresh picks from across our tool library.