Gravitational Acceleration Calculator (g = GM/r²)


Gravitational Acceleration Calculator (g = GM/r²)

Calculate the gravitational field strength (acceleration) at any distance from a celestial body.


Unit: m³/s². Default value is for Earth.


Unit: meters (m) or kilometers (km). Default is Earth’s mean radius.

9.820 m/s²

Calculation Breakdown

g = GM / r²

Gravity vs. Distance Chart

Dynamic visualization of how gravitational acceleration decreases with distance (r) based on the inverse-square law. The Y-axis represents gravity (m/s²) and the X-axis represents multiples of the entered radius.

Gravitational Data for Solar System Bodies

Standard gravitational parameters (GM) and mean radii for various objects. You can use these values in the calculator.
Body GM (m³/s²) Mean Radius (km) Surface Gravity (m/s²)
Sun 1.32712440018e20 695,700 274.0
Earth 3.986004418e14 6,371 9.820
Moon 4.9048695e12 1,737.4 1.62
Mars 4.282837e13 3,389.5 3.71
Jupiter 1.26686534e17 69,911 25.9

What is Calculating Gravity Using GM/r?

“Calculating gravity using gm r” refers to finding the gravitational acceleration (often denoted as ‘g’) at a specific point in space relative to a massive body. This value represents the acceleration a smaller object would experience if it were in free-fall at that location. The correct and standard formula is g = GM/r², which follows an inverse-square law. This principle, derived from Newton’s Law of Universal Gravitation, is fundamental to orbital mechanics and physics. It’s used by scientists and engineers to predict the motion of satellites, planets, and spacecraft.

Understanding this calculation is crucial for anyone studying physics or astronomy. For instance, an orbital velocity calculator relies on this value to determine how fast a satellite must travel to stay in orbit. The term ‘GM’ in the formula is known as the Standard Gravitational Parameter (μ). It is the product of the universal gravitational constant (G) and the mass of the larger body (M). For many celestial bodies like Earth, the value of GM is known with much higher precision than either G or M individually.

The Formula for Calculating Gravity (g = GM/r²)

The gravitational acceleration ‘g’ is determined by the following formula:

g = GM / r²

This equation states that the gravitational acceleration is directly proportional to the standard gravitational parameter (GM) and inversely proportional to the square of the distance (r) from the center of the massive body.

Variables Table

Explanation of the variables used in the gravitational acceleration formula.
Variable Meaning Typical SI Unit Typical Range
g Gravitational Acceleration m/s² (meters per second squared) 0 to >1000 (depends on the body)
GM (or μ) Standard Gravitational Parameter m³/s² (cubic meters per second squared) ~4.9e12 (Moon) to ~1.3e20 (Sun)
r Distance from the center of mass m (meters) From the body’s radius outwards

Practical Examples

Example 1: Gravity on the Surface of Mars

Let’s calculate the surface gravity of Mars.

  • Inputs:
    • GM of Mars: 4.2828e13 m³/s²
    • Radius (r) of Mars: 3,389.5 km = 3,389,500 m
  • Calculation:
    • g = (4.2828e13) / (3,389,500)²
    • g ≈ 3.71 m/s²
  • Result: The gravitational acceleration on the surface of Mars is approximately 3.71 m/s², about 38% of Earth’s gravity.

Example 2: Gravity at the Altitude of the ISS

Let’s calculate the gravity experienced by the International Space Station (ISS).

  • Inputs:
    • GM of Earth: 3.986e14 m³/s²
    • Radius (r) of Earth: 6,371 km
    • Altitude of ISS: ~400 km
    • Total distance (r): 6371 km + 400 km = 6771 km = 6,771,000 m
  • Calculation:
    • g = (3.986e14) / (6,771,000)²
    • g ≈ 8.7 m/s²
  • Result: At the altitude of the ISS, gravity is about 8.7 m/s², which is roughly 90% of the surface value. The feeling of “weightlessness” is due to the station and its occupants being in a constant state of free-fall. A free fall calculator can help illustrate this concept.

How to Use This Gravitational Acceleration Calculator

