Skip to content

Gravitational Potential Calculator

Calculate gravitational potential with instant, accurate results and clear step-by-step output.

By CalcGenius Editorial TeamLast reviewed August 28, 20253 min read
Gravitational Potential Calculator
The gravitational potential V = −G × M / r is negative everywhere in the field.
Pick a Solar System body or enter a custom mass. Preset updates only the mass field.
Mass of the attracting body.
Distance from the body's center to the test point.
Leave 0 to compute V only; enter a mass to also compute its potential energy.
📊
Enter your values and click Calculate

About

Gravitational potential, denoted V, is the gravitational potential energy per unit mass at a point in a gravitational field. For a point mass M at distance r from the center, V is given by V = −G × M / r, with SI units of J/kg (equivalently m²/s² — the same dimension as velocity squared). The negative sign is by convention: potential is defined as zero at infinite distance from the mass, becoming more negative as you approach. At Earth's surface, V ≈ −6.25×10⁷ J/kg — each kilogram has 62.5 MJ of (negative) gravitational potential energy.

The negative sign indicates that gravity is attractive — a test mass at distance r is bound to the source, meaning you must add energy to remove it to infinity. The amount of energy needed per unit mass is exactly |V| = GM/r. For a test mass m, the gravitational potential energy is U = m × V = −GMm/r. For a 1,000 kg satellite at geostationary orbit (r = 4.216×10⁷ m), V = −9.44×10⁶ J/kg, so U = −9.44×10⁹ J — you'd need to supply 9.44 GJ of energy to send the satellite to infinity.

The convention V(∞) = 0 is universal in physics because it makes the math cleanest. At infinity, the gravitational interaction vanishes — there is no force and no potential. So setting V = 0 there means V at any finite r is just the work per unit mass that gravity does on a test mass moving from infinity to r, with a negative sign (since the field does positive work pulling the mass in). The choice of zero is arbitrary (only differences matter physically), but infinity gives the cleanest equations and aligns with the physical interpretation of a bound system.

Gravitational potential is related to gravitational force by the gradient: F = −∇V × m, or for a radial field, g = −dV/dr = GM/r² (the gravitational acceleration). Note that potential follows a 1/r law while force and acceleration follow 1/r². This means potential weakens more slowly with distance — at 10 Earth radii, force is 1/100 of surface, but potential is still 1/10 of surface. This is why gravitational potential remains significant at large distances where gravity is already weak; it explains why the Moon orbits Earth from 384,000 km, and Earth orbits the Sun from 150 million km.

Escape velocity emerges directly from gravitational potential. By conservation of energy, the kinetic energy at launch equals the change in potential from r to infinity: ½mv² = −(U_∞ − U_r) = GMm/r = −mV, giving v_esc = √(2GM/r) = √(−2V). Earth surface V = −6.25×10⁷ J/kg → v_esc = 11.2 km/s. Moon surface V = −2.82×10⁶ J/kg → v_esc = 2.38 km/s (which is why lunar missions needed far less fuel than Mars missions would). The escape velocity depends only on the magnitude of potential at the launch point — not on the mass of the escaping object.

Gravitational potential is a scalar field — defined everywhere in space, with a single value at each point. This contrasts with the vector gravitational field (force per unit mass), which has both magnitude and direction. Computing with potential is often easier than with vectors because scalars add simply: the total potential from multiple masses is just the sum of individual potentials. This makes V the natural quantity for orbital mechanics, tides, and general relativity (where the metric tensor generalizes the Newtonian potential). Einstein's field equations reduce to Poisson's equation ∇²V = 4πGρ in the weak-field limit.

