Gravity Calculator
Use this Gravity Calculator to calculate gravitational force between two masses, surface gravity, object weight, orbital speed, and escape velocity. The calculator uses Newton’s law of universal gravitation, the standard weight equation, and classical orbital mechanics formulas with automatic unit conversion.
Calculate Gravity
Select a calculation mode, enter known values, choose units, and calculate the result instantly.
What Is a Gravity Calculator?
A Gravity Calculator is a physics tool that calculates different gravitational quantities using classical mechanics. Gravity is the attractive force between objects that have mass. It controls falling objects on Earth, the motion of moons around planets, the orbit of planets around stars, the weight of objects, and the large-scale structure of the universe. This calculator helps users work with the most common gravity formulas in one place.
The calculator includes four practical modes. The first mode calculates gravitational force between two masses using Newton’s law of universal gravitation. The second mode calculates surface gravity from the mass and radius of a planet, moon, star, asteroid, or other body. The third mode calculates weight from mass and gravitational field strength. The fourth mode calculates circular orbital speed and escape velocity from a central body’s mass and orbital radius.
Gravity calculations are important in school physics, astronomy, engineering education, space science, planetary science, and general science learning. For example, you can calculate the gravitational force between Earth and a person, estimate the surface gravity of Mars, compare your weight on the Moon and Jupiter, calculate the speed needed for a circular orbit, or estimate escape velocity from a planet.
This tool performs unit conversion automatically. Mass can be entered in kilograms, grams, pounds, Earth masses, Moon masses, or solar masses. Distance can be entered in meters, kilometers, centimeters, feet, miles, or astronomical units depending on the selected mode. Internally, the calculator converts values to SI units, applies the relevant formula, and then displays readable results.
How to Use the Gravity Calculator
Choose the tab that matches your task. Use Gravitational Force when you know two masses and the distance between their centers. Enter mass 1, mass 2, and distance. The calculator uses \(F=\frac{Gm_1m_2}{r^2}\) to calculate the attraction force in newtons.
Use Surface Gravity when you know a planet or body’s mass and radius. Enter the central body mass and radius from its center. The calculator returns gravitational acceleration in meters per second squared. This mode is useful for comparing gravity on Earth, the Moon, Mars, and other worlds.
Use Weight when you know an object’s mass and the gravitational field strength. You can choose a preset such as Earth, Moon, Mars, Venus, Jupiter, Saturn, Uranus, or Neptune. You can also enter a custom gravity value. The calculator returns weight as force in newtons.
Use Orbit / Escape when you know a central body’s mass and the orbital radius from the center of that body. The calculator estimates circular orbital speed and escape velocity. Orbital speed is the approximate speed needed for a circular orbit at that radius. Escape velocity is the speed needed to escape the body’s gravity from that radius, ignoring atmosphere and propulsion details.
Gravity Calculator Formulas
The universal gravitational force formula is:
Here, \(F\) is gravitational force, \(G\) is the gravitational constant, \(m_1\) and \(m_2\) are the two masses, and \(r\) is the distance between their centers.
Surface gravity is calculated with:
Weight is the gravitational force acting on a mass:
Circular orbital speed is:
Escape velocity is:
Gravitational Force Explained
Gravitational force is the attraction between two masses. Every object with mass attracts every other object with mass, but the force is usually extremely small unless at least one object is very massive. Earth’s mass is enormous, so Earth pulls strongly on objects near its surface. Two small everyday objects also attract each other gravitationally, but the force is too tiny to notice without sensitive instruments.
The force increases when either mass increases. If mass 1 doubles while mass 2 and distance stay the same, the gravitational force doubles. If both masses double, the force becomes four times larger. This direct relationship with mass is why planets, stars, and moons dominate gravitational motion.
Distance has an inverse-square effect. If the distance between centers doubles, gravitational force becomes one-fourth as large. If the distance triples, the force becomes one-ninth as large. This inverse-square behavior is central to orbital mechanics and explains why gravity weakens rapidly with distance, although it never truly becomes zero.
Surface Gravity Explained
Surface gravity is the gravitational acceleration near the surface of a body. On Earth, standard gravity is approximately \(9.80665\,m/s^2\). This means that, ignoring air resistance, a freely falling object near Earth’s surface gains about 9.8 meters per second of speed each second.
Surface gravity depends on mass and radius. A more massive planet tends to have stronger gravity. A larger radius tends to reduce surface gravity because the surface is farther from the center of mass. This is why a planet can be much more massive than Earth but not have proportionally stronger surface gravity if it is also much larger.
This calculator uses \(g=\frac{GM}{r^2}\), where \(M\) is the body’s mass and \(r\) is the distance from the center. For surface calculations, \(r\) is usually the planet’s radius. For calculations above the surface, \(r\) should be the planet radius plus altitude.
Mass vs Weight
Mass and weight are related, but they are not the same. Mass measures how much matter an object has. In everyday physics, mass is usually measured in kilograms. Weight is the gravitational force acting on that mass. Weight is measured in newtons because it is a force.
An object’s mass stays the same when it moves from Earth to the Moon, but its weight changes because the gravitational field strength changes. A 70 kg person has a mass of 70 kg on Earth, on the Moon, and on Mars. However, that person weighs much less on the Moon because lunar gravity is weaker than Earth’s gravity.
The weight formula is \(W=mg\). If \(m=70\,kg\) and \(g=9.80665\,m/s^2\), then \(W\approx686.47\,N\). On the Moon, using \(g\approx1.62\,m/s^2\), the same mass weighs about \(113.4\,N\).
Orbital Speed and Escape Velocity
Orbital speed is the speed required for an object to move in a circular orbit at a given radius. In a simple circular orbit, gravity provides the centripetal acceleration needed to keep the object moving around the central body. A low Earth orbit object must move very fast because it is close to Earth and gravity is still strong there.
Escape velocity is higher than circular orbital speed at the same radius. It is the speed needed to leave the gravitational influence of a body without additional propulsion, under idealized assumptions. The formula \(v_{escape}=\sqrt{\frac{2GM}{r}}\) shows that escape velocity is \(\sqrt{2}\) times the circular orbital speed at the same radius.
Real spacecraft do not usually launch by instantly reaching escape velocity at the surface. They use engines over time, follow complex trajectories, deal with atmospheric drag, and often enter parking orbits. This calculator provides the clean physics estimate, not a mission-design simulation.
Gravity Units and Conversions
| Quantity | Common Unit | Meaning |
|---|---|---|
| Mass | kg | Amount of matter in an object. |
| Distance / radius | m | Distance between centers or radius from the central body’s center. |
| Force / weight | N | Gravitational force measured in newtons. |
| Gravity | m/s² | Acceleration caused by a gravitational field. |
| Orbital or escape speed | m/s | Speed calculated from central mass and radius. |
Correct units matter. Newton’s formulas produce standard SI results only when mass is in kilograms, distance is in meters, and the gravitational constant is used in SI units. This calculator handles the conversion step automatically before applying the formulas.
Gravity Calculation Examples
Example 1: Calculate the weight of a 70 kg person on Earth.
Example 2: Calculate Earth’s surface gravity using Earth’s mass and radius.
Example 3: Calculate circular orbital speed near Earth at a radius of \(6.771\times10^6\,m\).
Example 4: Calculate escape velocity from a radius \(r\).
Common Gravity Calculation Mistakes
The first common mistake is using surface-to-surface distance instead of center-to-center distance in Newton’s gravitational force formula. The variable \(r\) means the distance between centers of mass. For a person standing on Earth, the distance from Earth’s center is approximately Earth’s radius, not zero.
The second mistake is confusing mass and weight. Mass is measured in kilograms, while weight is measured in newtons. A person may casually say they “weigh 70 kg,” but in physics, 70 kg is mass. The corresponding Earth weight is about 686 newtons.
The third mistake is forgetting the inverse-square relationship. Gravity does not simply halve when distance doubles. It becomes one-fourth as strong. This matters strongly in orbital and astronomical calculations.
The fourth mistake is using the wrong radius for orbital calculations. For orbit and escape velocity, \(r\) is measured from the center of the central body, not altitude above the surface. If altitude is known, add the planet’s radius to altitude before using the formula.
Gravity Calculator FAQs
What does a Gravity Calculator do?
It calculates gravitational force, surface gravity, object weight, orbital speed, and escape velocity using classical Newtonian gravity formulas.
What is Newton’s formula for gravity?
Newton’s gravitational force formula is \(F=\frac{Gm_1m_2}{r^2}\), where \(G\) is the gravitational constant, \(m_1\) and \(m_2\) are masses, and \(r\) is distance between centers.
What is the value of standard gravity on Earth?
Standard gravity is approximately \(9.80665\,m/s^2\), often rounded to \(9.8\,m/s^2\) in school physics.
Is mass the same as weight?
No. Mass is the amount of matter in an object. Weight is the gravitational force acting on that mass and is calculated using \(W=mg\).
What is escape velocity?
Escape velocity is the speed needed to escape a body’s gravity from a given radius under idealized assumptions, calculated by \(v_{escape}=\sqrt{\frac{2GM}{r}}\).
Does this calculator include air resistance?
No. It uses idealized classical gravity equations and does not include air resistance, drag, rotation, relativity, or multi-body effects.
Important Note
This Gravity Calculator is for educational and general physics use. For spacecraft mission design, aerospace engineering, navigation, geodesy, structural design, or safety-critical calculations, use validated professional tools, precise constants, local models, and qualified review.
