PublicSoftTools

Gravitational Force Calculator

Calculate the gravitational force between any two masses using Newton's law of universal gravitation. Enter masses and separation distance to get force in Newtons instantly. No signup, runs entirely in your browser.

F = G × m₁ × m₂ / r²
Gravitational Force1.9804e+20 N
G = 6.674 × 10⁻¹¹ N·m²/kg²

Tips for Using the Calculator

Scientific notation

Use e-notation for large numbers: Earth's mass is 5.972e24 kg, and the Earth-Moon distance is 3.844e8 m.

Earth-Moon example

The default values show the Earth-Moon system. The result (~1.98 × 10²⁰ N) is the force keeping the Moon in orbit.

Inverse-square scaling

To see the inverse-square law in action, double the distance and notice the force drops to exactly one-quarter of its previous value.

Surface gravity check

For Earth at its surface radius (6.371e6 m) with a 1 kg object, the force should be approximately 9.81 N — matching the familiar g = 9.81 m/s².

Frequently Asked Questions

What is Newton's law of universal gravitation?

Newton's law states that every mass attracts every other mass with a force proportional to the product of their masses and inversely proportional to the square of the distance between them: F = Gm₁m₂/r², where G = 6.674 × 10⁻¹¹ N·m²/kg².

What is the gravitational constant G?

G is the universal gravitational constant with a value of 6.674 × 10⁻¹¹ N·m²/kg². It was first measured by Henry Cavendish in 1798 using a torsion balance experiment.

Why is gravitational force so small between everyday objects?

Because G is an extremely small number (6.674 × 10⁻¹¹). Gravitational force only becomes significant when at least one of the masses is extremely large — like a planet. Two 1 kg objects 1 m apart exert about 6.674 × 10⁻¹¹ N on each other.

What units should I use?

Use kilograms for mass and meters for distance. The result is in Newtons. The calculator accepts scientific notation (e.g. 5.972e24 for Earth's mass).

How does gravitational force change with distance?

It follows an inverse-square law: if you double the distance, the force becomes one-quarter. If you triple the distance, the force becomes one-ninth. This is why orbital mechanics changes dramatically at different orbital radii.

Is my data stored or sent to a server?

No. All calculations run locally in your browser using JavaScript. No data is sent anywhere.