How to Use

  1. 1
    Pick what to solve for
    Choose Potential (V), Mass (M), or Distance (r) from the Solve mode dropdown. V is the default — the typical scenario of computing potential from a mass and distance.
  2. 2
    Optionally pick a body preset
    Use the Body preset dropdown to auto-fill mass with Earth, Moon, Mars, Jupiter, or Sun. Choose Custom to enter any mass.
  3. 3
    Enter the known values
    Type mass (kg), distance from center (m), or potential (J/kg) as appropriate to your mode. Also enter test mass (kg) to compute potential energy U = mV.
  4. 4
    Read the gravitational potential
    The hero block shows V in J/kg. Below it: potential energy for the test mass, escape velocity at that distance, and orbital velocity.
  5. 5
    Sanity-check against known values
    Earth surface: V = −6.25×10⁷ J/kg. At ISS altitude (400 km): V ≈ −5.94×10⁷ J/kg. At geostationary orbit: V ≈ −9.44×10⁶ J/kg. At Moon's distance: V ≈ −1.04×10⁶ J/kg.

Formula

Gravitational potential and related quantities:

V = −G × M / r (potential, J/kg)
U = m × V = −G × M × m / r (potential energy, J)
g = −dV/dr = GM/r² (gravitational acceleration, m/s²)
v_esc = √(2GM/r) = √(−2V) (escape velocity, m/s)
v_orbit = √(GM/r) = √(−V) (circular orbital velocity, m/s)
G = 6.674×10⁻¹¹ N·m²/kg²

Rearranged for any of the three primary variables:

  • Potential: V = −GM/r
  • Mass: M = −V × r / G
  • Distance: r = −GM / V

Convention: V = 0 at infinity (so V < 0 everywhere in the field).

Worked Example

What is the gravitational potential at Earth's surface?

  • Known: M = 5.97×10²⁴ kg, r = 6.371×10⁶ m, G = 6.674×10⁻¹¹
  • V = −GM/r = −6.674e-11 × 5.97e24 / 6.371e6
  • V = −3.986e14 / 6.371e6 = −6.26×10⁷ J/kg
  • For a 1000 kg satellite at this point: U = mV = 1000 × (−6.26e7) = −6.26×10¹⁰ J
  • Escape velocity: v_esc = √(−2V) = √(1.252e8) ≈ 11,190 m/s = 11.2 km/s

At geostationary orbit (r = 4.216×10⁷ m), what is V?

  • V = −GM/r = −6.674e-11 × 5.97e24 / 4.216e7 = −9.44×10⁶ J/kg
  • |V| has dropped from 6.26×10⁷ to 9.44×10⁶ J/kg — about 1/6.6 of surface value
  • v_esc at GEO = √(1.888e7) ≈ 4,346 m/s (vs. 11,200 at surface — escape is much easier at altitude)
  • v_orbit at GEO = v_esc / √2 = 3,072 m/s — matches the known orbital speed for geostationary satellites.

Tips

  • V is negative everywhere in a mass's gravitational field (by the infinity-zero convention). The more negative V is, the deeper the gravitational well — and the more energy needed to escape.
  • Escape velocity depends only on the magnitude of V: v_escape = √(−2V). Earth surface V = −6.25×10⁷ J/kg → v_escape = 11.2 km/s. Moon surface V = −2.82×10⁶ J/kg → v_escape = 2.38 km/s.
  • Gravitational force is the gradient of potential: g = −dV/dr (in the radial direction). Since V = −GM/r, dV/dr = +GM/r², so g = −GM/r² (negative = inward, as expected).
  • Orbital velocity at distance r is v_orbit = √(GM/r) = √(−V) = v_escape / √2. So escape velocity is √2 ≈ 1.414 times the circular orbital velocity at the same distance.
  • Earth's gravitational potential at the Sun (r = 1.496e11 m) is V = −8.9×10⁸ J/kg — far more negative than at Earth's surface (−6.25×10⁷ J/kg), because the Sun's mass dominates. Earth is bound to the Sun with 1.4× more potential energy than to its own surface.

Common Mistakes

