Newton's Law of Universal Gravitation Calculator
Enter two masses and the distance between their centers to calculate the gravitational force.
Gravity shapes everything from the path of a dropped pen to the motion of planets and galaxies. A gravitation calculator gives you a quick way to compute the attractive force between two objects based on their masses and the distance between them. Whether you are studying physics, building a science lesson, or checking homework, this tool helps you get accurate results in seconds.
What this gravitation calculator does
This calculator uses Newton's law of universal gravitation to find the force between two masses. You enter:
- Mass 1 (m₁) in kilograms
- Mass 2 (m₂) in kilograms
- Distance (r) between their centers in meters
It returns the gravitational force in newtons (N), and also shows the resulting acceleration each body experiences due to that force.
The core formula
Newton's law of universal gravitation is:
F = G × (m₁ × m₂) / r²
Where:
- F is gravitational force (N)
- G is the gravitational constant, 6.67430 × 10-11 N·m²/kg²
- m₁ and m₂ are the two masses (kg)
- r is distance between centers (m)
This inverse-square relationship means distance has a huge effect: if distance doubles, force becomes one-fourth.
How to use it correctly
1) Keep units consistent
Use SI units only: kilograms for mass and meters for distance. Converting units before calculation prevents common errors.
2) Use center-to-center distance
For spheres like planets or stars, distance should be measured from the center of one body to the center of the other—not from surface to surface.
3) Scientific notation is welcome
You can enter values like 5.97e24 for Earth's mass. This is useful for astronomy and large-scale physics problems.
Worked example: Earth and Moon
Try these values in the calculator:
- m₁ = 5.972 × 1024 kg (Earth)
- m₂ = 7.348 × 1022 kg (Moon)
- r = 3.844 × 108 m
You will get a force around 1.98 × 1020 N, which is the mutual gravitational pull that keeps the Moon in orbit around Earth.
Why this matters in real life
Gravitational force calculations are used in orbital design, satellite placement, trajectory planning, geophysics, and many engineering simulations. Even if your immediate use is academic, understanding gravity equations builds intuition for acceleration, potential energy, and orbital motion.
Common mistakes to avoid
- Entering negative or zero distance
- Using grams instead of kilograms
- Using surface distance rather than center-to-center distance
- Rounding too early in multi-step calculations
Related physics concepts
If you're exploring this tool, you may also find these topics useful: gravitational field strength, escape velocity, orbital period, Newton's laws of motion, centripetal force, and weight vs mass. Together, they form the foundation of classical mechanics and basic astrophysics.
Final thoughts
A good gravity force calculator is simple, but the idea behind it is profound: every mass attracts every other mass. From apples to asteroids, the same equation applies. Use this tool to explore scenarios, test intuition, and deepen your understanding of how the universe holds together.