🌍Gravitational Force Calculator
Newton's law of universal gravitation: F = Gm₁m₂/r².
Free Gravitational Force Calculator
Our free gravitational force calculator applies Newton's law of universal gravitation instantly. Enter the two masses and the distance between them, and get the gravitational force immediately — or solve for a mass or distance if that's your unknown.
Preset values for Earth, the Moon, the Sun, and other planets make astronomy problems quick to set up, and the calculator handles the huge and tiny numbers involved in gravity calculations cleanly with scientific notation, so you never lose precision. Every result comes with the formula and substitution shown, including the gravitational constant.
Whether you're studying physics, astronomy, or just curious about the forces holding the solar system together, this tool gives accurate answers with the reasoning shown. No sign-up, no downloads, no limits.
About the Gravitational Force Calculator
Features
Solve for F, m₁, m₂, or r
Choose the unknown and enter the other three quantities.
Astronomical presets
Auto-fill mass values for Earth, the Moon, the Sun, Mars, and Jupiter.
Scientific notation
Handles astronomically large and vanishingly small numbers cleanly.
Step-by-step working
Shows the formula and substitution, including the value of G.
Frequently Asked Questions
How does the gravitational force calculator work?
Enter two masses and the distance between them (or solve for one of those given the force), and it applies F = Gm1m2/r² to compute the result.
Is it free?
Completely free, no sign-up, downloads, or limits.
What is the gravitational constant G?
G = 6.674×10⁻¹¹ N·m²/kg², a fixed constant used in Newton's law of universal gravitation.
Can I use preset planet masses?
Yes, presets for Earth, the Moon, the Sun, and other planets auto-fill common values.
Does it handle very large or small numbers?
Yes, inputs and outputs support scientific notation for astronomical masses and distances.
Does it show the steps?
Yes, the formula and substitution — including the value of G — are shown for every calculation.
What if I enter a distance of zero?
This is flagged as invalid since it produces an undefined (infinite) force.
Can it solve for mass or distance instead of force?
Yes, choose which quantity to solve for and enter the other three.
Is my data stored?
No; everything runs in your browser and isn't stored or sent anywhere.
Does it work on mobile?
Yes, fully responsive on all screen sizes.