- Home
- Physics
- Gravitation
- Newton's Law of Gravitation Calculator
Newton's Law of Gravitation Calculator
Force between two masses, or find a mass or the distance, with every step shown.
Practice questions
Textbook-style questions. Press Solve in the tool to load the values and see the full solution. Underlined words are explained below.
Worked example
Here's the first practice question solved in full, so you can see exactly what you'll get. Try it on paper before you read the steps.
Question: Two lead spheres of 10 kg and 5 kg have their centres 0.5 m apart. Find the gravitational force between them.
- Write the given values in SI units
- Apply Newton's law of gravitation
- Write the given values in SI units
M = 10 kg m = 5 kg r = 0.5 m G = 6.674 × 10−11 N m²/kg² To find: F (Gravitational force) - Apply Newton's law of gravitation
F = G M mr2 = (6.674 × 10−11) × 10 × 50.52 = 1.335 × 10−8 N
Terms used on this page
New to a word in the question or the solution? Here it is in simple language.
- Mass (m, M)
- How much matter a body has. It's measured in kilograms (kg) and stays the same everywhere, on Earth or on the Moon.
- Force (F)
- A push or a pull. It's measured in newtons (N). One newton gives 1 kg an acceleration of 1 m/s².
- Powers of ten (6.4 × 10⁶)
- A short way to write very big or very small numbers. 6.4 × 10⁶ means 6.4 with the point moved 6 places right: 6,400,000. In the boxes you can type it as 6.4e6.
- Gravitational force
- The pull every mass has on every other mass. Newton found it gets weaker with the square of the distance: F = GMm/r². Twice as far means one-fourth the pull.
- Universal gravitational constant (G)
- A fixed number in Newton's law: G = 6.674 × 10⁻¹¹ N m²/kg². It's tiny, which is why you don't feel the pull of the person sitting next to you.
- Radius (R) and distance from centre (r)
- R is the size of the planet, from its centre to its surface. r is the distance from the centre to the point you're looking at. Above the surface, r = R + h.
- Displacement (s)
- How far a body ends up from where it started, in a straight line, with a direction. If you walk 5 m forward and 5 m back, the distance is 10 m but the displacement is 0.
Symbols in this solver
What each box asks for, and its unit.
| Symbol | What it means | SI unit |
|---|---|---|
| M | Mass of body 1 | kg (or g, tonne, M⊕, M☾, M☉) |
| m | Mass of body 2 | kg (or g, tonne, M⊕, M☾, M☉) |
| r | Distance between centres | m (or km, cm, mm, R⊕, AU) |
| F | Gravitational force | N (or kN, dyne, lbf) |
Formula & concept
Force between two masses. Find the force, either mass, or the distance between them.
Key idea: Gravity always attracts and acts along the line joining the two centres. The force follows an inverse-square law: double the distance and the force becomes ¼. Both bodies feel the same force (Newton's third law).
What it can find
Choose the unknown with the “What do you want to find?” buttons: gravitational force, mass of body 1, mass of body 2, distance between centres. The formula is rearranged for you and every step is shown.
How to use this calculator
- Choose what you want to find. Its box turns orange.
- Type the known values from your question and pick the unit for each one.
- Press Solve step by step.
- Read the plan first. It lists the steps the solution will follow. Want to try it yourself? Tick Practice mode and the answer stays hidden until you ask for it.
- Check the answer, then go through each numbered step. Where there's a second method, it's shown after the main one.
- Stuck on a word? The terms section explains it in simple language.