Gravitational Force Calculator

Created by Bogna Szyk
Reviewed by Steven Wooding
Last updated: Jun 22, 2022

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)
Check out 86 similar classical mechanics calculators ⚙️
AccelerationAngle of twistBank angle… 83 more
People also viewed…

Acceleration of a particle in an electric field

Use the acceleration in the electric field calculator to compute the acceleration of a charged particle subjected to the electric field.

Biot number

The Biot number calculator helps you compute the Biot number that determines how quickly heat transfers from the surface of a body to its interior.

Significant figures

The significant figures calculator performs operations on sig figs and shows you a step-by-step solution!


The sleep calculator can help you determine when you should go to bed to wake up happy and refreshed.
Copyright by Omni Calculator sp. z o.o.
Privacy policy & cookies
main background