Gravitational Field Strength Calculator

Compute the gravitational field strength g at any distance from a massive body using Newton's law of universal gravitation.Visualize how g varies with distance on an interactive graph. Includes preset examples for planets, moons, and stars.

Gravitational constant G = 6.67430 × 10−11 N·m²/kg². Field strength g = GM / r² in m/s² (or N/kg).
? Earth (surface)
? Moon (surface)
☀️ Sun (surface)
? Jupiter (surface)
? Mars (surface)
⚙️ Custom
Privacy first: All calculations are performed locally in your browser. No data is sent to any server. The graph is rendered using Canvas API.

What Is Gravitational Field Strength?

The gravitational field strength (often denoted g) at a point in space is the gravitational force per unit mass experienced by a small test mass placed at that point. It is a vector quantity directed toward the center of the mass distribution that produces the field. On Earth's surface, g ≈ 9.81 m/s², a value that governs everything from falling apples to the trajectory of satellites.

g = G · M / r²

where G = 6.67430 × 10⁻¹¹ N·m²/kg² (gravitational constant), M is the mass of the central body, and r is the distance from its center.

This simple yet profound equation, derived from Newton's law of universal gravitation, reveals an inverse-square relationship: doubling the distance from the source reduces the field strength by a factor of four. This principle underpins orbital mechanics, satellite positioning, and our understanding of planetary systems.

Why Use This Interactive Calculator?

  • Visual Physics: See the field strength curve change in real time as you adjust mass and distance. Understand the inverse-square law at a glance.
  • Educational Aid: Ideal for homework verification, classroom demonstrations, and self‑study. Compare the surface gravity of different planets instantly.
  • Astronomy & Space Exploration: Quickly compute the gravity on any planet, moon, or asteroid. Essential for mission planning and science communication.
  • Engineering & Geophysics: Use in geodesy, satellite orbit design, and gravitational anomaly studies.

How the Calculation Works

The tool applies Newton's law of universal gravitation. Given a mass M and a distance r from the center of the mass, the gravitational field strength is:

g = G · M / r²

This assumes the mass is spherically symmetric (or that we are outside the mass distribution, so the shell theorem applies). For a point mass or a sphere, the field is radial and depends only on the enclosed mass and the distance from the center.

Additionally, the tool computes the escape velocity at the given distance: vesc = √(2GM/r). This is the minimum speed needed for an object to escape the gravitational pull of the body without further propulsion.

The interactive graph plots g as a function of r over a range centered on the input distance, using a logarithmic or linear scale as appropriate. The current point is highlighted, and a horizontal reference line marks Earth's surface gravity (9.80665 m/s²) for comparison.

Step‑by‑Step Usage

  1. Enter the mass M of the central body (in kilograms).
  2. Enter the distance r from the center (in meters).
  3. Click Calculate & Plot — or select a preset example.
  4. The result panel displays g, escape velocity, and a comparison to Earth's surface gravity.
  5. The interactive graph shows the full g(r) curve, with your point marked.

Preset Examples & Reference Data

The table below lists the surface gravitational field strength for selected bodies in the Solar System, computed using the same formula. These values are provided for reference and are consistent with authoritative sources (NASA, JPL, and planetary science data).

Body Mass (kg) Radius (m) Surface g (m/s²) vs Earth
Earth 5.972 × 10²⁴ 6.371 × 10⁶ 9.82 1.00
Moon 7.347 × 10²² 1.737 × 10⁶ 1.62 0.165
Sun 1.989 × 10³⁰ 6.963 × 10⁸ 273.95 27.9
Jupiter 1.898 × 10²⁷ 6.991 × 10⁷ 24.79 2.53
Mars 6.417 × 10²³ 3.389 × 10⁶ 3.73 0.38
Venus 4.867 × 10²⁴ 6.052 × 10⁶ 8.87 0.90
Saturn 5.683 × 10²⁶ 5.823 × 10⁷ 10.44 1.06
Neptune 1.024 × 10²⁶ 2.462 × 10⁷ 11.15 1.14
Case Study: Orbital Altitude & Gravitational Field

