⚛️ Gravitational Force (F = mg): Formula, Calculator and Study Guide
If you searched for gravitational force, F=mg, weight formula, or gravity formula, the short answer is this: near a planet's surface, gravitational force on an object is usually calculated with \(F = mg\). For force between two separated masses in general, use \(F = G\dfrac{m_1m_2}{r^2}\).
This page is updated for March 21, 2026 and combines answer-first notes, current constants, calculators, worked examples, practice problems, and deeper explanations of field strength, orbits, escape velocity, and relativity.
Gravitational Force Explained Simply
In most school-level problems, gravitational force means the force pulling an object toward Earth or another planet. That is why many students first meet gravity through the formula \(F = mg\). Here, \(F\) is the gravitational force in Newtons, \(m\) is mass in kilograms, and \(g\) is gravitational field strength in N/kg or m/s².
That simple formula is actually a special case of the deeper universal gravitation law. Earth has mass, so it creates a gravitational field. When an object of mass \(m\) sits in that field, the object experiences a force equal to its mass times the local field strength. This is why weight is a force and why your weight changes from one world to another while your mass stays the same.
Earth surface
Typical school value in m/s² or N/kg
Moon surface
About one-sixth of Earth's gravity
Mars surface
Much weaker than Earth
Jupiter surface
Much stronger than Earth
F = mg Calculator (Weight Formula)
Use this first for everyday gravitational force problems near a planet's surface
📊 F = mg Results
Newton's Universal Gravitation Calculator
Use this when you know two masses and the distance between their centers
📊 Calculation Results
How to Use the Basic Gravitational Force Calculator
Enter Mass 1
Input the first object's mass in kilograms. Use scientific notation (e.g., 5.972e24 for Earth).
Enter Mass 2
Input the second object's mass in kg. Example: Moon = 7.342e22 kg.
Enter Distance
Provide center-to-center distance in meters. Earth–Moon average = 3.844e8 m.
Get Results
Click Calculate. The tool returns force in Newtons, scientific notation, and the full formula applied.
\[ F = 6.67430 \times 10^{-11} \times \frac{(5.972 \times 10^{24})(7.342 \times 10^{22})}{(3.844 \times 10^{8})^2} \approx 1.98 \times 10^{20} \text{ N} \]
Planetary Gravitational Force Calculator
Surface gravity and weight on any planet in our solar system
📊 Planetary Gravity Results
🪐 Solar System Planetary Reference Data (NASA JPL)
| Body | Mass (kg) | Mean Radius (km) | Surface g (m/s²) | Escape Vel. (km/s) | Orbital Period |
|---|---|---|---|---|---|
| ☿ Mercury | 3.301 × 10²³ | 2,439.4 | 3.70 | 4.25 | 87.97 days |
| ♀ Venus | 4.867 × 10²⁴ | 6,051.8 | 8.87 | 10.36 | 224.70 days |
| 🌍 Earth | 5.972 × 10²⁴ | 6,371.0 | 9.80 | 11.19 | 365.25 days |
| 🌕 Moon | 7.342 × 10²² | 1,737.4 | 1.62 | 2.38 | 27.32 days |
| ♂ Mars | 6.417 × 10²³ | 3,389.5 | 3.71 | 5.03 | 686.97 days |
| ♃ Jupiter | 1.898 × 10²⁷ | 69,911 | 24.79 | 60.20 | 11.86 years |
| ♄ Saturn | 5.683 × 10²⁶ | 58,232 | 10.44 | 36.09 | 29.45 years |
| ⛢ Uranus | 8.681 × 10²⁵ | 25,362 | 8.87 | 21.38 | 84.02 years |
| ♆ Neptune | 1.024 × 10²⁶ | 24,622 | 11.15 | 23.56 | 164.79 years |
| ☀ Sun | 1.989 × 10³⁰ | 695,700 | 274.0 | 617.5 | — (central body) |
Source: NASA JPL Solar System Dynamics planetary physical parameters. As of March 21, 2026, this page uses the NIST-published 2022 CODATA value \(G = 6.67430 \times 10^{-11}\text{ m}^3\text{kg}^{-1}\text{s}^{-2}\).
Gravitational Field Strength Calculator
Field intensity at any distance from a massive body
📊 Gravitational Field Results
Gravitational Potential Energy
Orbital Mechanics Calculator
Orbital velocity, escape velocity, period & centripetal acceleration
📊 Orbital Mechanics Results
Kepler's Third Law — Derived from Newton's Gravitation
\[ r_{GEO} = \left(\frac{GM_E T^2}{4\pi^2}\right)^{1/3} \approx 4.216 \times 10^7 \text{ m} = 42{,}164 \text{ km from Earth's center} \]
This is 35,786 km above Earth's surface — where all communication and weather satellites orbit.
F = mg vs. \(F = Gm_1m_2/r^2\): Which Gravitational Formula Should You Use?
This is the single most important distinction for search intent on this page. Students often land on a result for gravitational force or F=mg and wonder why some textbooks use one formula while others use a completely different one. The answer is that both formulas describe gravity, but they do so at different levels.
The formula \(F = mg\) is the everyday near-surface formula. It tells you the force on an object of mass \(m\) sitting in a gravitational field of strength \(g\). On or near Earth's surface, \(g\) is almost constant for ordinary school problems, so the formula becomes fast and practical. This is why school worksheets about weight, scales, lifting forces, and free-fall often use \(F = mg\).
The formula \(F = Gm_1m_2/r^2\) is the universal law behind the simpler one. It describes the gravitational attraction between any two masses separated by a distance \(r\). When one of those masses is a planet like Earth and you are close to its surface, the expression simplifies into \(F = mg\), where the local field strength is itself given by:
So the two formulas are not competitors. They are connected. The simple formula is the local, practical form; the universal formula is the deeper physical law. Once you understand that, many physics questions become easier to classify.
Use \(F=mg\)
When the problem gives a mass and a local value of gravity or asks for weight near the surface of Earth or another body.
Use \(F=Gm_1m_2/r^2\)
When the problem gives two masses and the distance between their centers, such as Earth and Moon or satellite and planet.
Use \(g = GM/r^2\)
When the question asks for gravitational field strength or acceleration due to gravity at a given distance.
Use \(U = -GMm/r\)
When the topic is gravitational potential energy, binding energy, or orbital energy.
In exam language, this means: if the word weight appears, start thinking about \(F = mg\). If the question describes two astronomical masses and a separation distance, start thinking about Newton's universal gravitation. Good physics problem-solving begins with choosing the right model before you touch the calculator.
What Is Gravitational Force? The Complete Physics Guide
Gravitational force is one of the four fundamental forces of nature, alongside electromagnetism, the strong nuclear force, and the weak nuclear force. It is the invisible attractive force that every object possessing mass exerts upon every other object with mass in the universe. Unlike nuclear forces that operate only at subatomic scales, gravity has infinite range — it acts between two atoms and between two galaxies billions of light-years apart, though the force diminishes rapidly with distance. Gravity is the architect of the cosmos: it formed galaxies, stars, and planets from diffuse clouds of gas and dust; it keeps the Moon in orbit around Earth; it causes the ocean tides; and it keeps your feet firmly planted on the ground.
The modern quantitative understanding of gravity began with Sir Isaac Newton in 1687 when he published his monumental work Philosophiæ Naturalis Principia Mathematica — arguably the most important scientific book ever written. Newton's genius was recognizing that the same force causing an apple to fall from a tree was also responsible for keeping the Moon in its orbit around Earth. This unification of terrestrial and celestial mechanics was revolutionary. Before Newton, it was widely believed that the heavens operated by entirely different rules than Earth. Newton demolished that distinction with a single elegant equation that described gravitational attraction between any two masses anywhere in the universe.
Newton's Law of Universal Gravitation — Deep Dive
Newton's law states that every particle of matter attracts every other particle with a force that is directly proportional to the product of their masses and inversely proportional to the square of the distance between their centers. The mathematical form is:
In this equation, \(F\) is the magnitude of the gravitational force in Newtons (N). The symbol \(G\) is the universal gravitational constant, \(6.674 \times 10^{-11}\) N·m²/kg². The quantities \(m_1\) and \(m_2\) are the masses of the two objects in kilograms (kg), and \(r\) is the center-to-center distance between them in meters (m). The force is always attractive — gravity never repels — and acts symmetrically: object 1 pulls object 2 with the same magnitude of force that object 2 pulls object 1 (Newton's Third Law).
The Inverse-Square Law Explained
The "\(1/r^2\)" dependence — the "inverse-square law" — has a beautiful geometric explanation. Imagine the gravitational field as lines radiating outward from a mass in all directions. As you move further away, these lines must spread over the surface of an ever-larger sphere. Since the surface area of a sphere grows as \(4\pi r^2\), the density of field lines (and thus the field strength and force) decreases as \(1/r^2\). Double the distance? The force drops to one-quarter. Triple the distance? The force drops to one-ninth. This is why the Sun's gravity dominates the solar system despite being 150 million km from Earth.
Key Properties of Gravitational Force
- Universal: Acts between all objects with mass — from quarks to galaxy superclusters.
- Always Attractive: Unlike electric or magnetic forces, gravity is exclusively attractive — never repulsive.
- Infinite Range: Acts across all distances, though it weakens as \(1/r^2\).
- Mass-Dependent: Proportional to both masses; doubling either mass doubles the force.
- Conservative Force: Work done against gravity is path-independent; gravitational potential energy is well-defined.
- Superposition Principle: The total gravitational force on an object is the vector sum of individual forces from all other masses.
- Weakest Fundamental Force: Per unit mass, gravity is vastly weaker than electromagnetic or nuclear forces, yet it dominates at cosmic scales because it is always additive and acts over infinite range.
The Gravitational Constant G — History, Measurement and Current Data
As of March 21, 2026, NIST's current constants database uses the 2022 CODATA recommended values, which NIST notes were published into its database in May 2024. The gravitational constant still appears with the familiar central value:
Newton derived the law of gravitation in 1687 but could not measure \(G\) directly — he could only determine relative gravitational effects. The first measurement of \(G\) came over a century later, in 1798, when Henry Cavendish used a torsion balance. By measuring a tiny twist in a suspended apparatus caused by nearby lead spheres, he effectively measured Earth's density and, in doing so, unlocked the value of the universal constant behind Newton's law.
Despite being discovered over 200 years ago, \(G\) remains the least precisely measured of all fundamental physical constants. Its relative uncertainty of approximately \(2.2 \times 10^{-5}\) is many orders of magnitude larger than constants like the speed of light or the electron charge. This is because gravitational forces between laboratory objects are extraordinarily tiny and very difficult to isolate from vibrations, air currents, and electromagnetic interference. The extreme smallness of \(G\) (roughly \(6.67 \times 10^{-11}\)) explains why you don't feel gravitational attraction toward other people standing nearby — the force between two 70 kg people 1 meter apart is a mere \(3.27 \times 10^{-7}\) N, far below human perception.
Current G value
NIST/CODATA database current through 2022 adjustment
Standard gravity
Conventional exact standard used in many engineering contexts
Typical school value
Common rounded value for classroom F=mg calculations
Data status
Page refreshed with current date and current constants framing
Gravitational Field Strength — Concept and Formula
Rather than always thinking of gravity as an interaction between two specific objects, physicists find it more powerful to describe gravity in terms of a gravitational field. A massive object creates a gravitational field in the space surrounding it — a region where any other mass will experience a force. The gravitational field strength \(\vec{g}\) at a point in space is defined as the gravitational force per unit mass that a test mass placed at that point would experience:
The units of gravitational field strength are Newtons per kilogram (N/kg), which is dimensionally identical to meters per second squared (m/s²). This is not a coincidence — the gravitational field strength numerically equals the acceleration due to gravity at that point. On Earth's surface, \(g \approx 9.807\) m/s², meaning a freely falling object accelerates at 9.807 m/s² downward (in the absence of air resistance).
Variation of g With Altitude
Earth Surface
Standard reference gravity (100%)
ISS Orbit (400 km)
~88.6% of surface gravity
GPS Orbit (20,200 km)
~5.8% of surface gravity
GEO Orbit (35,786 km)
~2.3% of surface gravity
Note that even at the altitude of the International Space Station (400 km), gravitational field strength is still 88.6% of the surface value. Astronauts experience "weightlessness" — more correctly called microgravity — not because gravity has disappeared, but because they are in continuous free fall. They and the station fall toward Earth at the same rate, so there is no contact force between them and the floor — creating the sensation of weightlessness.
Orbital Mechanics — How Gravity Creates Orbits
An orbit is a continuous free fall around a massive body. When an object is placed in orbit, the gravitational force acts as the centripetal force that continuously deflects its path into a curve. Crucially, the object never "falls to the ground" because it is also moving forward fast enough that Earth's surface curves away beneath it at the same rate. This is the key insight: orbital motion is horizontal free fall.
This derivation shows that orbital velocity depends only on the mass of the central body and the orbital radius — not on the mass of the orbiting object. The International Space Station (450,000 kg) and a 1 kg tennis ball at the same orbit have identical orbital velocities. For low Earth orbit (~400 km altitude), this works out to about 7.66 km/s, or roughly 27,600 km/h — fast enough to circle the globe in about 90 minutes.
Kepler's Three Laws from Newtonian Gravity
Johannes Kepler (1571–1630) discovered his three laws of planetary motion empirically from astronomical data. Newton later showed that all three laws can be derived mathematically from the gravitational force law — a triumph of theoretical physics:
- Kepler's First Law: Planetary orbits are ellipses with the Sun at one focus. (Newton: derived from the inverse-square force law.)
- Kepler's Second Law: A line from the Sun to a planet sweeps equal areas in equal times. (Newton: this is conservation of angular momentum.)
- Kepler's Third Law: \(T^2 \propto r^3\) — the square of the orbital period is proportional to the cube of the semi-major axis. (Newton: derived as \(T^2 = 4\pi^2 r^3 / GM\).)
Escape Velocity — Breaking Free from Gravity
Escape velocity is the minimum speed an object must achieve to escape a gravitational field without any further propulsion. It is derived by equating kinetic energy to the magnitude of gravitational potential energy:
The escape velocity at Earth's surface is approximately 11.19 km/s (about 40,320 km/h or 25,054 mph). Crucially, this is independent of the mass of the escaping object — a golf ball and a rocket need the same minimum speed to escape Earth's gravity (ignoring air resistance). The relationship between escape velocity and orbital velocity is elegantly simple:
Moon
No atmosphere — gas escapes easily
Mars
Thin atmosphere retained
Earth
Dense nitrogen-oxygen atmosphere
Jupiter
Thick hydrogen-helium atmosphere
The Moon's low escape velocity (2.38 km/s) directly explains why it has virtually no atmosphere: gas molecules at typical lunar temperatures easily reach this speed through thermal motion and escape into space over geologic time. Earth's higher escape velocity (11.19 km/s) retains most atmospheric gases, though light hydrogen and helium do slowly leak away from the upper atmosphere.
Gravitational Potential Energy
Gravitational potential energy (GPE) is the energy stored in the gravitational interaction between two masses. Near Earth's surface, the familiar formula \(U = mgh\) is used, where \(h\) is the height above an arbitrary reference level. However, this is only an approximation valid for small height changes. The exact formula, valid at any distance from a massive body, is:
The negative sign is physically crucial. We define the reference level as \(U = 0\) when two objects are infinitely far apart (\(r \to \infty\)). As the objects move closer, \(U\) becomes more negative — energy is released (converted to kinetic energy). This is why comets speed up as they fall toward the Sun. To separate two gravitationally bound objects, you must input energy equal to \(|U|\) — the "binding energy."
For a satellite in a circular orbit of radius \(r\), the total mechanical energy (kinetic + potential) is:
Gravity on Other Planets — Why Your Weight Changes
Your mass (the amount of matter in your body, measured in kg) remains constant throughout the universe. But your weight (the gravitational force pulling you toward a planet, measured in Newtons) changes depending on the planet's surface gravity. Surface gravity depends on both the planet's mass and radius:
This formula reveals something surprising: a planet can be much more massive than Earth yet have similar surface gravity if it is also much larger. Saturn has 95 times Earth's mass but a surface gravity of only 10.44 m/s² (barely more than Earth's 9.807 m/s²), because its radius is about 9.5 times Earth's. Conversely, a neutron star — with 1.4 times the Sun's mass packed into a sphere only 10 km across — has an estimated surface gravity of about \(10^{12}\) m/s², one trillion times Earth's.
Using the planetary calculator above, a 70 kg person would weigh approximately: 258 N on Mercury (26 kg equivalent), 621 N on Venus (63 kg equiv.), 686 N on Earth (70 kg equiv.), 113 N on the Moon (11.5 kg equiv.), 260 N on Mars (26.5 kg equiv.), and 1,735 N on Jupiter (177 kg equiv.). Apollo astronauts, despite wearing spacesuits weighing 80 kg on Earth, found them weighing only about 13 kg on the Moon's surface — enabling their famous high jumps and bounding steps.
Einstein's General Relativity vs. Newton's Gravity
Newton's law of gravitation is astonishingly accurate for everyday and most astronomical purposes, yet it is fundamentally incomplete. Albert Einstein's General Theory of Relativity (1915) provides a deeper, more accurate description. In Einstein's framework, gravity is not a force at all — it is the curvature of four-dimensional spacetime caused by mass and energy. Objects naturally follow the straightest possible paths (called "geodesics") through curved spacetime, and what we observe as gravitational attraction is simply the result of this curved geometry.
General relativity predicts phenomena impossible to explain with Newton's gravity: the precession of Mercury's perihelion (off by 43 arcseconds per century in Newtonian theory — perfectly explained by GR), gravitational lensing of light around massive objects, gravitational time dilation (GPS satellites must account for this), gravitational waves (first directly detected by LIGO in 2015 from merging black holes 1.3 billion light-years away), and the behavior of black holes and neutron stars. For the purposes of our gravitational force calculator, Newtonian gravity is the standard approach and gives results accurate to well within measurement precision for virtually all educational and engineering applications.
Real-World Applications of Gravitational Force
- Satellite Communications & GPS: Communication satellites (GEO at ~35,786 km) and GPS satellites (~20,200 km) are precisely positioned using orbital mechanics equations derived from gravitational theory. GPS also requires relativistic corrections for both special and general relativistic effects on satellite clocks.
- Space Mission Design: NASA and ESA engineers use gravitational calculations to design gravity-assist (slingshot) maneuvers, where spacecraft accelerate by swinging around planets. The Voyager missions used this technique to reach the outer solar system and eventually interstellar space.
- Tidal Forces: The differential gravitational force (tidal force) across extended objects causes Earth's ocean tides (primarily from the Moon, secondarily from the Sun), deforms moons like Io (creating volcanism), and eventually can tear apart objects that venture too close to massive bodies (the "Roche limit").
- Geophysics & Geology: Sensitive gravimeters measure tiny variations in Earth's gravitational field to map subsurface rock density, locate mineral deposits, detect underground cavities, monitor volcanic activity, and track changes in ice sheets and groundwater.
- Structural Engineering: Every building, bridge, dam, and skyscraper is designed to withstand gravitational loads. The entire practice of structural engineering is rooted in accurate gravitational force calculations.
- Astrophysics: Gravitational lensing allows astronomers to detect and study dark matter, distant galaxies, and exoplanets. Gravitational wave astronomy has opened an entirely new observational window on the universe.
- Medical Imaging: The GRACE satellite mission measured Earth's gravitational field variations to detect changes in groundwater aquifers and ice sheet mass loss, providing crucial data on climate change.
- Particle Physics: Scientists test Newton's and Einstein's gravity at very small scales, searching for extra dimensions and quantum gravity effects that would modify the inverse-square law at sub-millimeter distances.
Gravitational Force in Academic Exams — What You Need to Know
Gravitational force is tested extensively across all major physics curricula. Here is what each major exam expects:
- SAT Physics Subject Test: Newton's law of gravitation, inverse-square law, satellite motion. Questions typically require substituting values into \(F = Gm_1m_2/r^2\) and reasoning about proportional changes.
- AP Physics 1: Gravitational force, field strength, Newton's Third Law applied to gravity, conceptual orbital mechanics.
- AP Physics C: Mechanics: Gravitational potential energy \(U = -GMm/r\), derivation of orbital mechanics formulas, Kepler's Laws, gravitational field as a vector field, the Shell Theorem.
- IB Physics HL/SL (Topic 6): Gravitational field strength, orbital speed, gravitational potential, escape velocity, and the relationship between g at surface and orbital height.
- A-Level Physics (UK): Full derivation of orbital mechanics from first principles, gravitational potential wells, satellite energy calculations, and geostationary orbits.
- University Physics (Halliday/Serway): Shell Theorem proof, tidal forces, orbital mechanics in non-circular orbits, introduction to general relativity.
Our calculators are designed to reinforce understanding at all these levels. Each result displays the formula applied with your values substituted in, helping you learn the mathematics rather than just obtain an answer.
Practice Problems and Worked Answers
A page targeting gravitational force and F=mg should not stop at explanation. Students also need problems that show how the formulas behave in context. The worked examples below move from basic school-level weight calculations to universal gravitation and orbital reasoning.
Problem 1: Find the weight of a 65 kg student on Earth
Question: A student has a mass of 65 kg. Take \(g = 9.8\text{ m/s}^2\). What is the gravitational force on the student?
Solution: Use the near-surface formula \(F = mg\).
Answer: The student's weight is 637 N. Notice that this is a force in Newtons, not a mass in kilograms.
Problem 2: Find the same student's weight on the Moon
Question: The same student travels to the Moon, where \(g \approx 1.62\text{ m/s}^2\). What is the gravitational force now?
Answer: The gravitational force is 105.3 N. The student's mass stayed 65 kg, but the weight changed because the gravitational field is weaker.
Problem 3: Rearranging \(F = mg\)
Question: An object weighs 196 N on Earth. If \(g = 9.8\text{ m/s}^2\), what is its mass?
Solution: Rearrange to \(m = F/g\).
Answer: The object's mass is 20 kg. This kind of rearrangement appears constantly in exam problems and lab work.
Problem 4: Universal gravitation between two masses
Question: Two spheres have masses 12 kg and 18 kg. Their centers are 0.50 m apart. What is the gravitational force between them?
Solution: Use Newton's universal law:
The numerator is 216, and dividing by \(0.25\) gives 864. So:
Answer: The force is extremely small, about \(5.77 \times 10^{-8}\) N. This illustrates why everyday objects do not noticeably attract one another.
Problem 5: Find gravitational field strength at a planet's surface
Question: A planet has mass \(6.0 \times 10^{24}\) kg and radius \(6.4 \times 10^6\) m. Estimate the surface gravitational field strength.
Solution: Use \(g = GM/r^2\).
Answer: The surface gravity is about 9.8 m/s², close to Earth.
Problem 6: Explain why astronauts feel weightless in orbit
Question: If gravity still acts strongly at ISS altitude, why do astronauts float?
Solution: They float because the spacecraft and everything inside it are in continuous free fall around Earth. Gravity is still present, but there is no support force pushing the astronauts up relative to the station floor in the usual way.
Answer: Astronauts feel weightless not because gravity vanishes, but because they are falling around Earth together with their spacecraft.
These problems show the hierarchy clearly. Start with \(F=mg\) for local weight. Move to \(g = GM/r^2\) when you need the field itself. Use \(F = Gm_1m_2/r^2\) for force between separated masses. That progression mirrors how the subject is taught across most physics courses.
Frequently Asked Questions About Gravitational Force
Related Physics Tools and Study Notes on He Loves Math
For stronger internal linking and better topic coverage, these are the closest related pages from the sitemap for readers moving from gravitational force into adjacent physics concepts and calculators:
📚 Sources & Further Reading: NIST Fundamental Constants Database | NIST Version History for 2022 CODATA Update | NASA JPL Solar System Dynamics | More Physics Tools — HeLovesMath.com



