Gravitational Force Calculator

Created by Bogna Szyk
Last updated: May 21, 2021

This gravitational force calculator lets you find the force between any two objects. Read on to get a better understanding of the gravitational force definition and to learn how to apply the gravity formula. Make sure to check out the escape velocity calculator, too!

Gravitational force definition

Newton's law of universal gravitation states that everybody of nonzero mass attracts every other object in the universe. This attractive force is called gravity. It exists between all objects, even though it may seem ridiculous. For example, while you read these words, a tiny force arises between you and the computer screen. This force is too small to cause any visible effect, but if you apply the principle of gravitational force to planets or stars, its effects will begin to show.

One of the most common examples illustrating the principle of the gravitational force is the free fall.

What is the gravity equation?

Use the following formula to calculate the gravitational force between any two objects:

F = GMm/R²


  • F stands for gravitational force. It is measured in newtons and is always positive. It means that two objects of a certain mass always attract (and never repel) each other;
  • M and m are the masses of two objects in question;
  • R is the distance between the centers of these two objects; and
  • G is the gravitational constant. It is equal to 6.674×10-11 N·m²/kg².

Did you notice that this equation is similar to the formula in Coulomb's law? While Newton's law of gravity deals with masses, Coulomb's law describes the attractive or repulsive force between electric charges.

How to use the gravity formula?

  1. Find out the mass of the first object. Let's choose Earth - its mass is equal to 5.972×1024 kg. You can enter this large number into the calculator by typing 5.972e24.
  2. Find out the mass of the second object. Let's choose the Sun - it weighs 1.989×1030 kg, approximately the same as 330,000 Earths.
  3. Determine the distance between two objects. We will choose the distance from Earth to Sun - about 149,600,000 km.
  4. Enter all of these values into the gravitational force calculator. It will use the gravity equation to find the force.
  5. You can now read the result. For example, the force between Earth and Sun is as high as 3.54×1022 N.
Bogna Szyk
F = GMm/R²
Mass 1 (M)
Mass 2 (m)
Distance (R)
Gravitational force (F)
People also viewed…

Chilled drink

With the chilled drink calculator you can quickly check how long you need to keep your drink in the fridge or another cold place to have it at its optimal temperature. You can follow how the temperature changes with time with our interactive graph.

Doppler effect

Our Doppler effect calculator allows you to calculate the frequency of sound if either the source of sound or the observer is moving.

Korean age

If you're wondering what would your age be from a Korean perspective, use this Korean age calculator to find out.

Reduced mass

For easy calculation of the reduced mass in a two-body problem try the reduced mass calculator.
main background