Science

Gravitational Force Calculator

Calculate the gravitational force between two masses using Newton's Law of Universal Gravitation (F = Gmm/r²). Also shows gravitational acceleration.

Key Formula

F = G × m × m / r²  where G = 6.674 × 10⁻¹¹ N·m²/kg²

Quick Presets

Calculate

Enter two masses and the distance between their centers. Scientific notation supported (e.g. 5.972e24).

Gravitational Force
687.3672 N
Acceleration of m
1.1510e-22 m/s²
Acceleration of m
9.819532 m/s²

Surface Gravity of Solar System Bodies

BodySurface g (m/s²)Relative to Earth
Sun27427.9x
Mercury3.70.38x
Venus8.870.90x
Earth9.811.00x
Moon1.620.17x
Mars3.720.38x
Jupiter24.792.53x
Saturn10.441.06x

About This Tool

The Gravitational Force Calculator computes the attractive force between any two masses using Newton's Law of Universal Gravitation. Enter two masses (in kilograms) and the distance between their centers (in meters), and the calculator instantly returns the gravitational force in newtons along with the gravitational acceleration each mass experiences. This tool supports scientific notation for astronomical calculations and includes presets for common scenarios like Earth-Moon, Earth-Sun, and everyday objects.

Newton's Universal Gravitation

Isaac Newton published his law of universal gravitation in "Principia Mathematica" in 1687, one of the most important scientific works ever written. The law states that every particle in the universe attracts every other particle with a force directly proportional to the product of their masses and inversely proportional to the square of the distance between them. This single equation explains falling objects on Earth, the orbits of planets around the Sun, the tides caused by the Moon, and the formation of galaxies. The universality of gravitation was a revolutionary insight that unified terrestrial and celestial physics for the first time.

The Inverse-Square Law

The r² in the denominator means gravitational force follows an inverse-square relationship with distance. Move twice as far away and the force drops to one-quarter. Move ten times farther and it drops to one-hundredth. This geometric property arises because gravitational influence spreads out over the surface of an expanding sphere (which has area 4πr²). The inverse-square law also applies to light intensity, electromagnetic radiation, and sound in free space. It is one of the most ubiquitous patterns in physics.

Gravitational Acceleration

While gravitational force depends on both masses, gravitational acceleration depends only on the mass of the attracting body and the distance. For an object on Earth's surface, g = GM/R² 9.81 m/s², where M is Earth's mass and R is Earth's radius. This is why all objects fall at the same rate in a vacuum, regardless of their mass (as Galileo demonstrated). The calculator shows the acceleration experienced by each mass, which differs when the masses are unequal.

Practical Uses

Aerospace engineers calculate gravitational forces for satellite orbits, spacecraft trajectories, and gravity assists. Geophysicists use gravity measurements to map underground mineral deposits and oil reservoirs. Astronomers calculate gravitational interactions to predict planetary orbits and detect exoplanets. Even architects and civil engineers must account for gravitational loads in structural design. The gravitational force between everyday objects is imperceptibly tiny, but between astronomical bodies it shapes the entire structure of the universe.

Beyond Newton: General Relativity

Einstein's general theory of relativity (1915) replaced Newton's gravitational force with the curvature of spacetime caused by mass and energy. In this framework, objects follow geodesics (straightest possible paths) through curved spacetime, and what we perceive as gravitational force is actually the curvature of space and time. For most calculations, Newton's formula and Einstein's theory give nearly identical results. The differences become measurable only in strong gravitational fields (near black holes), at very high precision (GPS satellites), or over cosmic distances (gravitational lensing). This calculator uses the Newtonian approximation, which is perfectly accurate for all everyday and most astronomical purposes.

Frequently Asked Questions

What is Newton's Law of Universal Gravitation?
Newton's Law of Universal Gravitation states that every mass attracts every other mass with a force proportional to the product of their masses and inversely proportional to the square of the distance between their centers: F = G×m1×m2/r². Here G is the gravitational constant (6.674 × 10⁻¹¹ N·m²/kg²), m1 and m2 are the two masses, and r is the distance between their centers. This law, published in 1687, explains everything from falling apples to planetary orbits.
What is the gravitational constant G?
The gravitational constant G = 6.674 × 10⁻¹¹ N·m²/kg² is a fundamental physical constant that determines the strength of gravitational attraction. It was first measured by Henry Cavendish in 1798 using a torsion balance experiment. G is extremely small, which is why gravity is the weakest of the four fundamental forces. Two 1 kg masses separated by 1 meter exert only 6.674 × 10⁻¹¹ newtons of force on each other, about 15 billion times weaker than the weight of a mosquito.
How does distance affect gravitational force?
Gravitational force follows an inverse-square law: doubling the distance reduces the force to one-quarter. Tripling the distance reduces it to one-ninth. This rapid decrease with distance is why you don't feel the gravitational pull of nearby buildings, even though they have significant mass. However, the force never reaches zero, no matter how far apart two objects are. This is why distant galaxies still exert gravitational influence on each other across billions of light-years.
What is the difference between gravitational force and gravitational acceleration?
Gravitational force (F) is the mutual attraction between two masses, measured in newtons. Gravitational acceleration (g) is the acceleration one mass experiences due to another, measured in m/s². They're related by F = mg. On Earth's surface, g ≈ 9.81 m/s² for all objects regardless of their mass. This is why a feather and a bowling ball fall at the same rate in a vacuum. The calculator shows both: the force between the two masses and the acceleration each mass experiences.
Why is gravity so weak compared to other forces?
Gravity is roughly 10³⁶ times weaker than the electromagnetic force. A small refrigerator magnet can overcome the gravitational pull of the entire Earth on a paperclip. The reason gravity dominates at large scales is that it is always attractive (unlike electromagnetic forces, which can cancel out) and it has infinite range. Additionally, large astronomical bodies have enormous masses that compensate for the tiny gravitational constant. The hierarchy problem — why gravity is so much weaker than other forces — remains one of the biggest open questions in physics.
Does this calculator account for general relativity?
No, this calculator uses Newton's classical formula, which is an excellent approximation for most scenarios. General relativity corrections are only needed near extremely massive or dense objects (black holes, neutron stars) or for extremely precise measurements (like GPS satellites, which require relativistic corrections of about 38 microseconds per day). For everyday and most astronomical calculations, Newton's formula provides results accurate to many decimal places.

Was this tool helpful?