Key Takeaways
- Definition: The Law of Universal Gravitation relates gravitational force to two masses, their center-to-center distance, and the gravitational constant.
- Main use: Engineers and students use it for gravity force estimates, orbital mechanics foundations, satellite problems, and understanding why near-Earth weight reduces to \(F \approx mg\).
- Watch for: Distance must be measured between mass centers, not surface-to-surface gaps, and unit consistency is critical.
- Outcome: You will be able to calculate gravitational force, rearrange the formula, and recognize when a simplified gravity model is no longer enough.
Table of Contents
Gravitational Force Between Two Masses
The Law of Universal Gravitation calculates the attractive force between two masses using their masses, center distance, and the gravitational constant.

Notice first that \(r\) is not the gap between surfaces. It is the distance between the centers of mass. That single detail prevents many incorrect force estimates in planet, satellite, and large-body problems.
What is the Law of Universal Gravitation?
The Law of Universal Gravitation is Newton’s equation for the attractive force between two masses. It says that every mass attracts every other mass, and that the force depends on both how large the masses are and how far apart their centers are.
In engineering and physics, this equation is most useful when you need a first-principles gravity force rather than a near-surface shortcut. Near Earth, many problems can use \(F = mg\). But when altitude, orbital motion, planetary bodies, or large separation distances matter, the full gravitational force equation explains where \(g\) comes from and why it changes with distance.
The equation is foundational for orbital mechanics, satellite motion, planetary gravity, space systems, and conceptual mechanics. It is also a useful bridge between force, acceleration, potential energy, and motion under gravity.
The Law of Universal Gravitation formula
The most common form calculates the magnitude of the gravitational force between two masses:
This expression shows two important physical ideas. First, gravity scales directly with both masses: doubling either mass doubles the force. Second, gravity follows an inverse-square relationship: doubling the center distance reduces the force to one-fourth of its original value.
The alternate form gives gravitational field strength or gravitational acceleration caused by a large body of mass \(M\). Near Earth’s surface, this becomes the familiar \(g \approx 9.81\ \text{m/s}^2\), which is why weight is commonly written as \(W = mg\).
Variables and units
The Law of Universal Gravitation is unit-sensitive. The SI form is the safest default because the gravitational constant is normally tabulated in SI units.
- \(F\) Gravitational force between the two bodies, in newtons \(\text{N}\).
- \(G\) Universal gravitational constant, approximately \(6.67430 \times 10^{-11}\ \text{N}\cdot\text{m}^2/\text{kg}^2\).
- \(m_1, m_2\) The two masses attracting each other, normally in kilograms \(\text{kg}\).
- \(r\) Center-to-center distance between the masses, in meters \(\text{m}\).
- \(g\) Gravitational field strength or acceleration due to gravity, in \(\text{m/s}^2\) or \(\text{N/kg}\).
Use kilograms, meters, and newtons when using \(G = 6.67430 \times 10^{-11}\ \text{N}\cdot\text{m}^2/\text{kg}^2\). Mixing kilometers, pounds-mass, or miles into the equation without conversion can create errors by many orders of magnitude.
| Variable | Meaning | SI units | Common mistake | Engineering note |
|---|---|---|---|---|
| \(F\) | Gravitational force | \(\text{N}\) | Confusing force with mass | Force acts on both bodies with equal magnitude and opposite direction. |
| \(G\) | Universal gravitational constant | \(\text{N}\cdot\text{m}^2/\text{kg}^2\) | Using rounded or incompatible constants | Use enough significant digits for precision-sensitive orbital work. |
| \(m_1, m_2\) | Interacting masses | \(\text{kg}\) | Using weight instead of mass | Mass is the input; weight is a resulting force in a gravitational field. |
| \(r\) | Center-to-center distance | \(\text{m}\) | Using surface distance | For planets and satellites, measure from the planet’s center. |
For human-scale objects, gravitational attraction is usually tiny. For planetary-scale masses, the same equation becomes enormous because the mass terms dominate despite the very small value of \(G\).
How to rearrange the Law of Universal Gravitation
Most textbook and engineering problems solve for force, but the same equation can be rearranged to estimate mass, distance, or local gravitational field strength when the other quantities are known.
After rearranging, check the direction of the relationship. If distance increases, force must decrease. If either mass increases, force must increase. If your result violates that behavior, the algebra or unit setup is likely wrong.
Worked example
Example problem — gravitational force between Earth and a satellite
A \(1{,}200\ \text{kg}\) satellite is orbiting at a center-to-center distance of \(6.87 \times 10^6\ \text{m}\) from Earth. Use Earth’s mass as \(5.972 \times 10^{24}\ \text{kg}\). Estimate the gravitational force on the satellite.
The gravitational force is about \(10{,}100\ \text{N}\). Dividing that force by the satellite mass gives a local gravitational acceleration of about \(8.4\ \text{m/s}^2\), which is lower than surface gravity because the satellite is farther from Earth’s center.
The satellite is not “outside gravity.” It is still strongly pulled by Earth. Orbital motion occurs because the satellite is continuously accelerating toward Earth while also moving sideways fast enough to keep missing the surface.
Where engineers use this equation
The Law of Universal Gravitation is not usually the final equation for every engineering design task, but it is the foundation behind many gravity-driven analyses.
- Orbital mechanics: Estimating gravitational attraction on satellites, spacecraft, and planetary bodies.
- Gravity field estimates: Understanding how \(g\) changes with altitude or distance from a large mass.
- Space systems: Building first-pass calculations for trajectory, orbital period, escape velocity, and gravitational potential energy.
- Mechanical and civil engineering education: Connecting force, mass, acceleration, and weight in a physically meaningful way.
- Sensor and measurement context: Understanding why gravitational effects can matter in precision instruments, geophysics, and large-scale systems.
In most building, machine, and near-surface problems, engineers use \(W = mg\) because \(g\) is nearly constant over the scale of the system. The full universal law becomes important when the distance from the attracting body changes enough that \(g\) is no longer effectively constant.
Law of Universal Gravitation vs. related equations
The universal gravitation equation is often connected to weight, acceleration, potential energy, and orbital mechanics. The right equation depends on whether you need force, acceleration, energy, or motion.
| Equation / method | Best used for | Key assumption | Main limitation |
|---|---|---|---|
| \(F = G\dfrac{m_1m_2}{r^2}\) | Gravity force between two masses | Masses can be treated by their center-to-center distance | Not enough by itself for full orbital trajectory prediction |
| \(W = mg\) | Weight near Earth’s surface | \(g\) is approximately constant | Less accurate over large altitude changes |
| \(g = G\dfrac{M}{r^2}\) | Gravity field strength around a large body | The large body is modeled as a concentrated or spherical mass | Does not capture local anomalies or nonspherical effects |
| \(U = -G\dfrac{Mm}{r}\) | Gravitational potential energy in orbital-scale problems | Reference energy is zero at infinite separation | Different from the near-surface shortcut \(U = mgh\) |
Assumptions behind the equation
Newton’s gravity law is extremely powerful, but it still depends on modeling assumptions. These assumptions are often harmless for first-pass engineering work, but they matter in high-precision orbital, astronomical, and geophysical calculations.
- 1 The masses can be modeled as point masses or spherically symmetric bodies, so center-to-center distance is valid.
- 2 The gravitational interaction is modeled using Newtonian mechanics rather than relativistic gravity.
- 3 Other bodies, atmospheric drag, thrust, rotation, and local gravity anomalies are either negligible or handled separately.
- 4 The distance \(r\) is measured between centers of mass and uses the same length units as the gravitational constant.
Neglected factors
The basic two-body equation ignores several real-world effects. In many classroom and early engineering estimates, that is acceptable. In precision work, those effects must be added through a more complete model.
- Third-body gravity: The Moon, Sun, and nearby planets can perturb satellite orbits.
- Atmospheric drag: Low Earth orbit objects lose energy due to drag, which the gravity equation alone does not include.
- Nonspherical mass distribution: Earth is not a perfect sphere, and its gravity field varies slightly by location.
- Relativistic effects: Newtonian gravity is not the final model near extremely massive bodies or in precision timing applications.
When this equation breaks down
The Law of Universal Gravitation is usually reliable for everyday engineering-scale gravity estimates and many orbital approximations. It begins to lose accuracy when the problem requires high precision, strong-gravity physics, or a model of more than two interacting bodies.
Do not use the simple two-body equation as a final answer for precision spacecraft navigation, orbital decay, gravitational anomalies, or relativistic environments. In those cases, engineers use numerical models, measured gravity fields, perturbation methods, or general relativity depending on the application.
If the object stays close to Earth’s surface, \(F = mg\) is usually enough. If altitude becomes a meaningful fraction of Earth’s radius, use \(g = GM/r^2\) or the full universal gravitation equation.
Common mistakes and engineering checks
Most incorrect answers come from unit handling, distance definition, or using the near-surface shortcut when gravity is changing significantly.
| Check item | What to verify | Why it matters |
|---|---|---|
| Distance | Use center-to-center distance \(r\), not altitude alone unless radius is already included. | The inverse-square term makes distance errors very sensitive. |
| Mass vs. weight | Use mass in kilograms, not weight in newtons or pounds-force. | The equation calculates force from mass; it does not accept weight as a mass input. |
| Magnitude | Check whether the result increases with mass and decreases with distance. | This catches algebra mistakes and inverted ratios. |
| Gravity model | Decide whether \(mg\), \(GM/r^2\), or the full two-mass equation fits the problem. | Using the wrong gravity model can hide altitude and scale effects. |
If your result for a near-Earth object is far from \(m \times 9.81\ \text{N}\), verify whether your distance \(r\) accidentally used altitude above the surface instead of distance from Earth’s center.
Frequently asked questions
The Law of Universal Gravitation states that any two masses attract each other with a force proportional to the product of their masses and inversely proportional to the square of the distance between their centers.
Use SI units unless a problem gives a compatible alternative constant. Force should be in newtons, mass in kilograms, distance in meters, and \(G\) in \(\text{N}\cdot\text{m}^2/\text{kg}^2\).
Starting from \(F = Gm_1m_2/r^2\), rearrange to \(r = \sqrt{Gm_1m_2/F}\). The answer is the center-to-center distance between the masses.
Gravity spreads out in three-dimensional space. As distance increases, the same gravitational influence is distributed over a larger spherical area, so the force follows an inverse-square relationship.
Use \(F = mg\) for ordinary near-surface weight calculations where \(g\) is effectively constant. Use \(F = Gm_1m_2/r^2\) when distance from the attracting body changes enough to affect gravity.
Summary and next steps
The Law of Universal Gravitation explains how two masses attract each other through a force that grows with mass and decreases with the square of center-to-center distance. It is the foundation behind weight, gravitational acceleration, orbital motion, and gravitational potential energy.
The most important engineering checks are simple: use consistent SI units, measure distance from center to center, avoid confusing mass with weight, and choose the right level of gravity model for the scale of the problem.
Where to go next
Continue your learning path with these curated next steps.
-
Prerequisite: Acceleration Formula
Review how force and gravity connect to acceleration and motion.
-
Current topic: Law of Universal Gravitation
Use this page for the main equation, variables, rearrangements, examples, and gravity checks.
-
Advanced: Potential Energy Equation
Extend gravity from force into energy, elevation change, and orbital-scale mechanics.