Solved.tools: Free Online Calculators & Tools

We use cookies for analytics and advertising. Learn more about our cookie policy

Gravitational Force Calculator

Last updated: 23 August 2026

Reviewed by Gavin Meiring, Lead research and primary author · Doctoral Candidate (Corporate Governance) · Research and drafting assisted by AI

Gravitational Force Calculator

Calculate gravitational force between two masses. F = G(m₁m₂)/r²

StandardPhysicsNewton's Law of Universal Gravitation
—
Was this helpful?


Gravitational Force Calculator

The gravitational force calculator applies Newton's law of universal gravitation to compute the attractive force between two point masses, or to solve for any of the variables (force, mass, distance) given the others. It is used by astrophysicists calculating planetary orbits, satellite engineers computing orbital parameters, geophysicists estimating tidal forces, students learning celestial mechanics, and anyone curious about the invisible force that holds the universe together. Although gravity is the weakest of the four fundamental forces, its infinite range and the enormous masses of astronomical bodies make it the dominant force at cosmic scales.

How to Use the Gravitational Force Calculator

  1. Pick the variable to solve for: F, m₁, m₂, or r.
  2. Enter the other three values in SI units (N, kg, m).
  3. Click Calculate to see the result.
  4. The result panel shows the solved value and (when applicable) the equivalent surface gravity in m/s² for context.
  5. For planetary-scale calculations, mass should be the total body mass; for point-to-point calculations, masses are treated as point sources at their centres of mass.

The Formula

Newton's law of universal gravitation:

F = G × m₁ × m₂ / r²

Where:

  • F is the gravitational force (newtons, N)
  • G is the gravitational constant: 6.674 × 10⁻¹¹ N·m²/kg²
  • m₁ and m₂ are the two masses (kg)
  • r is the distance between their centres (m)

Rearranged forms:

  • m₁ = F × r² / (G × m₂)
  • m₂ = F × r² / (G × m₁)
  • r = √(G × m₁ × m₂ / F)

Worked Examples

Example 1, Person standing on Earth

A 70 kg person on Earth's surface. Earth's mass = 5.972 × 10²⁴ kg, Earth's radius = 6.371 × 10⁶ m.

F = (6.674 × 10⁻¹¹) × 70 × (5.972 × 10²⁴) / (6.371 × 10⁶)² ≈ 686 N

This is the person's weight in newtons (about 154 lb). The standard g = 9.81 m/s² emerges from this calculation.

Example 2, Earth-Moon force

F = G × M_Earth × M_Moon / r² = (6.674 × 10⁻¹¹) × (5.972 × 10²⁴) × (7.342 × 10²²) / (3.844 × 10⁸)² ≈ 1.98 × 10²⁰ N

This force keeps the Moon in orbit. The Moon's orbital period (27.3 days) is consistent with this centripetal force.

Example 3, Two people 1 m apart

Two 70 kg people, centres 1 m apart:

F = (6.674 × 10⁻¹¹) × 70 × 70 / (1)² ≈ 3.27 × 10⁻⁷ N (about 33 micronewtons)

The gravitational attraction between two adults is far smaller than the weight of a single eyelash, utterly undetectable in everyday life, but a fun thought experiment.

Example 4, Sun-Earth force

F = G × M_Sun × M_Earth / r² = (6.674 × 10⁻¹¹) × (1.989 × 10³⁰) × (5.972 × 10²⁴) / (1.496 × 10¹¹)² ≈ 3.54 × 10²² N

This is the force binding Earth to its orbit around the Sun.

Surface Gravity

The surface gravity of a planet or moon is found by setting r equal to the body's radius:

g_surface = G × M / R²

Examples:

  • Mercury: 3.7 m/s²
  • Venus: 8.87 m/s²
  • Earth: 9.81 m/s²
  • Mars: 3.71 m/s²
  • Moon: 1.62 m/s²
  • Jupiter: 24.79 m/s²
  • Titan: 1.35 m/s²

A 70 kg person would weigh 254 N on Earth, 259 N on Venus (similar to Earth), 67 N on the Moon, and 1,736 N on Jupiter, almost unable to stand.

Common Mistakes

Forgetting to square the distance. r² appears in the denominator. Halving the distance quadruples the force; doubling the distance quarters it.

Using radii instead of centre-to-centre distance. For objects near Earth's surface, "r" is the distance from the centre of Earth, not from the surface. Add the Earth's radius to your height above ground.

Confusing mass and weight. Mass (kg) is invariant. Weight (N) depends on local gravity. A 70 kg person has the same mass on Earth, the Moon, or Jupiter; the weight differs.

Forgetting G's tiny value. G = 6.674 × 10⁻¹¹ means everyday gravitational forces between small masses are utterly negligible. Gravity only matters at planetary scales or for precisely engineered instruments (Cavendish-style experiments).

Frequently Asked Questions

Who discovered gravity? Isaac Newton formulated the law of universal gravitation in 1687 in his Philosophiæ Naturalis Principia Mathematica, building on earlier work by Galileo, Kepler, and others. Newton famously attributed the insight (an apple falling on his head) as inspiration for considering whether gravity extends to the Moon.

Is gravity a force? In Newtonian physics, yes, a real force that pulls masses together. In Einstein's general relativity (1915), gravity is not a force but a curvature of spacetime caused by mass and energy; objects move along curved paths called geodesics. The two frameworks agree in most everyday scenarios but differ in extreme cases (black holes, fast-moving objects, precision clocks).

What is the gravitational constant G? G = 6.67430 × 10⁻¹¹ N·m²/kg² (CODATA 2018 value). It is one of the least precisely known fundamental constants because gravity is so weak that laboratory measurements are extremely difficult. The relative uncertainty is around 2 × 10⁻⁵, orders of magnitude worse than the constants of electromagnetism.

