Gravitational Force Calculator

Instantly calculate the gravitational attraction between two objects using Newton's Law of Universal Gravitation.

Newtonian Physics Engine
Input Parameters
Mass 1 (m₁)
Scientific notation accepted (e.g., 5.972e24)
The mass of the first object. Default is Earth's mass.
Mass 2 (m₂)
The mass of the second object. Default is an average human (70kg).
Distance (r)
Distance between the center of mass of both objects. Default is Earth's radius.
Total Gravitational Force
-- N
Scientific: --
Acceleration of Mass 1
--
Meters per second squared (m/s²)
Acceleration of Mass 2
--
Meters per second squared (m/s²)
Force in Pounds (lbf)
--
Imperial equivalent force
Gravitational Potential Energy
--
Joules (J)

Inverse-Square Law Curve

Visualizing how gravitational force exponentially decays as distance increases between your two objects.

Acceleration Comparison

Comparing the individual acceleration experienced by Mass 1 vs Mass 2 due to the mutual gravitational pull.

Force Decay Over Distance Matrix

A tabulated breakdown of the gravitational force if your two objects were placed at varying distances.

Multiplier (x r) Simulated Distance (m) Gravitational Force (N) Force % of Original

How Was This Gravity Calculated?

Using Sir Isaac Newton's universal law equation.

F = G * (m1 * m2) / r²
  • Constant (G): 6.67430 × 10⁻¹¹ N⋅m²/kg²
  • Mass 1 (m1): --
  • Mass 2 (m2): --
  • Distance Squared (r²): --
  • Final Force (F): --
The Math: The force of gravity is directly proportional to the product of the two masses and inversely proportional to the square of the distance between their centers. All inputs were automatically converted to base SI units (kilograms and meters) prior to calculation.

What is a Gravitational Force Calculator?

A gravitational force calculator is an essential scientific tool used by students, physicists, and aerospace engineers to compute the invisible force of attraction between any two objects in the universe with mass. Whether you are attempting to calculate the pull between two apples on a desk, or the massive orbital mechanics between the Earth and the Moon, the underlying physics remains identical.

Every piece of matter in the cosmos exerts a pull on every other piece of matter. While we intuitively understand gravity as the force that keeps our feet planted on the ground, true universal gravitation means that you are currently exerting a gravitational pull on the device you are reading this on. By using a calculate gravity between two objects tool, we can quantify exactly how strong that force is, translating abstract physics concepts into precise numerical data using Newtons (N) or pounds-force (lbf).

Our tool goes beyond simple multiplication; it seamlessly handles unit conversions—from solar masses down to standard kilograms, and from astronomical units down to meters—ensuring you do not have to struggle with complex scientific notation by hand.

How to Calculate Gravitational Force Online

Using our interactive gravity calculator online requires precision. To ensure the most accurate physical assessment, follow these simple guidelines when entering your metrics:

  1. Enter Mass 1 (m1): Input the mass of your first object. You can use standard numbers (e.g., 70 for a human) or scientific notation (e.g., 5.972e24 for a planet). Select the appropriate unit from the dropdown.
  2. Enter Mass 2 (m2): Input the mass of the second object. The mathematical formula is commutative, meaning it does not matter which object you assign to Mass 1 or Mass 2; the resulting force will be exactly the same.
  3. Determine Distance (r): This is the most critical step. The distance must be measured from the center of mass of the first object to the center of mass of the second object. If you are calculating the force of a person standing on Earth, the distance is not zero—it is the radius of the Earth itself (approx 6,371 km).
  4. Review Results: Once calculated, navigate through the tabs to view the total force in Newtons, analyze the inverse-square decay curve charts, and see the exact acceleration each object experiences.

Newton's Law of Universal Gravitation Explained

Published in 1687 in his seminal work, the Principia, Sir Isaac Newton formulated the mass and distance gravity formula that forever changed our understanding of the cosmos. The classical equation is written as:

Universal Gravitation Formula:
F = G * (m1 * m2) / r²

Where 'F' is the gravitational force, 'G' is the gravitational constant, 'm1' and 'm2' are the respective masses of the objects, and 'r' is the distance between their centers of mass.

This equation proves that gravitational attraction is directly proportional to the masses involved. If you double the mass of one object, the force of gravity between them doubles. If you double the mass of both objects, the force quadruples. However, the role of distance is where the mathematics becomes highly sensitive.

The Inverse-Square Law: Why Distance Matters Most

In the denominator of Newton's equation sits . This represents the Inverse-Square Law, a fundamental geometric principle that applies not only to gravity but to light, radiation, and sound. It dictates that a specified physical quantity is inversely proportional to the square of the distance from the source of that physical quantity.

What does this mean in plain English? It means that distance kills gravity incredibly fast. If you move two objects twice as far apart, the gravitational force between them doesn't just cut in half; it drops to one-quarter (1/4) of its original strength. If you move them three times as far apart, the force drops to one-ninth (1/9). You can visualize this exponential decay instantly by viewing the Interactive Charts tab in our calculator after running a simulation.

The Gravitational Constant (G) Meaning

You cannot use a physics calculator for gravity without incorporating the Gravitational Constant, denoted by a capital G. Do not confuse this with lowercase 'g', which represents the local acceleration due to Earth's gravity (9.81 m/s²). Capital G is an empirical physical constant utilized in calculations of gravitational effects worldwide and across the universe.

