Skip to main content
🔭 Gravitation

Gravitational Force Calculator

Find the gravitational attraction between two masses with Newton's law — F = G·m₁·m₂/r² — or solve a mass or the distance. Force falls with the square of distance.

F = G·m₁·m₂ / r²
Solve any value
Inverse-square law
G = 6.674×10⁻¹¹
100% Free
🔭 Open Full Physics Calculator 📖 Read the Guide

Gravitational force — Quick answer

The attraction between two masses is G times the product of the masses, divided by the distance squared.

F = G × m₁ × m₂ / r² (G = 6.674×10⁻¹¹)
m₁ = F·r² / (G·m₂) · r = √(G·m₁·m₂ / F)

Worked example: two 1000 kg masses, 2 m apart → F = 6.674e-11 × 1e6 / 4 = 1.67×10⁻⁵ N.

Two 1000 kg masses, by distance

DistanceForceNote
1 m6.67×10⁻⁵ Nclose
2 m1.67×10⁻⁵ N¼ of 1 m
5 m2.67×10⁻⁶ N1/25 of 1 m

Used for: orbits, weight, astronomy, tides, physics problems.

🔭 Gravitational Force Calculator

Enter any three of force, the two masses and the distance — leave one blank to solve it (SI: N, kg, m).

Gravitational force
Mass 1
Mass 2
Distance

⚠️ Use SI units — kilograms, metres — with G = 6.674×10⁻¹¹ to get force in newtons. The distance is between the masses' centres. Force is inverse-square: double r quarters the force.

Newton's law of universal gravitation says every pair of masses attracts with a force F = G·m₁·m₂/r² — proportional to both masses and inversely proportional to the square of the distance between them. The constant G is tiny, so the force is negligible for everyday objects and only becomes important when a mass is planet-sized. The same equation that makes two cars attract imperceptibly also holds the Moon in orbit and sets your weight on the ground.

Reviewed: June 20, 2026 · Author: Naveen P N, Founder — AI Calculator · Verified against: Newton's law of universal gravitation, G = 6.674×10⁻¹¹ N·m²/kg².

The gravitation equations

Gravitational force
F = G × m₁ × m₂ / r² (G = 6.674×10⁻¹¹ N·m²/kg²)
Solve a mass
m₁ = F × r² / (G × m₂)
Solve the distance
r = √(G × m₁ × m₂ / F)

Keep masses in kilograms and the distance in metres so the force lands in newtons. The force grows in direct proportion to either mass but shrinks with the square of the distance, the hallmark inverse-square law. To find a mass from a known force, rearrange to m₁ = Fr²/(Gm₂); to find the separation, take the square root of Gm₁m₂/F. The attraction always acts along the line joining the two centres.

Worked example — two masses, and your weight

Scenario: Two 1000 kg masses sit 2 m apart. What is the attraction? And how does the same law give weight?

Two masses
F = 6.674×10⁻¹¹ × 1000 × 1000 / 2² = 1.67×10⁻⁵ N
Weight on Earth (1 kg)
F = G × 5.972×10²⁴ × 1 / (6.371×10⁶)² ≈ 9.82 N

The two cars attract with a mere 1.67×10⁻⁵ N — utterly unnoticeable. Halve the distance to 1 m and the force quadruples to 6.67×10⁻⁵ N; stretch it to 5 m and it drops to 2.67×10⁻⁶ N. Yet plug in Earth's huge mass and radius and the same formula gives 9.82 N on a 1 kg object — exactly its weight. That single law spans from imperceptible to everyday simply through the size of the masses involved.

Frequently Asked Questions

How do I calculate gravitational force?

F = G·m₁·m₂/r², G = 6.674×10⁻¹¹. Two 1000 kg masses 2 m apart → 1.67×10⁻⁵ N.

What is G?

The universal gravitational constant, 6.674×10⁻¹¹ N·m²/kg² — the same everywhere.

Why distance squared?

Gravity spreads over a sphere whose area ∝ r². Double r → ¼ force (inverse-square law).

How does it relate to weight?

Weight is gravity from a planet. Earth's mass/radius give ≈ 9.82 N on 1 kg — that's mg.

Why is everyday gravity so weak?

G is minuscule, so you need a planet-sized mass to feel it. Two cars attract with ~10⁻⁵ N.

Ready to perform complete calculations?

Use the full AI Calculator suite for gravitation and orbital mechanics with a professional PDF report.

🔭 Open Full Calculator — Free

No registration required · 350+ engineering calculators · PDF report export