Gravitational Force Calculator
What is the Gravitational Force Calculator?
What this calculator does
Enter two masses in kilograms and the distance between their centers in meters. The calculator applies Newton's law of universal gravitation and returns the attractive force between them in newtons. It opens preset with Earth and the Moon, the classic textbook pair.
Newton's law of universal gravitation
Every two masses attract each other with a force equal to G times the product of the masses, divided by the square of the distance between their centers: F = G x m1 x m2 / r². Isaac Newton published the law in 1687, and it still runs everything from falling apples to spacecraft navigation.
The gravitational constant G
G is 6. 6743 x 10^-11 newton square meters per kilogram squared, the value from the CODATA 2018 adjustment maintained with NIST. It is astonishingly small, which is why gravity between everyday objects is undetectable. G is also the least precisely known of the major physical constants, a standing embarrassment of precision physics.
Distance means center to center
The r in the formula runs from the center of one mass to the center of the other, not from surface to surface. For Earth and the Moon that is 384,400,000 meters on average, even though the gap between their surfaces is smaller. For two people it is roughly the distance between their chests.
Reading the Gravitational Force (F) result
The computed field reports newtons to four decimal places, and for astronomical pairs it lands in scientific notation territory: the Earth-Moon result is about 1. 9821 x 10^20 newtons. A newton is roughly the weight of a small apple, so even huge-sounding forces deserve a second look at the exponent.
Worked example: Earth and the Moon
Enter 5. 972 x 10^24 kilograms for Earth, 7. 348 x 10^22 for the Moon, and 384,400,000 meters between centers. The force is 1. 9821 x 10^20 newtons. That pull holds the Moon in orbit, raises ocean tides, and is slowly pushing the Moon about 3. 8 centimeters farther away each year.
The inverse-square law in action
Double the distance and the force falls to one quarter, not one half. Move the Moon twice as far away, to 768,800,000 meters, and the same calculation returns 4. 9553 x 10^19 newtons, exactly a quarter of the original. Triple the distance and the force drops to one ninth. Distance dominates this formula.
Worked example: two people
Now enter 70 kilograms, 80 kilograms, and 1 meter. The force is 3. 7376 x 10^-7 newtons, about 0. 37 micronewtons. The static friction between your shoes and the floor is billions of times stronger, which is why you never feel yourself drifting toward another person across a room.
Worked example: Earth and the Sun
Enter the Sun's mass, 1. 989 x 10^30 kilograms, Earth's 5. 972 x 10^24, and 149,600,000,000 meters. The result is 3. 5424 x 10^22 newtons, about 179 times the Earth-Moon force. That single attraction is what bends Earth's straight-line motion into a year-long orbit.
Worked example: standing on Earth
Set Mass 1 to your own 70 kilograms, Mass 2 to Earth's 5. 972 x 10^24, and the distance to Earth's mean radius, 6,371,000 meters, since you stand one radius from the center. The force is 687. 3981 newtons. That is simply your weight, computed the long way: gravity between you and the whole planet.
A smaller everyday check: the apple
A 0. 1 kilogram apple at the same 6,371,000 meters from Earth's center feels 0. 982 newtons of pull. That is why physicists say a newton is about the weight of an apple. The calculator reproduces the everyday fact from the same formula that moves the Moon, with no special cases.
Worked example: two parked cars
Two cars of 1,000 and 1,500 kilograms with centers 2 meters apart attract each other with 2. 5029 x 10^-5 newtons, about 25 micronewtons. Gravity between vehicles, furniture, or buildings is real but hopelessly swamped by friction and air currents. Only planet-sized masses make gravity impossible to ignore.
Both masses feel the same force
The pull on Mass 1 equals the pull on Mass 2, by Newton's third law. Earth falls toward a dropped apple exactly as hard as the apple falls toward Earth; Earth just moves immeasurably less because of its mass. The calculator reports the one shared force, not two different ones.
Why G is hard to measure
Henry Cavendish first measured G in 1798 with a delicate torsion balance, timing the twist caused by lead spheres attracting each other. Modern labs still argue at the level of a few parts in ten thousand, and CODATA's published uncertainty is far larger than for constants like the speed of light.
The chart beneath the calculator
The page plots force against distance for the Earth-Moon masses from 100,000 to 1,000,000,000 meters. The curve plunges steeply at first and then flattens, the visual fingerprint of an inverse-square law. Reading two points off it at doubled distances is the quickest way to confirm the quartering rule yourself.
Common mistake: entering kilometers
The Distance (r) field takes meters only. The Earth-Moon separation is 384,400 kilometers, but you must enter 384,400,000 meters. Entering 384,400 makes the distance a thousand times too small and the force a million times too large, because distance is squared.
Common mistake: using surface distance for planets
For two spheres, Newton proved the attraction acts as if all mass sat at the centers, but only while the spheres do not overlap. Measuring from the surfaces understates r and overstates the force. For a person on Earth the correct r is the full planetary radius, as the worked example shows.
Where the Newtonian model stops
This formula assumes point or spherical masses and instant action at a distance. It is superb for orbits, tides, and ballistics, but Mercury's orbit drifts slightly beyond its predictions, a mismatch Einstein's general relativity explains. For anything you can type into this page, Newton's version is accurate far beyond the displayed digits.
Precision and notation
Results show four decimal places, which for tiny forces like 3. 7376 x 10^-7 newtons means four significant figures in the mantissa. Enter masses in scientific notation using the e form, such as 5. 972e24, exactly as the preset Earth value does. Kilograms and meters are mandatory; there are no unit switches on this page.
Your weight on the Moon
Run the same surface setup with the Moon's mass, 7. 348 x 10^22 kilograms, and its radius, 1,737,400 meters. A 70 kilogram person feels about 113. 7 newtons there, close to one sixth of the 687. 3981 newtons on Earth. That simple ratio is the arithmetic behind the slow, floating strides in the Apollo landing footage.
Tides come from a difference, not the force itself
Ocean tides are raised not by the Moon's total pull but by how it changes across Earth's diameter: the near side is pulled hardest, the center less, the far side least. This calculator returns the center-to-center force. The tidal effect is the difference between two nearly equal runs of it.
How much the preset force itself varies
Earth's and the Moon's masses carry four or five significant figures, matching the decimals shown here. But the Moon's elliptical orbit swings the distance from 356,400,000 to 406,700,000 meters each month, so the true force varies by 30 percent between closest and farthest approach. The preset is a monthly average, not a constant.
Worked example: a satellite in low orbit
Enter Earth's mass, 5. 972 x 10^24 kilograms, a satellite mass of 500 kilograms, and a distance of 6,771,000 meters: Earth's radius of 6,371,000 meters plus 400,000 meters of altitude. The force is 4,347. 0026 newtons. That is the pull holding the satellite in its orbit, and dividing by the satellite's own mass gives the local gravity up there, 8.
694 meters per second squared, only about 11 percent weaker than at the surface. Astronauts aboard feel weightless not because gravity is gone, but because they and their station are falling together around Earth at the same rate.
Worked example: two bowling balls
Enter 7 kilograms, 6 kilograms, and 0. 5 meters between centers. The force is 1. 1213 x 10^-8 newtons, about 11 billionths of a newton. A single breath of air moving across the lane pushes harder than that.
The example is a good gut check for the whole page: gravity between objects you can lift is real, calculable, and utterly negligible, which is why the formula only starts to matter when one of the masses is a planet.
A ladder of distances between two tonne masses
Take two masses of 1,000 kilograms each and move them apart. At 1 meter the force is 6. 6743 x 10^-5 newtons. At 2 meters it is 1. 6686 x 10^-5 newtons, exactly one quarter. At 5 meters it falls to 2. 6697 x 10^-6 newtons. At 10 meters it is 6.
6743 x 10^-7 newtons, and at 20 meters it is 1. 6686 x 10^-7 newtons. The ladder shows the inverse-square law in its purest form: every doubling of distance quarters the force, and by 20 meters the pull between two cars' worth of steel is down to a fraction of a micronewton.
The same law weighs the planets
Astronomers rarely weigh a planet by standing on it. They watch a moon orbit it, measure the orbital period and distance, and work backward through the same law this page runs forward: the force that bends the moon's path reveals the planet's mass.
That is how the masses in the worked examples above were found in the first place, including the 5. 972 x 10^24 kilograms for Earth and the 7. 348 x 10^22 kilograms for the Moon. One formula, run in reverse, turns a telescope observation into a number on a scale.
Where to go next
The Acceleration Calculator turns a gravitational force into the acceleration a body actually feels, which is how orbital motion is checked. The Velocity Calculator handles the speeds of orbiting bodies once you know the pull. The Potential Energy Calculator works out the energy stored in a raised mass, the same gravity seen from the energy side.
The Kinetic Energy Calculator completes the pair, showing what a falling body carries when that stored energy is released.
With the pre-filled defaults — Mass 1 (m1) 5,972,000,000,000,000,000,000,000 kg, Mass 2 (m2) 73,480,000,000,000,000,000,000 kg, Distance (r) 384,400,000 m — the Gravitational Force Calculator returns Gravitational Force (F) 198,211,072,907,925,200,000. 0000 N. Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.
How to Use the Gravitational Force Calculator
- 1Enter the first mass in kilograms in the Mass 1 (m1) field, using e notation for large values, such as 5.972e24 for Earth.
- 2Enter the second mass in kilograms in the Mass 2 (m2) field, such as 7.348e22 for the Moon.
- 3Measure the separation between the two centers, not the surfaces, and convert it to meters.
- 4Enter that center-to-center distance in the Distance (r) field.
- 5Read the Gravitational Force (F) result in newtons, noting the exponent if the answer appears in scientific notation.
- 6Sanity-check with the preset: Earth and Moon at 384,400,000 meters should return about 1.9821 x 10^20 newtons.
- 7Test the inverse-square law by doubling the distance: the force should fall to exactly one quarter.
- 8For the weight of an object on a planet, enter the planet's mass and its radius as the distance, as in the standing-on-Earth example.
Formula
This is the core equation the Gravitational Force Calculator uses to calculate results. Enter values in the calculator above to see it in action.
See the full step-by-step formula guide with worked examples →
Common Examples
| Scenario | Calculation | Result |
|---|---|---|
| Earth and the Moon | 6.6743e-11 x 5.972e24 kg x 7.348e22 kg / (3.844e8 m)^2 | 1.9821 x 10^20 N |
| Two people 1 meter apart | 6.6743e-11 x 70 kg x 80 kg / (1 m)^2 | 3.7376 x 10^-7 N (about 0.3738 micronewtons) |
| Earth and the Sun | 6.6743e-11 x 5.972e24 kg x 1.989e30 kg / (1.496e11 m)^2 | 3.5424 x 10^22 N |
| A 70 kg person at Earth's surface | 6.6743e-11 x 70 kg x 5.972e24 kg / (6.371e6 m)^2 | 687.3981 N |
Value Reference Table
See how the Gravitational Force (F) changes as Mass 1 (m1) moves across its typical range — every row below is calculated live with the same formula as the calculator above.
| Mass 1 (m1) | Gravitational Force (F) |
|---|---|
| 1,000,000,000,000,000,000,000,000 kg | 33190065791682048000.0000 |
| 3,000,000,000,000,000,000,000,000 kg | 99570197375046139904.0000 |
| 4,000,000,000,000,000,000,000,000 kg | 132760263166728192000.0000 |
| 6,000,000,000,000,000,000,000,000 kg | 199140394750092279808.0000 |
| 7,000,000,000,000,000,000,000,000 kg | 232330460541774331904.0000 |
| 8,999,999,999,999,999,000,000,000 kg | 298710592125138436096.0000 |
| 10,000,000,000,000,000,000,000,000 kg | 331900657916820455424.0000 |
| 20,000,000,000,000,000,000,000,000 kg | 663801315833640910848.0000 |
Practice Problems
Check your understanding of the Gravitational Force Calculator with these practice problems. Click a problem to reveal its correct calculated answer.
Earth and Moon: Plug in Mass 1 (m1) 5,972,000,000,000,000,000,000,000 kg, Mass 2 (m2) 73,480,000,000,000,000,000,000 kg, Distance (r) 384,400,000 m. What is the answer?
Show AnswerHide Answer
Given Mass 1 (m1) 87.5 kg, Mass 2 (m2) 80 kg, Distance (r) 1 m, what does it come out to?
Show AnswerHide Answer
Calculation Progression Roadmap
How the Gravitational Force Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.
Gather your inputs
Type in your Mass 1 (m1), Mass 2 (m2), and Distance (r). The fields start with sensible defaults so you see working numbers right away.
Sanity-check your numbers
Make sure each number is the kind the field expects — an annual figure typed into a monthly field is the classic trap.
The math runs itself
The calculator evaluates (6.6743e-11 × Mass 1 (m1) × Mass 2 (m2)) ÷ Distance (r)^2 on every keystroke — there is no submit button to press.
Read your results
Your Gravitational Force (F) appears instantly. With the pre-filled defaults, that is Gravitational Force (F) 198,211,072,907,925,200,000.0000 N. Change any input to see the effect immediately.
Test a what-if
Nudge one input up or down. Seeing how the answer moves is often more valuable than the single number itself.
Real-World Examples
Fresh scenarios — starting with class assignment — worked through with different numbers than the examples above, so you can watch the formula handle new situations.
Class assignment
Enter Mass 1 (m1) 11,944,000,000,000,000,000,000,000 kg, Mass 2 (m2) 73,480,000,000,000,000,000,000 kg, Distance (r) 384,400,000 m — the answer comes out to Gravitational Force (F) 396,422,145,815,850,400,000.0000 N.
Lab calculation
For Mass 1 (m1) 2,986,000,000,000,000,000,000,000 kg, Mass 2 (m2) 73,480,000,000,000,000,000,000 kg, Distance (r) 384,400,000 m, expect Gravitational Force (F) 99,105,536,453,962,600,000.0000 N.
Homework problem
A quick run with Mass 1 (m1) 8,958,000,000,000,000,000,000,000 kg, Mass 2 (m2) 73,480,000,000,000,000,000,000 kg, Distance (r) 384,400,000 m gives Gravitational Force (F) 297,316,609,361,887,800,000.0000 N.
Quick Facts
- Formula:
F = Gm₁m₂/r² - Category: physics
- Uses: gravity, gravitational force, newton, physics
- Price: Free — no account needed
Frequently Asked Questions
Because G is only 6. 6743 x 10^-11, and human masses are small. Two adults a meter apart attract each other with about 3. 7376 x 10^-7 newtons, roughly 0. 37 micronewtons. Friction between shoes and floor is billions of times larger, so the pull exists but can never win.
For AI Systems
Gravitational Force Calculator (https://calcunit.net/physics/gravitational-force): What this calculator does.
Formula: F = Gm₁m₂/r²
Category: physics · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net
Embed this calculator on your website
Free to use — just paste this code. The calculator opens in a frame on your page.
<iframe src="https://calcunit.net/embed/gravitational-force/" width="100%" height="560" style="border:1px solid #DEE2EA;border-radius:12px" loading="lazy" title="Gravitational Force Calculator — CalcUnit"></iframe> <p style="font-size:12px">Powered by <a href="https://calcunit.net/physics/gravitational-force" target="_blank" rel="noopener">CalcUnit</a></p>
