Physics

Gravitational Force Calculator

Calculate the gravitational force between two masses.


Gravitational Force Calculator

Advertisement

Newton’s law of universal gravitation — the attractive force between any two masses, based on their masses and the distance between them.

How it works

The gravitational constant is multiplied by both masses, then divided by the square of the distance between their centers.

What this does not include

This does not include relativistic corrections — for everyday scales and speeds, Newton’s law gives an accurate result, but extreme conditions (very strong gravity, very high speeds) require general relativity instead.

How to use this calculator

  1. Enter both masses and the distance between their centers.

A worked example

Two 1,000 kg masses 10 m apart: gravitational force = G×m1×m2/r² = 6.674×10⁻⁷ N — vanishingly small at everyday scales.

Earth’s mass and 1 kg at Earth’s surface (radius 6.371×10⁶ m): force = 9.8196 N — this is just Earth’s surface gravity, recovered from the same universal formula.

What the variables mean

Variable Meaning
Mass 1, Mass 2 The two masses attracting each other
Distance Distance between their centers

Edge cases worth knowing

Gravitational force between everyday objects is almost immeasurably small — the first example shows two substantial 1,000 kg masses producing a force far too tiny to notice, which is why gravity only feels significant near planet-sized masses.

The second example recovers Earth’s familiar 9.8 m/s² surface gravity from the exact same universal formula — a nice check that the general law and the everyday approximation agree.

Frequently asked questions

Why does the force decrease so quickly with distance?

Because distance is squared in the denominator — doubling the distance reduces the gravitational force to one quarter of its original strength.

Why is everyday gravitational force between objects so tiny?

The gravitational constant itself is extremely small, so unless at least one mass is astronomically large (like a planet), the resulting force is far too small to notice.

How does this relate to why we feel Earth’s gravity?

Earth’s enormous mass, despite the tiny gravitational constant, produces the familiar everyday force we call weight — the same formula, just with one mass being planet-sized.

Sources

  1. CODATA recommended value for the gravitational constant G
Be the first to rate this

Written by

R. Solano

Physics writer

R. Solano writes the physics calculators, spanning mechanics, electricity, optics and thermodynamics. Each page names the physical model it uses and the conditions under which that model holds — ideal gas, no air resistance, small-angle approximation — because a physics result without its assumptions is a number without a meaning. Formulas are given in symbols first, then in the calculator.

Reviewed by

V. Kowalski

Calculator reviewer — physics and engineering

V. Kowalski reviews the physics and engineering calculators, checking that each page states the physical model it assumes and that the stated model matches the formula actually implemented. Review covers unit consistency throughout a calculation and whether approximations are flagged where the underlying physics is more complicated than the formula suggests.

How we write and review

Related calculators