Since 2010 · Powering 2M+ tool runs every month
Since 2010
Add to Chrome

My Toolbox

Automatic Mode

No saved tools yet.

Go Premium
Related tools
Force CalculatorCoulomb's Law CalculatorKepler's Third Law CalculatorTorque CalculatorBuoyancy CalculatorInclined Plane CalculatorElectric Field CalculatorEscape Velocity CalculatorFalling Through Earth Calculator
Home Page > Miscellaneous > Physics Calculators

Gravitational Force Calculator

Apply Newton’s inverse-square law with MiniWebtool’s Gravitational Force Calculator. Calculate attraction from two masses and their separation, or solve for a missing mass or distance, using units ranging from grams to solar masses.

Need help using this tool? Ask AI

For Gemini, paste the copied question into the chat. You can also copy it below.

View the question

Free to useNo sign-up requiredInstant Results
Gravitational Force CalculatorTry it now — free ▼
0.1 kg apple on Earth: F = G m1 m2 / r^2 = 0.982 N

Choose what to solve for, then enter the two masses and the distance with units, or pick an example.

Quick examples — click to fill the form, then press Calculate:
In newtons (N). Only needed when solving for a mass or distance.

Embed Gravitational Force Calculator Widget

About Gravitational Force Calculator

The Gravitational Force Calculator applies Newton's law of universal gravitation to work out the attractive force between any two masses — from an apple resting on the ground to the Earth orbiting the Sun. Enter two masses and the distance between them to find the force, or rearrange the equation to solve for a mass or the separation instead. Along with the answer you get an animated attraction diagram, an inverse-square force curve, the acceleration of each body, and a plain-language comparison that turns an abstract newton value into something you can picture.

At a Glance

Gravitational Force Calculator applies Newton's law F = G m1 m2 / r² to find the attraction between two masses. It can instead solve for a missing mass or the distance, with units from grams to solar masses.

Gravitational Force Calculator: features at a glance
FeatureWhat you getGood for
Solve for any valueChoose the gravitational force, one of the masses, or the distance as the unknown, and enter the other values.Working backward from a known force
Mass unitsGrams, kilograms, tonnes, Earth masses or solar masses.Everything from everyday objects to planets and stars
Distance unitsMeters, kilometers, astronomical units or light-years. Units can be mixed because values are converted to SI internally.Entering astronomical distances directly
Constant GUses G = 6.6743 x 10⁻¹¹ N·m²/kg², with the working shown step by step.Checking physics homework
Force curvePlots the inverse-square force-versus-distance curve with your scenario marked on it.Seeing how force drops as distance grows
Accelerations and scenariosShows the acceleration of each body and a plain-language weight comparison, with ready-made examples such as apple on Earth and Earth and Moon.Seeing why the Earth does not move toward a dropped apple

Newton's Law of Universal Gravitation

In 1687 Isaac Newton proposed that every mass attracts every other mass with a force that grows with the product of the masses and shrinks with the square of the distance between them. The same single law governs a falling apple and the motion of the planets — which is why it is called universal.

Gravitational Force
$$F = G\,\frac{m_1 m_2}{r^2}$$

where:

  • \(F\) is the gravitational force between the two bodies, in newtons (N)
  • \(m_1\) and \(m_2\) are the two masses, in kilograms (kg)
  • \(r\) is the distance between their centres, in metres (m)
  • \(G\) is the gravitational constant, \(6.6743 \times 10^{-11}\ \text{N·m}^2/\text{kg}^2\)

Rearranging the Formula

Because the law links four quantities, knowing any three lets you solve for the fourth. This calculator does the algebra for you:

Solve for a mass
$$m_1 = \frac{F\,r^2}{G\,m_2}$$
Solve for distance
$$r = \sqrt{\frac{G\,m_1 m_2}{F}}$$

Why Gravity Feels One-Sided

By Newton's third law the two bodies pull on each other with exactly the same force. Yet the Earth clearly does not lurch toward a dropped apple. The reason is acceleration: since \(a = F/m\), the identical force produces a huge acceleration on the tiny apple and an utterly negligible one on the enormous Earth. This calculator shows both accelerations so the asymmetry is obvious.

