Which force the equation describes
Each mass attracts the other. For two positive point masses, gives the force magnitude. Each force points along the line joining the masses towards the other object. They have equal magnitudes but act on different bodies, so they must not be cancelled in the free-body diagram of either body.[1]
The unit vector points from mass 1 to mass 2; the minus sign directs the force on mass 2 back toward mass 1.
r is positive and measured between the mass locations in the model. The centres may be used exactly for two non-overlapping, spherically symmetric bodies. For irregular bodies this is a far-field approximation requiring their dimensions to be small compared with r.[2]
Which distance r belongs in the law of gravitation?
r is the distance between the two point masses; for two non-overlapping spherically symmetric bodies, it is the centre-to-centre distance. For two separate spheres, the visible gap is not the distance used in the equation. Add both radii to that gap. For an object above a planet, add the planet’s radius to altitude. This small geometry step often matters more than the next calculator operation because distance is squared in the denominator.[1][2]
Here d is the surface gap and h is altitude above the planet’s surface. Spherical symmetry is required for the centre-based formula to apply exactly.[2]
Near an irregular body, centre-of-mass distance alone is insufficient: nearby and distant parts of the source pull with different strengths and directions. Far compared with the body’s dimensions, its total mass can be approximated as concentrated at one point. Inside an extended body, its mass distribution is needed.[2]
How the law is justified
The law connects different observations: falling near Earth, celestial motion and weak attraction between laboratory masses. Those observations test its form. A calculation can show the consequences of an assumed law, but units alone cannot prove it. The constant G is measured too, rather than being assigned an exact SI value.[1][5]
CODATA 2022: the parentheses indicate standard uncertainty 0.00015×10−11. The following model calculations use the central value.[5]
An isotropic spherical field spreads its field lines across areas . Constant total flux is therefore compatible with . This illustrates the model’s geometry while already assuming its field structure; it is not an independent proof without experiments.[2]
As a consistency check, a circular orbit obeys and . Cancelling gives . The model thus reproduces the period–radius relationship for a low-mass companion. Reversing this calculation does not replace tests of other orbits or laboratory forces.[3]
Consistency calculation for a circular orbit about an approximately stationary central mass with a much lighter companion; not an independent proof of the force law.[3]
Kepler’s third law extends the relation between orbital period and size to the relative two-body orbit. Its distance parameter is the semimajor axis; a circular orbit is a special case.[7]
Units and safe rearrangements
Solving for distance requires and positive masses; solving for m2 requires .
Convert 40 cm to 0.40 m before squaring. Convert 6371 km to 6.371×106 m; a factor of 1000 error in distance produces a factor of one million error in force. At fixed geometry, doubling one mass doubles force. Doubling distance reduces force to one quarter. Use these scalings as quick checks.
Two original worked examples
Attraction between two small spheres
- Given
- Spherically symmetric bodies of 12 kg and 30 kg; centre separation 0.40 m. Their radii add to less than 0.40 m, so the bodies remain separate.
- Find
- Find the mutual force and each acceleration due to this interaction alone.
Approach: For separate spherical bodies use , then . Calculate the mass product and squared separation separately.
Substitute into the gravitational law.
Divide the same force by each body’s own mass.
Result: The attraction is approximately 1.50×10−7 N. The 12 kg body accelerates 2.5 times as strongly as the 30 kg body.
Check: . This agrees with Newton’s second law. Other forces such as support forces and Earth’s gravity are excluded.
Gravity 350 km above the surface
- Given
- Non-rotating spherical model: R = 6371 km, altitude h = 350 km. Its surface value is specified as g(R) = 9.81 m/s2.
- Find
- Find the field relative to the specified surface value without inserting Earth’s mass.
Approach: From , use . Add altitude to radius.
Divide the field strengths so that G and M cancel.
Scale the specified surface value.
Result: In this model about 89.86% of the surface field remains; g is approximately 8.815 m/s2.
Check: The factor lies between zero and one and is close to one because 350 km is small compared with 6371 km. An orbit means common free fall, not absent gravity.
How does the gravitational constant G differ from gravitational acceleration g?
G is the universal gravitational constant, with SI unit N·m2/kg2. By contrast, g is the local gravitational field strength, or free-fall acceleration in the Newtonian model without additional forces. Its unit N/kg is equivalent to m/s2. Outside a spherically symmetric source, : G is constant, whereas g depends on source mass M and centre-to-centre distance r.[1][2]
G is the universal constant; g is a field that depends on location. Forces are added as vectors.[2]
Two equal source masses on opposite sides of a test mass produce opposing contributions that cancel at the midpoint. Each force magnitude is nevertheless positive. For an asymmetric arrangement, resolve and add components; simply adding magnitudes works only for forces pointing in the same direction.
An extended source can be treated as individual mass elements. Outside a spherical source its total mass determines the field. Inside a spherically symmetric distribution, only mass enclosed within the observation radius contributes to radial force. For a uniform sphere, field magnitude grows proportionally to r from the centre rather than as 1/r2.[2]
Why test mass cancels from gravitational acceleration
A larger test body experiences greater gravitational force at the same position. More force is also required to change its velocity at the same rate. In Newton’s model its mass therefore cancels in . This concerns acceleration due to gravity alone. Drag and other forces can still depend on size, shape and mass.[2]
Equal acceleration for different test masses does not mean equal force.[2]
Two test bodies at the same location
- Given
- A specified spherical model gives g = 8.0 m/s2 at the observation location. Test bodies of 2.0 kg and 5.0 kg are considered separately there; other forces are excluded and their mutual attraction is negligible.
- Find
- Compare gravitational forces and accelerations.
Approach: calculate force from the local field, then divide each force by its respective mass.
Substitute the two masses.
Result: Forces differ by a factor of 2.5; accelerations match and point towards the source centre.
Check: The force ratio equals the mass ratio. The field was given; this calculation does not determine G or a planet’s mass.
From force law to orbits and measurements
The law supplies the force for a motion calculation, not a completed trajectory. Initial position, initial velocity and Newton’s equation of motion are also needed. For two mobile bodies, account for both motions; the larger body is not automatically stationary. A detailed many-body calculation sums all included mass contributions. For a circular orbit around a dominant central mass, circular-orbit speed follows by equating gravitational force with the required centripetal force.[3]
In a laboratory setup, tiny mutual attraction is often masked by other forces. A calculator result with many digits is not a measurement of matching precision. Practical uncertainty also depends on masses, separation, geometry and environmental disturbances; separation enters quadratically.[1]
When the model needs extension
The point-mass form is unsuitable when nearby irregular bodies are represented by just their centres, or when surface separation is used for r. Divergence as does not imply infinite contact forces between real bodies: the assumption of separate point masses is inappropriate there.
Newtonian gravity approximates many weak-field, slow-motion situations well. Light deflection, relativistic precision and strong gravitational fields require general relativity. An orbital estimate using FG alone also does not calculate a satellite clock’s time correction. In a Newtonian central field, gravitational potential energy describes the corresponding energy of the mass system; its zero level must also be specified.[4][6]
Five problems with solutions
Calculate · Foundation
Two point masses of 5 kg and 8 kg are separated by 0.20 m. Find their attraction.
Show hint
Square separation first.
Learning goal: Calculate point-mass attraction using SI units.
Show solution and calculation
Interpret · Application
The first mass triples and separation doubles. The second mass is unchanged. What factor changes FG?
Show hint
Divide the mass factor by the squared separation factor.
Learning goal: Assess combined mass and separation scaling.
Show solution and calculation
.
Force decreases by 25%.
Transfer · Application
Outside a spherical planet, g should be one quarter of its surface value. Find r and altitude h in terms of radius R.
Show hint
Use and distinguish radius from altitude.
Learning goal: Translate a field-strength target into centre distance and altitude.
Show solution and calculation
From , find .
Altitude above the surface is .
Interpret · Application
Two isolated point masses of 3 kg and 12 kg attract in the same inertial frame. A force arrow on the 3 kg mass is four times as long as the arrow on the 12 kg mass. Is the sketch correct? Describe correct force and acceleration arrows; find their ratios, without needing the separation.
Show hint
The gravitational law gives the same force magnitude for both bodies. Acceleration additionally requires division by the respective mass.
Learning goal: Distinguish equal interaction forces from unequal accelerations.
Show solution and calculation
Approach: compare the interaction forces first, then apply Newton’s law separately to each body.
The force arrows must have equal lengths and opposite directions.
The lighter mass nevertheless has four times the acceleration.
Check: mass times acceleration magnitude agrees for both bodies. The forces cancel only in the total-system balance, not on either individual body.
Error analysis · Application
A spherically symmetric planet has radius R. A test body is outside at altitude 2R above the surface. A solution uses and claims its gravitational acceleration is one quarter of the surface value. Correct the separation and ratio; by what factor is the claimed acceleration too large?
Show hint
The external gravitational field uses distance from the planet’s centre: radius plus altitude.
Learning goal: Separate centre distance from altitude and quantify a systematic error.
Show solution and calculation
Approach: establish the geometry first, then divide the accelerations; the planet’s mass cancels.
The correct separation is 3R, leaving one ninth of the surface value.
One quarter is 2.25 times that value.
Check: positive altitude requires a separation greater than R; the test body’s mass does not affect the ratio.
What to take away
Use centre separation for point masses, separate spherically symmetric bodies or a justified far-field approximation. Identify directions and receiving bodies as well as magnitudes. G is a measured constant; g describes the local field. Inverse-square scaling supplies quick checks, but the force law alone does not specify a trajectory.
Sources for this explanation
Quanta · Updated October 2, 2026
- OpenStax, University Physics 1 §13.1: Newton’s Law of Universal Gravitation
- OpenStax, University Physics 1 §13.2: Gravitation Near Earth's Surface
- OpenStax, University Physics 1 §13.4: Satellite Orbits and Energy
- OpenStax, University Physics 1 §13.7: Einstein's Theory of Gravity
- NIST, CODATA 2022 recommended values: Newtonian constant of gravitation
- OpenStax, University Physics 1 §13.3: Gravitational Potential Energy and Total Energy
- MIT OpenCourseWare, Dynamics L15: Central Force Motion and Kepler’s Laws
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 3 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An internal human subject review is documented for an earlier release of this page. That confirmation does not apply automatically to the revised explanation and new exercises.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Explained centre-to-centre distance directly and distinguished G from g with units; added contextual links to circular-orbit speed and gravitational potential energy.
- Added two exercises; labelled all five by task type, difficulty and learning goal.
- Revised the introduction and learning progression; added explanatory intermediate steps, an application example and a summary. Retained existing examples and all five exercises.
- Linked the circular-orbit comparison to Kepler’s relative two-body orbit.
Cite this reference page
Quanta. Newton's Law of Universal Gravitation. Updated October 2, 2026. https://quanta-study.de/en/formula-sheet/gravitationsgesetz
When citing a specific scientific statement, also cite the specialist source linked to that statement.