A gravitational force calculator uses Newton's law of universal gravitation: force equals G times the two masses divided by the distance squared. Enter any three of force, the two masses and the distance and leave one blank. Two 1000 kilogram masses 5 meters apart attract with a force of about 2.7 x 10^-6 newtons.
Calculations run in your browser. Inputs are not sent to our servers; anything you Save stays in this browser only.
Saved results (0)
How to Use the Gravitational Force Calculator
- Enter any three of force, mass 1, mass 2 and distance.
- Leave the one you want to find blank.
- Read the result.
- See which value was solved for and the formula used.
Here is what each result means:
| Result | What it means |
|---|---|
| Result | The value you left blank, solved from the other three. |
| Solved for | Which of the four values it found. |
| Formula | Force equals G times the two masses over the distance squared. |
What Is Gravitational Force?
Gravitational force is the attraction that every mass exerts on every other mass. Newton's law of universal gravitation says the force grows with the product of the two masses and falls with the square of the distance between them. It is the same force that holds you to the ground, keeps the Moon orbiting the Earth and binds galaxies together.
The constant G, the gravitational constant, sets the strength of gravity and equals about 6.674 x 10^-11 newton meters squared per kilogram squared. Because G is so tiny, gravity between everyday objects is far too weak to feel: two 1000 kilogram masses a few meters apart pull on each other with only a few millionths of a newton. Only when one mass is planet-sized does the force become large.
The distance in the formula is measured between the centres of the two objects, not their surfaces. Because the force depends on the square of that distance, moving twice as far apart cuts the force to a quarter, and three times as far cuts it to a ninth. This inverse-square behaviour is the hallmark of gravity and shapes every orbit in the universe.
How Does the Gravitational Force Calculator Work?
It rearranges Newton's law to solve for whichever value you leave blank.
- For force, multiply G by both masses and divide by the distance squared.
- For a mass, multiply force by the distance squared and divide by G times the other mass.
- For distance, take the square root of G times both masses divided by the force.
Gravity is one of several force laws; see the force calculator and potential energy calculator.
Gravitational Force Example
Two 1000 kilogram masses sit 5 meters apart.
Calculation: F = G x 1000 x 1000 / 25, which is about 2.7 x 10^-6 newtons. Doubling the distance to 10 meters would quarter the force to about 6.7 x 10^-7 newtons.
The Four Forms of the Gravitation Rule
One law, rearranged for whatever you need to find.
| To find | Use |
|---|---|
| Force | G times both masses divided by distance squared |
| Mass 1 | force times distance squared divided by (G times mass 2) |
| Mass 2 | force times distance squared divided by (G times mass 1) |
| Distance | square root of (G times both masses divided by force) |
All four come from F equals G m1 m2 over r squared, so any three of the values give the fourth. Solving for distance takes a square root because the distance appears squared in the law, which is why gravity is called an inverse-square force.
Comparing Force at Different Distances
Because the force depends on the square of the distance, small changes in separation have a large effect.
| Distance | Relative force |
|---|---|
| 1 unit | 1 |
| 2 units | One quarter |
| 3 units | One ninth |
| 10 units | One hundredth |
This inverse-square fall-off means gravity never quite reaches zero but weakens quickly with distance. It is why a satellite in a high orbit feels much less pull than one skimming the surface, even though both orbit the same planet.
What Affects Gravitational Force
The Masses
A larger mass gives a stronger force, in direct proportion to the product of the two masses.
The Distance
A greater separation weakens the force by the square of the distance. Twice as far is one quarter the force.
The Gravitational Constant
G fixes the overall strength of gravity. It is the same everywhere in the universe.
When to Use a Gravitational Force Calculator
Physics Homework
Solve for the force, a mass or the distance in a gravitation problem.
Astronomy
Estimate the pull between planets, moons and stars.
Understanding Orbits
See how the force changes as objects move closer or farther apart.
Common Mistakes
1. Using Radius Not Separation
The distance is between the centres of the two objects, not their surfaces or a single radius.
2. Forgetting to Square the Distance
The distance appears squared. Leaving it unsquared overstates the force badly.
3. Wrong Units
Use kilograms and meters so the force comes out in newtons with G in SI units.
4. Confusing G and G
Big G is the universal constant; little g, about 9.81, is the acceleration due to gravity at the Earth's surface.
5. Expecting a Large Force
Gravity between everyday objects is minute. A tiny result is usually correct.
Accuracy and Limitations
The relation is exact; only the displayed decimals are rounded, and very large or small results are shown in scientific notation.
What it calculates accurately
- Force, a mass or the distance from the other three
- The rearranged formulas
- Very large and very small values
What it does not do
- Handle more than two bodies at once
- Include relativistic gravity
- Track the direction of the force as a vector
- Account for the size or shape of the objects
How We Compute Gravitational Force
Frequently Asked Questions
What is gravitational force?
It is the attraction between any two masses. Newton's law says it equals G times the two masses divided by the distance squared. Two 1000 kilogram masses 5 meters apart attract with about 2.7 x 10^-6 newtons.
How do you calculate gravitational force?
Multiply the gravitational constant G by both masses, then divide by the square of the distance between their centres. G is about 6.674 x 10^-11 in SI units.
What is the gravitational constant G?
G is a universal constant equal to about 6.674 x 10^-11 newton meters squared per kilogram squared. It sets the strength of gravity and is the same throughout the universe.
What is the difference between big G and little g?
Big G is the universal gravitational constant. Little g, about 9.81 meters per second squared, is the acceleration due to gravity at the Earth's surface, which depends on the Earth's mass and radius.
Why is the force so small for everyday objects?
Because G is extremely small. Gravity only becomes strong when at least one mass is very large, like a planet, so the attraction between ordinary objects is far too weak to feel.
How does distance affect the force?
The force falls with the square of the distance. Doubling the separation cuts the force to a quarter, and tripling it cuts the force to a ninth.
What distance should I use?
Use the distance between the centres of the two objects, in meters. For planets and moons this is the centre-to-centre separation, not the gap between their surfaces.
What units does this use?
Kilograms for mass, meters for distance and newtons for force, with G in SI units. Keep the units consistent for a correct result.
Is my information saved?
No. The calculation runs in your browser and nothing you enter is stored or sent anywhere, unless you choose Save, which keeps the result only on this device.
Sources
- Newton's law of universal gravitation (Wikipedia).
- Gravitational constant (Wikipedia).
- Gravity explained (Maths Is Fun).
Related Calculators
Looking for more physics tools?
Explore all math calculatorsThis calculator uses Newton's law of universal gravitation, F = G m1 m2 / r squared, with G = 6.674 x 10^-11. Enter any three of force, the two masses and the distance, and leave the fourth blank. In SI units, force is in newtons, mass in kilograms and distance in meters. The distance is measured between the centres of the two objects. Spotted an error? Let us know.
Author
Shakeel Muzaffar is the Founder and Editor-in-Chief of MultiCalculators.com, bringing over 15 years of experience in digital publishing, product strategy, and online tool development. He leads the platform's editorial vision, ensuring every calculator meets strict standards for accuracy, usability, and real-world value. Shakeel personally oversees content quality, formula verification workflows, and the platform's commitment to publishing tools that are genuinely useful for students, professionals, and everyday users worldwide.




