Gravity Calculator – Force, Weight, g & Escape Velocity

Distinguish a gravitational field strength from a force and measure distance from the centre in a spherical model.

Quick Answer

Weight near a surface is F = mg. Outside a spherical body, gravitational acceleration is g = GM/r², with r measured from the centre. Use the same mass and radius assumptions when comparing surface gravity and escape speed.

A globe and suspended spring scale on a classroom desk
Free Physics Gravity Tool

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.

Physics note: this calculator uses classical Newtonian gravity. It is excellent for most school, educational, and ordinary astronomy calculations, but it does not model relativity, atmospheric drag, rotation, non-spherical mass distributions, tides, or multi-body perturbations.

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:

Newton’s law of universal gravitation
\[F=\frac{Gm_1m_2}{r^2}\]

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.

Gravitational constant
\[G=6.67430\times10^{-11}\;N\,m^2/kg^2\]

Surface gravity is calculated with:

Surface gravity
\[g=\frac{GM}{r^2}\]

Weight is the gravitational force acting on a mass:

Weight formula
\[W=mg\]

Circular orbital speed is:

Circular orbital speed
\[v_{orbit}=\sqrt{\frac{GM}{r}}\]

Escape velocity is:

Escape velocity
\[v_{escape}=\sqrt{\frac{2GM}{r}}\]

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. Use the gravitational potential energy calculator to check the energy change for a height difference near the surface.

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. Use the circular and elliptical orbital velocity to compare speeds at different distances from the central body.

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

QuantityCommon UnitMeaning
MasskgAmount of matter in an object.
Distance / radiusmDistance between centers or radius from the central body’s center.
Force / weightNGravitational force measured in newtons.
Gravitym/s²Acceleration caused by a gravitational field.
Orbital or escape speedm/sSpeed 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.

Earth weight example
\[W=mg=70\times9.80665\approx686.47\,N\]

Example 2: Calculate Earth’s surface gravity using Earth’s mass and radius.

Surface gravity example
\[g=\frac{G(5.972\times10^{24})}{(6.371\times10^6)^2}\approx9.82\,m/s^2\]

Example 3: Calculate circular orbital speed near Earth at a radius of \(6.771\times10^6\,m\).

Orbital speed example
\[v=\sqrt{\frac{GM}{r}}\]

Example 4: Calculate escape velocity from a radius \(r\).

Escape velocity example
\[v_{escape}=\sqrt{2}\,v_{orbit}\]

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. Use the escape velocity calculator to check the minimum initial speed for escape in the ideal model.

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.

Advertisement

Compare gravity at two distances without knowing the mass

Suppose a small test object moves from distance R to distance three R from the centre of a spherical planet. The mass of the planet is fixed. Dividing the field strength at the second location by the field strength at the first cancels the gravitational constant and the mass. The remaining ratio is one ninth because distance appears squared in the denominator. A starting field strength of nine metres per second squared becomes one in this ideal example. The altitude above the surface at the second point is two R when R is the planet’s radius.

Solve a Formula for a Specific Variable

In this chapter, you became familiar with some formulas used in geometry. Formulas are also very useful in the sciences and social sciences—fields such as chemistry, physics, biology, psychology, sociology, and criminal justice. Healthcare workers use formulas, too, even for something as routine as dispensing medicine. The widely used spreadsheet program Microsoft ExcelTM relies on formulas to do its calculations. Many teachers use spreadsheets to apply formulas to compute student grades. It is important to be familiar with formulas and be able to manipulate them easily.
In source illustration or discussion and source illustration or discussion, we used the formula d=rt. This formula gives the value of d when you substitute in the values of r and t. But in source illustration or discussion, we had to find the value of t. We substituted in values of d and r and then used algebra to solve to t. If you had to do this often, you might wonder why there isn’t a formula that gives the value of t when you substitute in the values of d and r. We can get a formula like this by solving the formula d=rt for t.
To solve a formula for a specific variable means to get that variable by itself with a coefficient of 1 on one side of the equation and all the other variables and constants on the other side. We will call this solving an equation for a specific variable in general. This process is also called solving a literal equation. The result is another formula, made up only of variables. The formula contains letters, or literals.
Let’s try a few examples, starting with the distance, rate, and time formula we used above.
Solve the formula d=rt for t:
  1. ⓐ when d=520 and r=65
  2. ⓑ in general.
Solution

Solution

