Gravitational Force Calculator

Calculate the gravitational force between two masses using Newton's law of universal gravitation (F = G × m1 × m2 / r²).

Inputs

Select what to solve for, then fill in the remaining values.

kg
kg
m
G = 6.674 × 10−11 N·m²/kg²  (universal gravitational constant)

Result

Enter values and click Calculate.

Formula Reference

Find Force

F = G·m1·m2 / r²

Find Mass 2

m2 = F·r² / (G·m1)

Find Distance

r = √(G·m1·m2 / F)

Summary

Calculate the gravitational force between two masses using Newton's law of universal gravitation (F = G × m1 × m2 / r²).

How it works

  1. Select what you want to solve for: Force, Mass 2, or Distance.
  2. Enter the required values — masses in kilograms and distance in meters.
  3. Click Calculate to apply the formula F = G × m1 × m2 / r².
  4. The result is displayed with a full step-by-step breakdown.
  5. Use the Reset button to clear all fields and start over.

Use cases

  • Physics homework and exam problems on gravitation and orbital mechanics.
  • Estimating the gravitational pull between planets, moons, and stars.
  • Engineering calculations involving large-scale mass interactions.
  • Classroom demonstrations of Newton's inverse-square law.
  • Comparing gravitational forces at different separation distances.
  • Verifying textbook examples of the universal gravitational constant G.

Frequently Asked Questions

Last updated: 2026-06-11 · Reviewed by Nham Vu