The Inverse-Square Law

The \(r^2\) in the denominator means gravity weakens very quickly with distance. Move twice as far apart and the force drops to one quarter; three times as far and it falls to one ninth. The force curve in the results panel plots exactly this drop-off, with your own scenario marked on it.

The Gravitational Constant G

\(G\) is one of the fundamental constants of nature and one of the hardest to measure precisely. Its tiny size — about \(6.67 \times 10^{-11}\) — is why gravity is by far the weakest of the four fundamental forces and only becomes dominant when astronomical masses are involved.

Gravitational Force Calculator: The Gravitational Constant G
ScenarioApproximate ForceWhat it feels like
Two people 1 m apart3 × 10⁻⁷ NWeight of a grain of pollen
Apple on Earth's surface0.98 NThe apple's own weight
Earth ↔ Moon2 × 10²⁰ NHolds the Moon in orbit
Sun ↔ Earth3.5 × 10²² NHolds the Earth in orbit

What Affects Gravitational Force?

⚖️ The Masses

Force is directly proportional to each mass, so doubling either mass doubles the force between the two bodies.

📏 The Distance

Force falls off with the square of the separation — the single biggest lever, because small distance changes have a large effect.

🌐 The Constant G

G is fixed everywhere in the universe, which is what makes the law reliable for both lab experiments and astronomy.

🔵 Not the Size

For spherical bodies only the mass and centre-to-centre distance matter, not the physical radius or shape of the objects.

How to Use This Calculator

  1. Choose what to solve for: the gravitational force, one of the masses, or the distance between the bodies.
  2. Enter the known values: type each mass and distance and pick its unit — anything from grams and metres to solar masses and light-years.
  3. Click Calculate: the tool applies Newton's law and solves for the unknown quantity.
  4. Review your results: see the attraction diagram, the inverse-square curve, each body's acceleration, and a plain-language weight comparison, plus a full step-by-step solution.

Frequently Asked Questions

What is the formula for gravitational force?

Newton's law of universal gravitation states that the force between two masses is F = G × m₁ × m₂ / r², where 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.6743 × 10⁻¹¹ N·m²/kg².

What is the gravitational constant G?

G is the universal gravitational constant, equal to about 6.6743 × 10⁻¹¹ newton metres squared per kilogram squared. It sets the strength of gravity throughout the universe and is the same everywhere, which is why the law is called universal.

Why is the gravitational force between everyday objects so small?

Because G is extremely small, gravity only becomes noticeable when at least one mass is enormous, like a planet or star. Two people standing a metre apart attract each other with a force of roughly 3 × 10⁻⁷ newtons, far too weak to feel, while the Earth pulls on you strongly only because it has a mass of about 6 × 10²⁴ kilograms.

Can this calculator solve for mass or distance?

Yes. Use the "Solve for" menu to rearrange Newton's law. You can find the gravitational force from two masses and a distance, or work backwards to find one of the masses or the separation distance when the force is known.

Does gravitational force depend on the size of the objects?

For the purpose of this formula the objects are treated as points, so only their masses and the distance between their centres matter, not their physical size or shape. This point-mass approximation is exact for spherically symmetric bodies such as planets and stars.

What units can I use?

Masses can be entered in grams, kilograms, tonnes, Earth masses, or solar masses, and distances in metres, kilometres, astronomical units, or light-years. The calculator converts everything to SI units internally, so you can freely mix scales such as kilograms with light-years.

Additional Resources

Reference this content, page, or tool as:

"Gravitational Force Calculator" at https://MiniWebtool.com/gravitational-force-calculator/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: July 1, 2026

Chat with your favorite AI

For Gemini, paste the copied question into the chat. You can also copy it below.

View the question

Physics Calculators:

Top & Updated:

Centripetal Force CalculatorHydraulic Cylinder Force CalculatorDensity CalculatorView all →
Home Page > Miscellaneous > Physics Calculators > Gravitational Force Calculator