The accepted value of the gravitational constant is approximately 6.67430 × 10⁻¹¹ N⋅m²/kg². Because this number is infinitesimally small, it proves that gravity is actually the weakest of the four fundamental forces of nature (the others being electromagnetism, the strong nuclear force, and the weak nuclear force). It takes an entire planet's worth of mass just to generate enough gravity to keep your relatively lightweight body tethered to the ground.

Real-World Examples: Gravity in Action

Let's look at three distinct astrophysical and everyday scenarios using this tool to understand how mass and distance dictate orbital reality.

🌍 Example 1: Dr. Patel on Earth

Dr. Patel is an astrophysicist weighing 80 kg. He is standing on the surface of the Earth (mass: 5.972 × 10²⁴ kg). The distance between him and Earth's center is 6,371 km.

Masses: 5.972e24 kg / 80 kg
Distance: 6371 km
Insight: The calculator output is roughly 784 Newtons. This is precisely Dr. Patel's "weight." Weight is simply the human word for the gravitational force exerted upon us by the celestial body we stand on.

🛰️ Example 2: The Hubble Telescope

The Hubble Space Telescope has a mass of 11,110 kg. It orbits roughly 540 km above Earth's surface. To calculate gravity, we add 540 km to Earth's radius (6,371 km) for a total distance of 6,911 km.

Masses: 5.972e24 kg / 11110 kg
Total Distance: 6911 km
Insight: The resulting force is roughly 92,600 N. Note that gravity still exists in space! Hubble doesn't float because of zero gravity; it floats because it is in a state of continuous freefall, moving sideways fast enough to continually miss the Earth.

🍎 Example 3: Two Apples on a Desk

Elena places two apples, each weighing 0.2 kg, precisely 0.5 meters apart on her wooden desk to test Newtonian physics on a micro scale.

Masses: 0.2 kg / 0.2 kg
Distance: 0.5 meters
Insight: The calculator outputs an incredibly small number: 1.067 × 10⁻¹¹ Newtons. This microscopic force is why everyday objects don't pull each other together visually. Friction and Earth's overwhelming gravity completely override this tiny attraction.

Planetary Gravity Comparison Table

To further optimize our understanding of Newtonian physics and aerospace engineering tools, let us look at the standard acceleration of gravity (lowercase 'g') on various bodies in our solar system. This table illustrates how local gravity shifts based on a planet's mass and radius.

Celestial Body Relative Mass (Earth = 1) Surface Gravity (m/s²) Weight of 100kg Person (N)
Sun333,000274.027,400 N
Jupiter317.824.792,479 N
Earth1.09.81981 N
Mars0.1073.71371 N
Moon0.01231.62162 N
Pluto0.00220.6262 N

*Note: A 100kg person's mass remains exactly 100kg anywhere in the universe. It is their weight (the downward force measured in Newtons) that changes dynamically depending on the local gravitational field strength.

Add This Physics Calculator to Your Website

Are you a physics professor, a science blogger, or managing a STEM education platform? Provide your students and readers with a powerful mathematical utility. Add this responsive Gravitational Force Calculator directly to your own web pages for free.

👇 Copy the HTML code below to add the tool securely to your website:

Frequently Asked Questions (FAQ)

Expert answers to the most common queries regarding the Newton's laws, gravitational attraction, and mass equations.

How do you calculate gravity between two objects?

To calculate gravity between two objects, you multiply the gravitational constant (G) by the mass of the first object and the mass of the second object. You then divide that product by the square of the distance between the center of those two objects (r²). Our calculator automates this math.

What is the difference between G and g?

Capital 'G' represents the Universal Gravitational Constant, an unchanging physical value of 6.674×10⁻¹¹ used in equations everywhere in the universe. Lowercase 'g' represents the localized acceleration due to gravity on a specific planet's surface (on Earth, g = 9.81 m/s²).

Does gravity exist in outer space?

Yes, absolutely. The concept of "zero gravity" in space is a misconception. Astronauts on the International Space Station experience microgravity because they are in a state of continuous freefall around the Earth, not because they have escaped Earth's gravitational reach. Earth's gravity at the height of the ISS is still about 90% as strong as it is on the surface.

Why don't everyday objects attract each other visibly?

Everyday objects do attract each other! However, because the Gravitational Constant is so infinitesimally small, the force generated by low-mass objects (like cars, buildings, or apples) is entirely negligible. The massive downward pull of the Earth and the friction of the ground completely overpower the micro-attraction between everyday items.

What happens to gravitational force if distance is doubled?

According to the inverse-square law, if the distance between two objects is doubled, the gravitational force between them decreases to exactly one-quarter (1/4) of its original strength. It does not halve; it drops exponentially.

Can gravitational force ever be zero?

Mathematically, according to Newton's law, gravitational force never truly reaches absolute zero. As the distance (r) approaches infinity, the force approaches zero asymptotically. However, practically speaking, at vast interstellar distances, the gravitational pull becomes so microscopic it is effectively zero and overshadowed by other forces.

Who discovered the law of universal gravitation?

Sir Isaac Newton formulated the classical law of universal gravitation in 1687. However, centuries later, Albert Einstein provided a deeper, more accurate framework with his General Theory of Relativity in 1915, describing gravity not as a pulling force, but as a curvature of spacetime caused by mass and energy.

Engineered by Calculator Catalog

Built for students, educators, and engineers. Our Gravitational Force Calculator utilizes high-precision javascript to handle massive astronomical numbers alongside microscopic Newtonian constants, providing you with exact, publishable physical data every single time.