The International Space Station (ISS) orbits at an average altitude of about 408 km above Earth's surface. At this altitude, the distance from Earth's center is r = 6.371 × 10⁶ + 4.08 × 10⁵ ≈ 6.779 × 10⁶ m. Using the calculator with Earth's mass, we find g ≈ 8.68 m/s² — only about 11.6% less than at the surface. This is why astronauts experience apparent weightlessness not because gravity is absent, but because they are in continuous free fall. The tool helps make this counter‑intuitive fact tangible.

The Historical Context

The concept of a gravitational field was pioneered by Isaac Newton in his Philosophiæ Naturalis Principia Mathematica (1687), where he formulated the law of universal gravitation. However, it was Albert Einstein who, in his general theory of relativity (1915), reimagined gravity not as a force but as the curvature of spacetime. Despite this revolutionary shift, Newton's inverse‑square law remains remarkably accurate for weak fields (such as those in the Solar System) and is the foundation of classical celestial mechanics. The gravitational field strength g is the Newtonian analogue of the relativistic metric acceleration, and it continues to be a central concept in physics education and space mission design.

Common Misconceptions

  • "Gravity is zero in space." — False. Gravity extends infinitely, though it weakens with distance. Astronauts on the ISS experience about 90% of Earth's surface gravity; their apparent weightlessness is due to orbital free fall.
  • "The gravitational field strength depends on the test mass." — No. By definition, g is force per unit mass, so it is independent of the test mass. A heavier object feels a larger force, but the acceleration is the same (neglecting air resistance).
  • "Escape velocity means you can leave orbit with no further fuel." — It gives the initial speed needed to escape without additional propulsion, assuming no air resistance and ignoring other gravitational bodies. Real missions use continuous thrust.

Applications Across Disciplines

  • Astrophysics: Determine surface gravity of exoplanets from mass and radius measurements (transit and radial velocity data).
  • Geophysics: Map subsurface density variations using gravimetric surveys (gravitational anomalies).
  • Aerospace Engineering: Compute required thrust and orbital parameters for spacecraft.
  • Sports Science: Understand how gravity affects projectile motion in different environments (e.g., lunar golf).

Rooted in classical physics — This tool is built upon Newton's law of universal gravitation, one of the most thoroughly validated principles in science. All calculations are performed using double‑precision arithmetic and are consistent with values published by the NASA/JPL Solar System Dynamics group and the NIST Reference on Constants, Units, and Uncertainty. The interactive graph uses standard Canvas rendering. Reviewed by the GetZenQuery tech team, last updated July 2026.

Frequently Asked Questions

They are numerically equal and often used interchangeably in Newtonian gravity. The field strength g is defined as the gravitational force per unit mass (N/kg), while gravitational acceleration is the acceleration of a freely falling object (m/s²). Since F = ma and F = mg, the two quantities have the same magnitude and units.

Yes. As altitude increases (distance r from the center increases), g decreases according to the inverse‑square law. The calculator allows you to input any distance and see the effect immediately. For small altitudes compared to the planet's radius, the decrease is approximately linear with a slope of −2g/R.

For extreme objects, Newtonian gravity breaks down and general relativity is required. However, for distances well outside the Schwarzschild radius, the Newtonian approximation remains useful. The calculator is designed for classical scenarios (planets, moons, stars) and does not incorporate relativistic corrections.

The preset masses and radii are sourced from NASA and planetary science databases. They are accurate to within a few percent for most bodies. For high‑precision work, consult the latest ephemeris data. The calculator itself uses double‑precision arithmetic, so numerical errors are negligible.

Escape velocity is the minimum speed required for an object to break free from the gravitational attraction of the central body without further propulsion. It depends on both mass and distance. For Earth at the surface, it is about 11.2 km/s. At higher altitudes, the escape velocity is lower.

Excellent resources include: HyperPhysics, OpenStax University Physics, and the classic text Gravitation by Misner, Thorne, and Wheeler for a relativistic treatment.
References: NIST CODATA; NASA/JPL Solar System Dynamics; Newton, I. (1687). Philosophiæ Naturalis Principia Mathematica; Wikipedia: Gravitational field.