Gravitational Law Calculator

Explore Newton’s universal gravitation with flexible inputs today. Compare planets, lab scales, and satellites easily. Get force, field, and acceleration in seconds every time.

Calculator

Choose which variable the calculator should find.
Leave blank when solving for force.
Default is the standard SI value.
Results table also shows SI Newtons.

Example data table

These examples use the standard SI gravitational constant.

Scenario m1 (kg) m2 (kg) r (m) Force (N)
1 kg and 1 kg, 1 m apart 1 1 1 6.67430e-11
5 kg and 10 kg, 2 m apart 5 10 2 8.34287e-10
Two 70 kg people, 1 m apart 70 70 1 3.27041e-7
Earth and 1000 kg at Earth radius 5.97220e+24 1000 6.37100e+6 9820.302293385645
Sun and Earth, 1 AU apart 1.98847e+30 5.97220e+24 1.49598e+11 3.54167e+22

Formula used

Newton’s law of universal gravitation is:

F = G × (m1 × m2) / r²
  • F is the gravitational force between the masses.
  • G is the gravitational constant.
  • m1 and m2 are the two masses.
  • r is the center-to-center separation distance.

This calculator also shows helpful derived values:

  • Field (acceleration): g = G × M / r²
  • Potential energy: U = −G × m1 × m2 / r
  • Orbit speed: v = √(G × M / r)
  • Escape speed: vₑ = √(2 × G × M / r)

How to use this calculator

  1. Select what you want to solve for.
  2. Enter the known values and choose units.
  3. Use scientific notation for very large numbers.
  4. Click Calculate to see results instantly.
  5. Download a CSV or PDF report if needed.

Note: Distance must be between object centers, not surfaces.

1) What the calculator measures

This calculator uses Newton’s law of universal gravitation to estimate the attractive force between two masses. You enter mass 1 (m1), mass 2 (m2), and the center-to-center distance (r), then it returns force in newtons (N). Because gravity acts at a distance, the “r” value should include object radii when bodies are large spheres.

2) Core constant used (G)

The computation relies on the gravitational constant: G = 6.67430×10-11 N·m2/kg2. This value is tiny, which explains why everyday objects produce extremely small gravitational forces. For best accuracy, keep all inputs in SI units: kilograms for mass and meters for distance.

3) The inverse‑square behavior

Gravitational force follows a 1/r2 relationship. If you double the distance, force becomes one‑quarter. If you reduce the distance by 10×, force increases 100×. This steep scaling is why satellites feel far less pull than objects near Earth’s surface, and why close planetary encounters can be dramatically stronger.

4) Quick sanity‑check example (small masses)

Try m1 = 1 kg, m2 = 1 kg, r = 1 m. The calculator returns about 6.67430×10-11 N. That is roughly sixty‑seven pico‑newtons—far below what you can feel. Even 1000 kg and 1000 kg at 1 m only yield about 6.67×10-5 N, similar to the weight of a few milligrams.

5) Earth–Moon data example

Using common reference values—Earth mass ≈ 5.972×1024 kg, Moon mass ≈ 7.3477×1022 kg, and average separation r ≈ 3.844×108 m—the gravitational attraction is about 2.0×1020 N. This enormous force is central to tides and the long‑term Earth–Moon orbital dance.

6) Satellite orbit context

For circular orbits, gravity provides centripetal force. If a satellite of mass m orbits a planet of mass M, the same GMm/r2 term links directly to orbital speed v via v ≈ √(GM/r). The calculator’s force output can therefore help you cross‑check orbit equations or thrust requirements in simulations.

7) Unit handling and common mistakes

The most frequent error is mixing kilometers with meters. If r is entered as 384,400 (thinking km), the force becomes 106 times too large. Another mistake is using surface distance instead of center distance for planets. Add radii when needed, and keep scientific notation enabled for very large or tiny results.

8) Interpreting results and limits

Newton’s law works extremely well for most engineering and astronomy cases, but it assumes point masses or spherical symmetry. For irregular shapes, close distances, or extreme gravity (near black holes), higher‑order models may be required. Still, for educational use and many practical problems, this calculator provides fast, trustworthy estimates.


FAQs

1) What formula does the calculator use?

It uses F = G × (m1 × m2) / r2, where F is force in newtons, m1 and m2 are masses in kilograms, r is center‑to‑center distance in meters, and G is 6.67430×10-11 N·m2/kg2.

2) Should I use surface distance or center distance?

Use center distance. For two spheres, r equals the distance between their centers, not the gap between surfaces. If you know the surface separation, add both radii to get the correct center‑to‑center distance.

3) Why is the result so small for everyday objects?

G is extremely small, so typical masses and distances produce tiny forces. For example, 1 kg and 1 kg at 1 m attract with only ~6.67×10-11 N, which is far below human perception and most household measurement tools.

4) Can I calculate gravitational acceleration with this tool?

Indirectly, yes. If one body is a planet and the other is a test mass, divide the force by the test mass: g = F/m = GM/r2. Use the planet’s mass for M and center distance r for the location.

5) What units should I enter?

Enter mass in kilograms (kg) and distance in meters (m). If you have grams, divide by 1000 to get kilograms. If you have kilometers, multiply by 1000 to get meters. Correct units prevent huge scaling errors.

6) How accurate is the Earth–Moon force example?

It’s a solid estimate using average values. The Earth–Moon distance varies by tens of thousands of kilometers, and the bodies are not perfect point masses. The calculator captures the correct order of magnitude and typical value.

7) When does Newton’s gravity become less reliable?

It can be less accurate for very strong gravitational fields, relativistic speeds, or near extremely compact objects. It also simplifies complex mass distributions. For most classroom physics, satellites, and planetary calculations, it remains highly reliable.

Related Calculators

telescope angular resolution calculatorradar angle resolution calculatorcamera angular resolution calculatorangular resolution distance calculator4k resolution calculatorcamera aperture calculatornumerical aperture angle calculatorrangefinding binoculars with ballistic calculatorbinocular distance calculatorrangefinder binoculars with ballistic calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.