We’ll write the solutions side-by-side so you can see that solving a formula in general uses the same steps as when we have numbers to substitute.
ⓐ when d = 520 and r = 65 ⓑ in general
Write the forumla. . .
Substitute any given values. .
Divide to isolate t. . .
Simplify. . .
Notice that the solution for ⓐ is the same as that in source illustration or discussion. We say the formula t=dr is solved for t. We can use this version of the formula anytime we are given the distance and rate and need to find the time.
The formula for area of a triangle is A=12bh. Solve this formula for h:
  1. ⓐ when A=90 and b=15
  2. ⓑ in general
Solution

Solution

ⓐ when A = 90 and b = 15 ⓑ in general
Write the forumla. . .
Substitute any given values. .
Clear the fractions. . .
Simplify. . .
Solve for h. . .
We can now find the height of a triangle, if we know the area and the base, by using the formula
h=2Ab
In Solve Simple Interest Applications, we used the formula I=Prt to calculate simple interest, where I is interest, P is principal, r is rate as a decimal, and t is time in years.
Solve the formula I=Prt to find the principal, P:
  1. ⓐ when I=$5,600,r=4%,t=7years
  2. ⓑ in general
Solution

Solution

I = $5600, r = 4%, t = 7 years in general
Write the forumla. . .
Substitute any given values. . .
Multiply r ⋅ t. . .
Divide to isolate P. . .
Simplify. . .
State the answer. The principal is $20,000. .
Later in this class, and in future algebra classes, you’ll encounter equations that relate two variables, usually x and y. You might be given an equation that is solved for y and need to solve it for x, or vice versa. In the following example, we’re given an equation with both x and y on the same side and we’ll solve it for y. To do this, we will follow the same steps that we used to solve a formula for a specific variable.
Solve the formula 3x+2y=18 for y:
  1. ⓐ when x=4
  2. ⓑ in general
Solution

Solution

when x = 4 in general
Write the equation. . .
Substitute any given values. . .
Simplify if possible. . .
Subtract to isolate the y-term. . .
Simplify. . .
Divide. . .
Simplify. . .
In the previous examples, we used the numbers in part (a) as a guide to solving in general in part (b). Do you think you’re ready to solve a formula in general without using numbers as a guide?
Solve the formula P=a+b+c for a.
Solution

Solution

We will isolate a on one side of the equation.
We will isolate a on one side of the equation.
Write the equation. P=a+b+c
Subtract b and c from both sides to isolate a. .
Simplify. P−b−c=a
So, a=P−b−c
Solve the equation 3x+y=10 for y.
Solution

Solution

We will isolate y on one side of the equation.
We will isolate y on one side of the equation.
Write the equation. 3x+y=10
Subtract 3x from both sides to isolate y. .
Simplify. y=10−3x
Solve the equation 6x+5y=13 for y.
Solution

Solution

We will isolate y on one side of the equation.
We will isolate y on one side of the equation.
Write the equation. .
Subtract to isolate the term with y. .
Simplify. .
Divide 5 to make the coefficient 1. .
Simplify. .

Using and Applying Proportional Relationships to Solve Problems

Using proportions to solve problems is a very useful method. It is usually used when you know three parts of the proportion, and one part is unknown. Proportions are often solved by setting up like ratios. If ab and cd are two ratios such that ab=cd, then the fractions are said to be proportional. Also, two fractions ab and cd are proportional (ab=cd) if and only if a×d=b×c.

Solving a Proportion Involving Two Currencies

You are going to take a trip to France. You have $520 U.S. dollars that you wish to convert to Euros. You know that 1 U.S. dollar is worth 0.82 Euros. How much money in Euros can you get in exchange for $520?
Solution
Step 1: Set up the two ratios into a proportion; let x be the variable that represents the unknown. Notice that U.S. dollar amounts are in both numerators and Euro amounts are in both denominators.
10.82=520x
Step 2: Cross multiply, since the ratios ab and cd are proportional, then a×d=b×c.
520(0.82)=1(x) 426.4=x
You should receive 426.4 Euros (426.4€).

Solving a Proportion Involving Weights on Different Planets

A person who weighs 170 pounds on Earth would weigh 64 pounds on Mars. How much would a typical racehorse (1,000 pounds) weigh on Mars? Round your answer to the nearest tenth.
Solution
Step 1: Set up the two ratios into a proportion. Notice the Earth weights are both in the numerator and the Mars weights are both in the denominator.
17064=1,000x
Step 2: Cross multiply, and then divide to solve.
170x=1,000(64) 170x=64,000 170x170=64,000170 x=376.5
So the 1,000-pound horse would weigh about 376.5 pounds on Mars.

