Gravitational Force Calculator: Formula, Steps, and Worked Examples
A gravitational force calculator lets you find the attractive force between two masses in seconds, but understanding what happens inside that calculator turns a black-box number into real physics knowledge. Every object with mass pulls on every other object with mass, from a pencil on your desk to the Moon orbiting Earth, and the strength of that pull follows a single, elegant formula discovered by Isaac Newton in 1687. This guide walks through the universal law of gravitation step by step, shows exactly how a gravitational force calculator processes your inputs, and works through complete numerical examples — including your own weight, the Moon's pull on Earth, and a low-orbit satellite — so you can check any calculator's output by hand. You will also see the most common input mistakes that throw off results by orders of magnitude, learn why doubling the distance between two objects cuts the force to a quarter, and practice with solved problems that mirror what a physics or introductory astronomy course expects. By the end, you will be able to compute gravitational force confidently with or without a calculator.
Contents
- 01What Is Gravitational Force?
- 02The Universal Law of Gravitation Formula
- 03How Does a Gravitational Force Calculator Work?
- 04Step-by-Step: Calculating Gravitational Force by Hand
- 05Worked Example: Your Own Weight from Earth's Gravity
- 06Worked Example: How Strong Is Earth's Pull on the Moon?
- 07Why Does Distance Matter So Much in Gravity?
- 08Common Mistakes When Calculating Gravitational Force
- 09Can Gravitational Force Ever Be Repulsive?
- 10Gravitational Force vs. Weight: What's the Difference?
- 11Practice Problems with Solutions
- 12How Can You Check a Gravitational Force Calculator's Answer?
What Is Gravitational Force?
Gravitational force is the attractive pull that exists between any two objects that have mass. It is one of the four fundamental forces of nature, and unlike the strong or weak nuclear forces, it acts over unlimited distance — the force between you and a star on the other side of the galaxy is nonzero, just extremely small. Isaac Newton formalized this idea in his law of universal gravitation: every particle of matter attracts every other particle with a force that depends on how massive the two objects are and how far apart they sit. On Earth, gravitational force is why objects fall, why the atmosphere stays close to the surface, and why the Moon stays in orbit instead of drifting into space. A gravitational force calculator is simply a tool that automates Newton's formula so you do not have to handle the arithmetic — particularly the very small gravitational constant and very large or very small masses — by hand every time.
The Universal Law of Gravitation Formula
Newton's law of universal gravitation states that the gravitational force F between two objects equals: F = G × m₁ × m₂ ÷ r². Here, m₁ and m₂ are the masses of the two objects in kilograms, r is the distance between their centers in meters, and G is the gravitational constant, equal to 6.674 × 10⁻¹¹ N·m²/kg². The result, F, is measured in newtons (N). This formula tells you two things at once: force grows in direct proportion to each mass, so doubling either mass doubles the force, and force shrinks with the square of the distance, so doubling the distance cuts the force to one-fourth. Because G is such a tiny number, gravitational force between everyday objects — like two people standing near each other — is far too small to notice, while the force between planet-sized masses becomes enormous even across millions of kilometers.
How Does a Gravitational Force Calculator Work?
A gravitational force calculator takes three inputs — the mass of the first object, the mass of the second object, and the distance between their centers — and returns the force in newtons. Internally, it performs exactly the same four operations you would do by hand: it multiplies the two masses together, multiplies that product by the gravitational constant G, squares the distance, and divides the first result by the second. Good calculators also handle unit conversion automatically, turning grams into kilograms or kilometers into meters before running the formula, and many display the answer in scientific notation because gravitational force values are often extremely small (for objects on a desk) or extremely large (for planets and stars). Some versions also let you solve for a missing variable — entering the force and two of the three inputs to solve for the unknown mass or distance — using simple algebraic rearrangement of the same formula.
Step-by-Step: Calculating Gravitational Force by Hand
You can reproduce any gravitational force calculator's result with five simple steps, using nothing more than the formula F = G × m₁ × m₂ ÷ r² and a calculator that handles scientific notation.
1. Convert every value to SI units
Masses must be in kilograms and distance in meters. Convert grams to kilograms by dividing by 1000, and kilometers to meters by multiplying by 1000.
2. Square the distance
Take the distance between the centers of the two objects and multiply it by itself: r × r = r².
3. Multiply the two masses
Multiply m₁ by m₂ to get the combined mass product.
4. Multiply by the gravitational constant
Multiply the mass product by G = 6.674 × 10⁻¹¹ N·m²/kg².
5. Divide by the squared distance
Divide the result of the previous step by r² from step two. The answer is the gravitational force in newtons.
Worked Example: Your Own Weight from Earth's Gravity
Consider a 70 kg person standing on Earth's surface. Earth's mass is about 5.972 × 10²⁴ kg, and its radius is about 6.371 × 10⁶ m, so that is the distance from the person to Earth's center of mass. Step 1 (units): everything is already in kilograms and meters. Step 2 (square distance): r² = (6.371 × 10⁶)² = 4.059 × 10¹³ m². Step 3 (multiply masses): m₁ × m₂ = 70 × 5.972 × 10²⁴ = 4.180 × 10²⁶ kg². Step 4 (multiply by G): 6.674 × 10⁻¹¹ × 4.180 × 10²⁶ ≈ 2.790 × 10¹⁶. Step 5 (divide by r²): 2.790 × 10¹⁶ ÷ 4.059 × 10¹³ ≈ 687 N. Answer check: weight is normally calculated as F = m × g, where g ≈ 9.8 m/s² near Earth's surface. For a 70 kg person, that gives 70 × 9.8 = 686 N — matching the gravitational force calculation within rounding error. This confirms that ordinary weight is nothing more than the gravitational force between an object and the planet it stands on.
Worked Example: How Strong Is Earth's Pull on the Moon?
Now scale up to two astronomical bodies. The Moon has a mass of about 7.342 × 10²² kg, Earth has a mass of about 5.972 × 10²⁴ kg, and the average distance between their centers is about 3.844 × 10⁸ m. Step 2 (square distance): r² = (3.844 × 10⁸)² ≈ 1.478 × 10¹⁷ m². Step 3 (multiply masses): 7.342 × 10²² × 5.972 × 10²⁴ ≈ 4.385 × 10⁴⁷. Step 4 (multiply by G): 6.674 × 10⁻¹¹ × 4.385 × 10⁴⁷ ≈ 2.926 × 10³⁷. Step 5 (divide by r²): 2.926 × 10³⁷ ÷ 1.478 × 10¹⁷ ≈ 1.980 × 10²⁰ N. That is roughly 198,000,000,000,000,000,000 newtons — an almost incomprehensibly large force, yet it is exactly what keeps the Moon in orbit instead of flying off into space. This value closely matches the figure published by space agencies for the Earth–Moon gravitational attraction, which is a useful sanity check whenever you use a calculator for astronomical problems.
Why Does Distance Matter So Much in Gravity?
Gravitational force follows an inverse-square relationship with distance, meaning force is proportional to 1 ÷ r². If you double the distance between two objects, the force does not drop by half — it drops to one-fourth, because 2² = 4. Triple the distance, and the force falls to one-ninth, since 3² = 9. This is easy to verify with a quick example: two objects a distance r apart exert 100 N of force on each other. Move them to a distance of 3r, and the new force is 100 ÷ 3² = 100 ÷ 9 ≈ 11.1 N — an 88.9% drop, even though the distance only tripled. The inverse-square relationship explains why gravitational force calculators are so sensitive to the distance input: a small typo in distance (using kilometers when the field expects meters, for example) can throw the final answer off by a factor of a million or more, since the error gets squared.
Common Mistakes When Calculating Gravitational Force
Several errors show up repeatedly when people compute gravitational force by hand or misread a calculator's inputs. Forgetting to square the distance is the single most common mistake, and it makes the result far too large. Mixing units — entering mass in grams or pounds and distance in kilometers or feet without converting to kilograms and meters first — produces answers wrong by several orders of magnitude. Using diameter instead of radius is another frequent slip: when working with planets or moons, distance in the formula is measured center-to-center, not surface-to-surface, so you often need to add radii to a surface distance. Confusing G with g causes trouble too — the gravitational constant G (6.674 × 10⁻¹¹ N·m²/kg²) is a universal constant used in Newton's formula, while g (about 9.8 m/s² on Earth) is the local gravitational acceleration derived from G, Earth's mass, and Earth's radius; they are related but not interchangeable. Finally, misplacing the exponent sign — writing 10¹¹ instead of 10⁻¹¹ — inflates the answer by a factor of 10²², turning a normal-sized force into an absurd one.
Can Gravitational Force Ever Be Repulsive?
No — within Newton's law of universal gravitation, gravitational force is always attractive. The formula only produces a magnitude, and that magnitude always pulls the two masses toward each other along the line connecting their centers; there is no configuration of ordinary mass that produces a repulsive gravitational force in this model. This differs from electric force, where like charges repel and opposite charges attract. Modern physics (general relativity) refines Newton's picture for very strong fields or very high speeds, and some theoretical proposals involving negative mass or dark energy discuss repulsive effects on cosmic scales, but none of that applies to the everyday and classroom-level calculations a gravitational force calculator is built for. For any two ordinary masses, expect the calculator to return a positive force value representing pure attraction.
Gravitational Force vs. Weight: What's the Difference?
Weight and gravitational force are closely related but not identical concepts. Gravitational force, from Newton's formula, is the pull between any two masses anywhere in the universe. Weight is a specific case: the gravitational force exerted on an object by the astronomical body it is standing on or near, usually Earth. Because Earth's mass and radius are fixed for a given location, physicists simplify F = G × m × M_earth ÷ r² into the shorter formula F = m × g, where g = G × M_earth ÷ r² has already been calculated to be about 9.8 m/s² at sea level. That is why a bathroom scale calculation only needs your mass, not a full gravitational force calculator — the Earth-specific terms are baked into the constant g. However, on the Moon, where gravity is about 1.62 m/s², or on Mars, where it is about 3.71 m/s², your weight changes even though your mass — the actual amount of matter in your body — stays exactly the same.
Practice Problems with Solutions
Try these three problems using the same five-step process, then check your work against the solutions below.
1. Problem 1: Two Bowling Balls
Two bowling balls, each with a mass of 7 kg, have their centers 0.3 m apart. Find the gravitational force between them. Solution: F = G × m₁ × m₂ ÷ r² = 6.674 × 10⁻¹¹ × 7 × 7 ÷ 0.3² = 6.674 × 10⁻¹¹ × 49 ÷ 0.09 ≈ 3.634 × 10⁻⁸ N — far too small to feel, which is why everyday objects never noticeably attract each other.
2. Problem 2: A Satellite in Low Earth Orbit
A 500 kg satellite orbits at 400 km above Earth's surface. Earth's radius is 6.371 × 10⁶ m and its mass is 5.972 × 10²⁴ kg, so the distance from the satellite to Earth's center is 6.371 × 10⁶ + 4.0 × 10⁵ = 6.771 × 10⁶ m. Solution: F = 6.674 × 10⁻¹¹ × 500 × 5.972 × 10²⁴ ÷ (6.771 × 10⁶)² = 1.993 × 10¹⁷ ÷ 4.585 × 10¹³ ≈ 4,347 N.
3. Problem 3: Force After Tripling Distance
Two objects exert 90 N of gravitational force on each other at some distance r. If the distance is tripled, what is the new force? Solution: because force follows an inverse-square law, F_new = F ÷ 3² = 90 ÷ 9 = 10 N.
How Can You Check a Gravitational Force Calculator's Answer?
The fastest way to verify any calculator's output is to redo the five steps from this guide with the same inputs and compare orders of magnitude first — the exponent on the final answer should match even before you check the exact digits. If your hand calculation gives 2.8 × 10¹⁶ and the calculator shows 2.8 × 10¹⁸, you likely made a units or exponent error somewhere, most often in the distance term because it gets squared. It also helps to sanity-check against a known reference value, such as the fact that a 1 kg object at Earth's surface should feel almost exactly 9.8 N of gravitational force, or that the Earth–Moon force should land near 1.98 × 10²⁰ N. Working through problems by hand a few times — using a general step-by-step math solver to check your algebra along the way — builds the intuition to catch calculator input errors instantly, rather than trusting an unfamiliar number just because a tool produced it.
Related Articles
Step-by-Step Math Problem Solving: A Repeatable Framework for Any Problem
Learn a repeatable framework for breaking down any math or physics problem into clear, checkable steps.
Math Solver for Word Problems: A Step-by-Step Framework with Worked Examples
Apply a structured approach to translating word problems, including physics scenarios, into solvable equations.
Solving Linear Equations Calculator: Step-by-Step Guide with Examples
Practice rearranging formulas like Newton's law of gravitation to solve for an unknown mass or distance.
Related Math Solvers
Smart Scan Solver
Snap a photo of a gravitational force problem and get an instant, structured breakdown of the given values.
Step-by-Step Solutions
See every stage of the calculation — unit conversion, squaring the distance, multiplying by G — laid out clearly.
AI Math Tutor
Ask follow-up questions about why the inverse-square law works or how to rearrange the gravitation formula.
Related Subjects
Physics Problem Solver
Get step-by-step help with force, motion, and gravitation problems.
Algebra Homework Help
Master the equation rearrangement skills needed to isolate variables in formulas like F = G × m₁ × m₂ ÷ r².
Geometry Homework Help
Review distance and radius concepts that show up when measuring r in gravitational force problems.