Common mistakes
  • Forgetting the negative sign in V = −GM/r. The potential is negative everywhere in the field (by the infinity-zero convention); positive values mean you flipped the sign.
  • Confusing potential V (J/kg, per unit mass) with potential energy U (J, for a specific mass). U = mV, not the other way around.
  • Using distance from surface instead of distance from center. r is measured from the body's center, so for altitude h above surface, use r = R + h.
  • Confusing potential V with force F. V is a scalar field (J/kg); F is a vector field (N). V follows 1/r, F follows 1/r².
  • Forgetting that V is zero at infinity — not zero at the surface. Without a chosen reference, "potential" has no absolute meaning; we choose infinity for convenience.

Frequently Asked Questions

What is gravitational potential?
Gravitational potential, V, is the gravitational potential energy per unit mass at a point in a gravitational field. For a point mass M at distance r, V = −G × M / r, with SI units of J/kg (or equivalently m²/s²). The negative sign is by convention: potential is zero at infinite distance and becomes more negative as you approach the mass. At Earth's surface, V ≈ −6.25×10⁷ J/kg — meaning each kilogram of mass has 62.5 MJ of (negative) gravitational potential energy.
Why is gravitational potential negative?
By convention, we define gravitational potential as zero at infinite distance from a mass. As you approach the mass, potential becomes more negative (because gravity is attractive — moving toward a mass releases energy). At Earth's surface (r = 6.371×10⁶ m), V = −GM/r = −6.674e-11 × 5.97e24 / 6.371e6 ≈ −6.25×10⁷ J/kg. The negative sign indicates that a test mass at this point is bound: you'd have to add energy (6.25×10⁷ J per kg, equal to the escape-energy) to remove it to infinity.
What is the difference between gravitational potential and gravitational potential energy?
Gravitational potential V is potential energy per unit mass (J/kg); gravitational potential energy U is the actual energy of a particular mass m at that point (J): U = m × V = −GMm/r. For a 1000 kg satellite at geostationary orbit (r = 4.216×10⁷ m), V = −9.44×10⁶ J/kg, so U = 1000 × (−9.44e6) = −9.44×10⁹ J. The kinetic energy to escape to infinity from this point would be +9.44×10⁹ J (per the escape velocity).
How is escape velocity related to gravitational potential?
Escape velocity is the minimum speed needed to leave a gravitational field and reach infinity with zero leftover speed. By conservation of energy, kinetic energy at launch equals the change in potential energy: ½mv² = −(U_final − U_initial) = −(0 − (−GMm/r)) = GMm/r. Solving: v_escape = √(2GM/r) = √(−2V). So escape velocity depends only on the magnitude of gravitational potential — twice the potential's absolute value, square-rooted. Earth's surface V = −6.25×10⁷ J/kg gives v_esc = √(2 × 6.25e7) ≈ 11,180 m/s = 11.2 km/s.
How does gravitational potential vary with distance?
Gravitational potential follows a 1/r law (not 1/r² like force). At Earth's surface (r = 6.371e6 m): V = −6.25×10⁷ J/kg. At geostationary orbit (r = 4.216e7 m, 6.6× farther): V = −9.44×10⁶ J/kg (6.6× smaller in magnitude). At the Moon's distance (r = 3.84e8 m): V = −1.04×10⁶ J/kg. The potential weakens more slowly than the force (1/r vs 1/r²), which is why potential remains significant at large distances where gravity is already weak.
Why is the gravitational potential defined to be zero at infinity?
Because infinity is the natural reference point where there's no interaction with the mass — at infinite distance, the gravitational force and potential vanish. Setting V(∞) = 0 makes the math simple: V at any finite r is just the work needed per unit mass to move from infinity to r (with a negative sign because the field does positive work on the way in). This convention is universal in physics and astronomy. The choice of zero point is arbitrary (only differences in potential matter physically), but infinity gives the cleanest equations.

Gravitational potential V