This calculator makes calculating gravity using gm r straightforward. Follow these steps:

  1. Enter the Standard Gravitational Parameter (GM): This value is pre-filled for Earth. You can find values for other celestial bodies in the table above. Ensure you use the correct units (m³/s²).
  2. Enter the Distance (r): Input the distance from the body’s center of mass. This can be the body’s radius (for surface gravity) or a radius plus an altitude.
  3. Select Units for Distance: Choose whether your distance is in meters (m) or kilometers (km). The calculator will automatically handle the conversion.
  4. Review the Results: The primary result is the calculated gravitational acceleration in m/s². The breakdown shows the values used in the formula, and the chart visualizes the result.

Key Factors That Affect Gravitational Acceleration

Several factors influence the value of ‘g’:

  • Mass of the Celestial Body (M): A more massive body will have a stronger gravitational pull, resulting in a higher ‘g’ if the radius is the same. This is a direct relationship.
  • Distance from the Center (r): This is the most critical factor. Since gravity follows an inverse-square law, doubling the distance reduces the gravity to one-quarter of its previous value. This is why a precise escape velocity calculator is highly dependent on the starting altitude.
  • Density Distribution: The formula assumes a perfectly spherical body with uniform density. In reality, celestial bodies have variations in density (mountains, denser core) which cause minor local fluctuations in gravity.
  • Rotation of the Body: For an observer on the surface, the planet’s rotation creates a centrifugal force that slightly counteracts gravity. This effect is strongest at the equator and zero at the poles.
  • Altitude: As you move higher above the surface, ‘r’ increases, and therefore ‘g’ decreases. This is evident in our ISS example.
  • Gravitational Influence of Other Bodies: The gravity at a point is technically the vector sum of the gravity from all other bodies in the universe. However, for calculations near a planet, the influence of distant bodies (like the Sun or other planets) is usually negligible.

Frequently Asked Questions (FAQ)

1. Why is the formula g = GM/r² and not just GM/r?

The formula is based on Newton’s Law of Universal Gravitation, which states the force between two masses is inversely proportional to the *square* of the distance between them. This inverse-square relationship is a fundamental property of gravity.

2. What is the difference between ‘G’ and ‘g’?

‘G’ is the universal gravitational constant (~6.674×10⁻¹¹ N·m²/kg²), a scalar value that is the same everywhere in the universe. ‘g’ is the gravitational acceleration, a vector quantity (with magnitude and direction) that varies depending on your location.

3. Why do we use GM instead of G and M separately?

In orbital mechanics, the orbits of satellites can be measured very precisely. These measurements allow for a highly accurate calculation of the product, GM. Measuring G and the mass of a planet (M) individually with the same level of accuracy is much more difficult.

4. Can I use this calculator for any object?

Yes, as long as you know its Standard Gravitational Parameter (GM) and you are calculating the gravity outside its physical radius. The formula assumes a spherically symmetric mass, which is a good approximation for most celestial bodies.

5. Why do astronauts float on the ISS if gravity is still ~90% of Earth’s?

They are in a constant state of free-fall. The station and everything in it are falling towards Earth together. Because they are all accelerating at the same rate, they feel “weightless” relative to the station. To truly escape Earth’s gravity, they would need to reach escape velocity, a concept you can explore with an escape velocity calculator.

6. Does the mass of the smaller object matter?

For calculating gravitational *acceleration* (‘g’), the mass of the smaller object (like a satellite or a person) is irrelevant. However, when calculating the gravitational *force* (F = GmM/r²), the smaller mass (‘m’) is included.

7. How do I handle units correctly?

Always convert your inputs to the base SI units used in the formula: meters (m) for distance and m³/s² for GM. Our calculator handles the conversion from km to m for you, but it’s a common source of error in manual calculations.

8. What is the typical surface gravity on Earth?

The standard average value is defined as 9.80665 m/s². It varies slightly with location due to altitude and the Earth’s rotation. Our calculator provides a value based on the mean radius.

© 2026 SEO Experts Inc. All Rights Reserved.



Leave a Reply

Your email address will not be published. Required fields are marked *