Gravity Calculator: Surface Gravity, Weight on Planets, and F = ma

Calculate surface gravity, weight on other worlds, Newton’s second law, or the gravitational force between two masses. Unit conversions, worked steps, and comparisons run locally in your browser.

Inputs

Choose a preset, or open advanced custom body below.
Advanced custom body

Custom mass and radius override the selected body. Scientific notation works, for example 5.972e24.

Tip: Press Ctrl/Cmd + Enter to calculate. Large values can use exponent notation such as 5.972e24. The URL updates so you can bookmark or share your inputs.

Results

Show calculation steps

    Advertisement

    Formulas Used

    • Surface or altitude gravity: r = R + h, then g = G·M / r².
    • Weight from mass: W = m·g.
    • Newton’s second law: F = m·a, rearranged as m = F/a or a = F/m.
    • Universal gravitation: F = G·M·m / r², where r is center-to-center distance.

    Worked Examples

    Use these to prefill the calculator and inspect the calculation steps.

    Reference Surface Gravity

    Approximate values from the same preset data used in the calculator. On narrow screens, scroll the table sideways.

    Body g (m/s²) Earth g Mass (kg) Mean radius (km)

    Data, Constants, and Assumptions

    • Gravitational constant: G = 6.67430×10⁻¹¹ m³·kg⁻¹·s⁻², the CODATA value published by NIST.
    • Standard Earth gravity: g₀ = 9.80665 m/s², used for Earth-g multiples and kgf conversion.
    • Preset masses and radii: planet values are aligned with NASA planetary fact sheet style mean masses and mean radii; small-body and compact-object entries are approximate educational presets.
    • Model assumptions: bodies are treated as spherical, using mean radius, with no rotation, oblateness, latitude, atmosphere, or tidal correction. Gas giant values are approximate reference-level gravities rather than solid-surface values.
    • Sources: NIST CODATA gravitational constant, NIST standard acceleration of gravity, and NASA planetary fact sheets.

    How to Use This Calculator

    1. Choose Gravity & Weight, F = m·a Solver, or Gravitational Force.
    2. Enter your known values and choose units beside each input.
    3. Open Show calculation steps to see the substituted formula.
    4. For custom worlds, open Advanced custom body and enter mass and radius with scientific notation if needed.

    FAQ

    What is the difference between mass and weight?

    Mass is the amount of matter in an object. Weight is the gravitational force on that mass, so weight changes when local gravity changes.

    Is surface gravity the same as gravitational force?

    No. Surface gravity is acceleration at a body's surface, measured in m/s². Gravitational force is the pull between two masses, measured in newtons.

    Why is Jupiter’s gravity not 318 times Earth’s?

    Jupiter has about 318 Earth masses, but its radius is much larger. Surface gravity depends on mass divided by radius squared, so Jupiter’s cloud-top gravity is about 2.5 g, not 318 g.

    Why do astronauts feel weightless if gravity still exists?

    Astronauts in orbit are still under strong gravity, but they and their spacecraft are falling together around Earth. That free-fall makes them feel weightless.

    How do I calculate weight from mass and g?

    Use W = m·g. Multiply mass in kilograms by local gravitational acceleration in m/s² to get weight in newtons.

    Can F = ma return a negative acceleration?

    Yes. A negative acceleration means the acceleration points opposite the positive direction you chose. The sign is directional, not an error.

    What units should I use?

    You can enter common units such as kg, lb, m, km, ft, mi, N, lbf, and ft/s². The calculator converts internally to SI units before solving.

    Is everything computed privately?

    Yes. All calculations run entirely in your browser. Inputs are not uploaded.

    Understanding Gravity: From Falling Apples to Orbiting Worlds

    Gravity is the attractive interaction between objects that have mass or energy. It governs everything from a ball dropping to the ground to the choreography of planets, moons, and galaxies. In everyday terms, gravity is why you feel weight and why things fall when you let go. In physics terms, your weight is the force of gravity acting on your mass: W = m·g, where m is mass (in kilograms) and g is the local gravitational acceleration (in m/s²).

    Surface Gravity vs. Altitude

    On (roughly) spherical worlds, gravity near the surface is well-approximated by g = G·M / (R + h)², where G is the gravitational constant, M is the body’s mass, R its mean radius, and h your altitude above the surface. Two immediate takeaways:

    • Bigger mass → stronger gravity. Jupiter’s huge mass produces a much larger g than Earth’s.
    • Greater distance → weaker gravity. As you climb to higher altitudes, g decreases with the square of distance from the center.

    This is why astronauts in low Earth orbit feel weightless: they are in continuous free-fall around Earth. Gravity is still strong there; they’re just perpetually falling sideways fast enough to miss the ground—an orbit.

    Mass, Weight, and “g” Units

    It’s common to mix up mass and weight. Mass is the amount of matter in an object and does not change when you travel. Weight is the gravitational force on that mass and does change with g. On Earth’s surface, standard gravity is about 9.80665 m/s². If a world’s surface gravity is 0.17 g (like the Moon), a 70 kg person would still have 70 kg of mass but would weigh only about 12%–17% of their Earth weight. Our calculator reports g in m/s² and in “Earth g” for quick comparisons.

    Newton’s Second Law and Motion

    Gravity provides a real-world context for Newton’s Second Law, F = m·a. When gravity is the only force acting, the acceleration you experience is simply a = g. Add other forces—like a rocket’s thrust, air resistance, or a spring—and the total acceleration comes from the vector sum of all forces divided by mass. This is why the same push (force) produces a smaller acceleration on a heavy object than on a light one.

    Why Worlds Differ

    Surface gravity depends on both mass and radius. A dense, compact body can have strong gravity even if it isn’t very massive, while a large, puffy world (like Saturn) can have moderate surface gravity despite enormous mass because its radius is so large. Our presets capture these differences so you can explore how weight and g vary from the Moon to Neptune—and beyond with custom mass and radius.

    Try adjusting altitude in the tool to see how g changes with height, or switch bodies to compare your weight across the Solar System.

    5 Fun Facts about Gravity & F = m·a

    Weightless ≠ zero gravity

    ISS astronauts still feel about 90% of Earth’s g; free-fall makes them float because they and the station constantly fall together.

    Orbit intuition

    Moon boots reality

    On the Moon’s 1.62 m/s², a 700 N Earth weight drops to roughly 115 N—like holding a single grocery bag instead of your whole body.

    Light steps

    Inverse-square bite

    Double the distance from a planet’s center and gravity weakens by ; triple it and you only feel 1/9 the pull.

    Distance effect

    Rocket sanity check

    Plugging F = m·a, a 10,000 N thruster accelerating a 2,000 kg stage gives 5 m/s² (~0.5 g)—handy when eyeballing launch numbers.

    Thrust math

    Jupiter isn’t crushing

    Even with 318 Earth masses, Jupiter’s surface gravity is only about 2.5 g because its radius is 11× bigger—mass and size both matter.

    Mass vs size

    Explore more tools