Gravitational potential V is potential energy per unit mass at a point in a gravitational field. For a point mass M at distance r, V = −G × M / r, with units of J/kg (or m²/s² — same dimension as velocity squared). Potential is a scalar field, defined everywhere in space, unlike force (a vector). The negative sign indicates that gravity is attractive — a test mass at this point has less energy than at infinity. Earth's surface V ≈ −6.25×10⁷ J/kg, meaning 62.5 MJ of energy per kilogram is needed to remove a unit mass from Earth to infinity.

Negative by convention

By convention, gravitational potential is defined as zero at infinite distance from a mass. As you approach the mass, the potential becomes more negative (gravity does positive work pulling you in). This convention is universal in physics because it makes the math cleanest. The choice of zero is arbitrary (only differences matter physically), but infinity is the natural reference where the gravitational interaction vanishes. A negative potential indicates a bound system: you must add energy to escape. Earth is bound to the Sun (V_sun at Earth = −8.9×10⁸ J/kg).

Zero at infinity

Setting V(∞) = 0 means the potential at any finite r is just the negative of the work gravity does per unit mass moving a test mass from infinity to r: V(r) = −∫F·dr/m = −GM/r. This is the natural choice because at infinity, the gravitational interaction vanishes, and potential energy stored in the field is zero. Moving a mass from infinity to distance r releases GMm/r of energy (the field does positive work), so the test mass at r has potential energy −GMm/r relative to infinity — bound to the mass.

Escape velocity from V

Escape velocity is the minimum speed needed to leave a gravitational field. By conservation of energy, kinetic energy at launch equals the change in potential energy from r to ∞: ½mv² = GMm/r = −mV, giving v_esc = √(−2V) = √(2GM/r). For Earth (V_surface = −6.25×10⁷ J/kg): v_esc = √(1.25×10⁸) ≈ 11,180 m/s = 11.2 km/s. The escape velocity depends only on the magnitude of potential at the launch point, not on the mass of the escaping object — another consequence of mass-independence of gravitational acceleration.

Gravitational potentials across the Solar System — deeper wells for more massive bodies and shorter distances.
ScenarioMass M (kg)r (m)V (J/kg)Escape velocity
Earth surface5.97e246.371e6−6.25e7 J/kg11,180 m/s escape
Earth + ISS altitude (r=6.77e6 m)5.97e246.771e6−5.88e7 J/kg10,840 m/s escape
Earth + GEO (r=4.216e7 m)5.97e244.216e7−9.44e6 J/kg4,346 m/s escape
Moon surface7.34e221.737e6−2.82e6 J/kg2,380 m/s escape
Mars surface6.39e233.389e6−1.26e7 J/kg5,020 m/s escape
Sun surface1.989e306.96e8−1.91e11 J/kg617,400 m/s escape
Earth at Moon distance (r=3.84e8 m)5.97e243.84e8−1.04e6 J/kg1,440 m/s escape
Why rockets launch east from Florida
Rockets launched from Cape Canaveral, Florida (28.5° N) head east to take advantage of Earth's rotation, which already gives them a tangential velocity of about 404 m/s (1670 km/h × cos(28.5°)). That free 404 m/s out of the needed ~7,800 m/s for low Earth orbit (and ~11,200 m/s for escape) saves significant fuel and payload mass. Equatorial launch sites like Kourou, French Guiana (5° N) get even more — 465 m/s of free velocity. This is why the European Space Agency launches from Kourou, and why Russia's Baikonur Cosmodrome (45.6° N, getting only 328 m/s free) requires more powerful rockets for the same payload. The gravitational potential V at Earth's surface sets the energy budget; Earth's rotation supplies part of the kinetic energy needed.

Authoritative References

Try our other free calculators

CalcGenius has 1,200+ free, ad-free, browser-based calculators for finance, health, math, science, and everyday life. No sign-up required.

Gravitational Potential Calculator for Scientists, Analysts