Solving a Proportion Involving Baking

A cookie recipe needs 214 cups of flour to make 60 cookies. Jackie is baking cookies for a large fundraiser; she is told she needs to bake 1,020 cookies! How many cups of flour will she need?
Solution
Step 1: Set up the two ratios into a proportion. Notice that the cups of flour are both in the numerator and the amounts of cookies are both in the denominator. To make the calculations more efficient, the cups of flour (214) is converted to a decimal number (2.25).
2.2560=x1020
Step 2: Cross multiply, and then simplify to solve.
2.25(1,020)=60x2,295=60x 38.25=x
Jackie will need 38.25, or 3814, cups of flour to bake 1,020 cookies.

Determining and Applying a Constant of Proportionality

In the last example, we were given that 214 cups of flour could make 60 cookies; we then calculated that 3814 cups of flour would make 1,020 cookies, and 720 cookies could be made from 27 cups of flour. Each of those three ratios is written as a fraction below (with the fractions converted to decimals). What happens if you divide the numerator by the denominator in each?
2.2560=0.037538.251,020=0.037527720=0.0375.
The quotients in each are exactly the same! This number, determined from the ratio of cups of flour to cookies, is called the constant of proportionality. If the values a and b are related by the equality ab=k, then k is the constant of proportionality between a and b. Note since ab=k, then b=ak. and b=ak.
One piece of information that we can derive from the constant of proportionality is a unit rate. In our example (cups of flour divided by cookies), the constant of proportionality is telling us that it takes 0.0375 cups of flour to make one cookie. What if we had performed the calculation the other way (cookies divided by cups of flour)?
602.25=26.66666...1,02038.25=26.66666...72027=26.66666...
In this case, the constant of proportionality (26.66666…=2623) is telling us that 2623 cookies can be made with one cup of flour. Notice in both cases, the "one" unit is associated with the denominator. The constant of proportionality is also useful in calculations if you only know one part of the ratio and wish to find the other.

Finding a Constant of Proportionality

Isabelle has a part-time job. She kept track of her pay and the number of hours she worked on four different days, and recorded it in the table below. What is the constant of proportionality, or pay divided by hours? What does the constant of proportionality tell you in this situation?
Pay $87.50 $50.00 $37.50 $100.00
Hours 7 4 3 8
Solution
To find the constant of proportionality, divide the pay by hours using the information from any of the four columns. For example, 87.57=12.5. The constant of proportionality is 12.5, or $12.50. This tells you Isabelle's hourly pay: For every hour she works, she gets paid $12.50.

Applying a Constant of Proportionality: Running mph

Zac runs at a constant speed: 4 miles per hour (mph). One day, Zac left his house at exactly noon (12:00 PM) to begin running; when he returned, his clock said 4:30 PM. How many miles did he run?
Solution
The constant of proportionality in this problem is 4 miles per hour (or 4 miles in 1 hour). Since ab=k, where k is the constant of proportionality, we have
amilesbhours=k
a4.5=4 (30 minutes is ½, or 0.5, hours)
a=4(4.5), since from the definition we know a=kb
a=18
Zac ran 18 miles.

Applying a Constant of Proportionality: Filling Buckets

Joe had a job where every time he filled a bucket with dirt, he was paid $2.50. One day Joe was paid $337.50. How many buckets did he fill that day?
Solution
The constant of proportionality in this situation is $2.50 per bucket (or $2.50 for 1 bucket). Since ab=k, where k is the constant of proportionality, we have
adollarsbbuckets=k337.50b=2.50
Since we are solving for b, and we know from the definition that b=ak:
b=337.502.50b=135
Joe filled 135 buckets.

Applying a Constant of Proportionality: Miles vs. Kilometers

While driving in Canada, Mabel quickly noticed the distances on the road signs were in kilometers, not miles. She knew the constant of proportionality for converting kilometers to miles was about 0.62—that is, there are about 0.62 miles in 1 kilometer. If the last road sign she saw stated that Montreal is 104 kilometers away, about how many more miles does Mabel have to drive? Round your answer to the nearest tenth.
Solution
The constant of proportionality in this situation is 0.62 miles per 1 kilometer. Since ab=k, where k is the constant of proportionality, we have
amilesbkilometers=ka104=0.62a=0.62(104)a=64.48
Rounding the answer to the nearest tenth, Mabel has to drive 64.5 miles.