Why is gravity so weak? No one knows for sure. The "hierarchy problem" asks why gravity is 10³⁶ times weaker than the other fundamental forces. Some theories (string theory, extra dimensions) suggest gravity becomes strong at small scales, but we have not yet detected this.

Does gravity affect light? Yes. Although photons are massless, gravity bends their trajectories by curving spacetime (Einstein's general relativity). This was famously confirmed by Arthur Eddington's 1919 eclipse observation, which showed starlight bending around the Sun.

How fast does gravity propagate? At the speed of light. If the Sun were suddenly removed, Earth would continue in a straight line for about 8 minutes (the light-travel time) before noticing the absence. Gravitational waves from merging black holes have been detected directly by LIGO since 2015.

Can gravity be shielded? No. Unlike electromagnetic forces, gravity cannot be blocked, reflected, or shielded. The only way to "defeat" gravity locally is to fall freely (which feels like weightlessness because everything around you is also falling).

What are gravity assists? Spacecraft can borrow a small fraction of a planet's orbital momentum to gain or lose speed. Voyager, Cassini, New Horizons, and many other missions have used gravity assists to reach the outer solar system with much less fuel than would otherwise be needed.


Q: can the Gravitational Force Calculator be used for professional or commercial purposes? A: yes, the Gravitational Force Calculator The Gravitational Force Calculator provides mathematically correct results that are suitable for professional, commercial, and educational use. the Gravitational Force Calculator formulas used are well-established and validated against reference standards.

Q: How often are the formulas behind the Gravitational Force Calculator updated? When standards change (e.g., new physical constants, revised tax brackets, updated standards), the Gravitational Force Calculator is updated to reflect the current authoritative source. Each calculator's references section, including the Gravitational Force Calculator, lists the specific sources used.

References

  • Newton, I. Philosophiæ Naturalis Principia Mathematica (1687).
  • Halliday, D., Resnick, R., & Walker, J. Fundamentals of Physics, Wiley.
  • CODATA Internationally Recommended Values of the Fundamental Physical Constants.
  • Einstein, A. "Die Grundlage der allgemeinen Relativitätstheorie" (1915).
  • NASA Planetary Fact Sheets: https://nssdc.gsfc.nasa.gov/planetary/factsheet/
  • NIST reference constants used by the Gravitational Force Calculator: https://physics.gov/cuu/Constants/

Inputs and Their Effects

Each field on the Gravitational Force Calculator form plays a distinct part in the calculation.

  • the variable to solve for: F, m₁, m₂, or r - this value feeds the Gravitational Force Calculator directly and shows up in the result.
  • the other three values in SI units (N, kg, m) - this value feeds the Gravitational Force Calculator directly and shows up in the result.
  • Calculate to see the result - this value feeds the Gravitational Force Calculator directly and shows up in the result. Editing one field of the Gravitational Force Calculator changes the output in line with the formula, so a misplaced value is visible in the answer.

Common Mistakes to Avoid

The errors that come up most often with the Gravitational Force Calculator are easy to spot once you know them:

  • Entering a value in the wrong unit for the variable to solve for: F, m₁, m₂, or r; the Gravitational Force Calculator answer is only right when the unit matches the label.
  • Mixing conventions, such as percentages and decimals, where the Gravitational Force Calculator formula expects one form.
  • Rounding the inputs before the Gravitational Force Calculator runs; keep the full values and let the tool round the final answer.
  • Treating the Gravitational Force Calculator result as exact when the inputs themselves were estimates.

When to Use the Gravitational Force Calculator

Use the Gravitational Force Calculator whenever you need a quick, reliable answer that fits the tool's scope. Common situations for the Gravitational Force Calculator include homework and study, on-the-job quick checks, sanity-checking a more complex calculation, or exploring a scenario for personal interest. If the Gravitational Force Calculator answer will be used for a decision that has legal, medical, or financial consequences, treat the result as a starting point and verify it with a qualified professional.

How the Math Works

The calculation behind the Gravitational Force Calculator follows the standard form for this kind of problem: Newton's law of universal gravitation: F = G × m₁ × m₂ / r²** Where: F** is the gravitational force (newtons, N) G** is the gravitational constant: 6.674 × 10⁻¹¹ N·m²/kg² m₁** and m₂ are the two masses (kg) r** is the distance between t The Gravitational Force Calculator applies that relationship in the order the algebra prescribes, converting inputs to consistent units first where the formula needs them.

Troubleshooting Unexpected Results

When the Gravitational Force Calculator result does not match expectation, run through the usual suspects in order:

  • Check the unit on the variable to solve for: F, m₁, m₂, or r first; a unit mismatch is the most common cause of a surprising Gravitational Force Calculator answer.
  • Check the sign of each input; a negative where the Gravitational Force Calculator expects a positive flips the result.
  • Check the magnitude; a Gravitational Force Calculator answer many orders of magnitude off is almost always a unit or decimal error.
  • Re-run a simple round-number case by hand to confirm the Gravitational Force Calculator is wired up correctly.

Worked Examples

A typical Gravitational Force Calculator run takes reasonable inputs, produces a sensible answer, and returns it in a single click. Example: Example 1, Person standing on Earth A 70 kg person on Earth's surface. Earth's mass = 5.972 × 10²⁴ kg, Earth's radius = 6.371 × 10⁶ m. F = (6.674 × 10⁻¹¹) × 70 × (5.972 × 10²⁴) / (6.371 × 10⁶)² ≈ 686 N This is the person's weight in newtons (about 154 lb). The standard g = 9.81 m/s² emerges from this calculation. Example 2, Earth-Moon force F = G × M_Earth × M_Moon / r² = (6.674 × 10⁻¹