F = G·m1·m2 / r² · solve for force, distance or mass · scientific notation · Earth/Moon/Sun presets · 100% browser-only
- Runs locally
- Category Calculator
- Best for Getting a realistic range before a purchase, plan, workout, or schedule decision.
Result
Formula steps
- F = G·m1·m2 / r²
- F = (6.674e-11 × 5.972e+24 × 70) / (6.371e+6)²
- F = 2.790e+16 / 4.059e+13
- F = 687.4 N
What this tool does
Free gravitational force calculator built on Newton's law of universal gravitation, F = G·m1·m2 / r². Enter two masses in kilograms or tonnes and the distance between their centres in metres or kilometres, and the tool returns the attractive force in newtons, with every step of the formula shown so you can check the algebra by hand. It also runs the equation backwards: give it the force and three of the four quantities and it reverse-solves for the missing distance or mass. Results display in scientific notation, which matters because real gravity spans an enormous range, from the roughly 3.3e-7 N pull between two people standing a metre apart to the 1.98e20 N that holds the Moon in orbit. Built-in mass presets for the Sun, Earth, Moon and a 70 kg human let you set up textbook problems in one click. The gravitational constant used is G = 6.674e-11 N·m²/kg². Everything runs in your browser; one-click copy and a shareable URL reproduce your exact problem. 100% client-side, no upload, no account.
Tool details
- Input
- Numbers
- The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
- Output
- Live result + Copy
- The result area focuses on usable output, with copy, download, or preview actions when supported.
- Privacy
- Browser-side processing
- The main tool logic does not call an external API, so inputs normally stay in the current tab.
- Save / share
- Shareable URL state
- Key settings are encoded in the URL so another person can reopen the same setup.
- Performance budget
- Initial JS <= 9 KB
- No WASM budget is declared, keeping the tool quick to open on mobile.
- Best fit
- Calculator · Student
- Category and role tags drive related tools, internal links, and quick fit checks.
How to use
-
1. Input
Paste or drop your content into the tool panel.
-
2. Process
Click the button. All processing is local in your browser.
-
3. Copy / Download
Copy the result or download to disk in one click.
How Gravitational Force Calculator fits into your work
Use it for fast estimates, comparisons, and planning numbers before you make the final call.
Calculation jobs
- Getting a realistic range before a purchase, plan, workout, or schedule decision.
- Comparing scenarios by changing one input at a time.
- Turning rough assumptions into a number you can discuss.
Calculation checks
- Double-check units, dates, rates, and rounding assumptions.
- Treat health, finance, tax, and legal outputs as planning aids, not professional advice.
- Save the inputs that produced an important result so you can reproduce it later.
Good next steps
These links move the current task into a more complete workflow.
- 1 Scientific Calculator Scientific calculator — sin / cos / log / sqrt / power, with full keyboard input + history, deg/rad mode. Open
- 2 Unit Converter Convert between length, weight, temperature, area, volume, speed, time — instant, browser-only Open
- 3 Kinetic Energy Calculator KE = ½mv², solve for energy, mass or speed, with formula steps and momentum, all in your browser Open
Real-world use cases
Work a physics homework problem and check every step
The textbook asks for the gravitational force between Earth and a 1200 kg satellite at 4.2e7 m. Pick the Earth preset for m1, type 1200 for m2 and 4.2e7 for r, and read the force in newtons. The on-screen formula steps spell out G·m1·m2 then the division by r², so you can copy the working into your answer and show how you got there, not just the final number.
Reverse-solve for an orbital radius
You know the force on a body and both masses but not how far apart they sit. Switch to Distance mode, enter the force and the two masses, and the tool returns r = √(G·m1·m2 / F). This is the move for problems that give you the gravitational pull and ask where the object must be, the kind that trips students up when they try to rearrange the equation in their head.
Show a class how weak everyday gravity really is
Set both masses to 70 kg with the Human preset and the distance to 1 m. The result, about 3.3e-7 N, lands on screen in scientific notation. Share the URL with the class and every student opens the exact same problem, then bump r to 2 m and watch the force quarter live, a one-click demonstration of the inverse-square law.
Sanity-check an astronomy or simulation figure
Writing a gravity simulation or grading lab data, you want a quick independent value for the Sun–Earth force. Pick Sun and Earth from the presets, set r to 1.496e11 m, and compare the roughly 3.54e22 N result against your code. If your number is off by orders of magnitude, you have almost certainly mixed up units somewhere.
Common pitfalls
Squaring only one factor of the distance. The denominator is r², not r. Forgetting the square inflates the force by a factor of r, which for astronomical distances means being wrong by many orders of magnitude. This tool always squares r for you and shows it in the steps.
Mixing units instead of staying in SI. The constant G = 6.674e-11 is defined for kilograms, metres and newtons. Feeding grams or kilometres straight into the formula without converting throws the answer off by factors of 1000 or a million. Use the unit pickers so every input is converted to SI before the math runs.
Measuring distance from surfaces instead of centres. Newton's law uses r between the centres of mass, not the gap between surfaces. For a person on Earth, r is Earth's radius (about 6.37e6 m), not your height above the ground. Using the surface gap makes planetary problems badly wrong.
Privacy
Every calculation here, the force, the reverse-solve for distance or mass, the unit conversions and the formula steps, is plain JavaScript that runs in your browser tab. No masses, distances or results ever leave the page, and nothing you type is logged. The one caveat: the shareable URL encodes your inputs in the query string, so a share link pasted into chat records those numbers in the recipient server's access log. For ordinary physics problems that is harmless; if your figures are sensitive, use the copy button and paste the text instead of the URL.
FAQ
Tool combos
Folks in your role tend to reach for these alongside this tool.
- Chinese Acupoint Locator 200+ meridian acupoints / WHO 2008 standard locations / with contraindications, manipulation, and combinations.
- Affine Cipher Encoder & Decoder Encrypt and decrypt the ax+b affine cipher with live modular-inverse check, browser-only
- Anagram Solver Check if two words are anagrams, rearrange a set of letters into every ordering, and read the sorted letter fingerprint, all in your browser
- Angle Converter Degrees, radians, gradians, turns, arcminutes, arcseconds and NATO mils, all from one input, copyable, browser-only