- Home
- Physics
- Gravitation
- Net Gravitational Force (Multiple Masses) Calculator
Net Gravitational Force (Multiple Masses) Calculator
Vector sum of forces from up to 4 masses in a plane, with a force diagram.
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: A 1 kg mass is at (0, 4) m. Masses of 2 kg at (0, 0) and 3 kg at (3, 0) attract it. Find the net force and its direction.
- Write the given values in SI units
- Method
- Force due to mass 1
- Force due to mass 2
- Add the components
- Magnitude of net force
- Direction of net force
- Write the given values in SI units
m0 = 1 kg x0 = 0 m y0 = 4 m m1 = 2 kg x1 = 0 m y1 = 0 m m2 = 3 kg x2 = 3 m y2 = 0 m G = 6.674 × 10−11 N m²/kg² - MethodEach mass pulls the test body towards itself. Find each force, split it into x and y parts, add the parts, then combine.
- Force due to mass 1
Δx1 = x1 − x0 = 0 − 0 = 0 m Δy1 = y1 − y0 = 0 − 4 = −4 m r1 = √Δx12 + Δy12 = √02 + (−4)2 = 4 m F1 = G m0 m1r12 = (6.674 × 10−11) × 1 × 242 = 8.342 × 10−12 N F1x = F1 Δx1r1 = (8.342 × 10−12) × 04 = 0 N F1y = F1 Δy1r1 = (8.342 × 10−12) × (−4)4 = −8.342 × 10−12 N - Force due to mass 2
Δx2 = x2 − x0 = 3 − 0 = 3 m Δy2 = y2 − y0 = 0 − 4 = −4 m r2 = √Δx22 + Δy22 = √32 + (−4)2 = 5 m F2 = G m0 m2r22 = (6.674 × 10−11) × 1 × 352 = 8.009 × 10−12 N F2x = F2 Δx2r2 = (8.009 × 10−12) × 35 = 4.805 × 10−12 N F2y = F2 Δy2r2 = (8.009 × 10−12) × (−4)5 = −6.407 × 10−12 N - Add the components
Fx = F1x + F2x = 0 + (4.805 × 10−12) = 4.805 × 10−12 N Fy = F1y + F2y = (−8.342 × 10−12) + (−6.407 × 10−12) = −1.475 × 10−11 N - Magnitude of net force
F = √Fx2 + Fy2 = √(4.805 × 10−12)2 + (−1.475 × 10−11)2 = 1.551 × 10−11 N - Direction of net force
θ = tan−1(FyFx) = tan−1((−1.475 × 10−11)(4.805 × 10−12)) = −71.95° Angle is measured anticlockwise from the +x axis, with the correct quadrant chosen from the signs of Fₓ and Fy.
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².
- 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.
- Net force (vector sum)
- When several forces act, you add them as arrows (vectors), not as plain numbers. Split each into x and y parts, add the parts, then combine.
Symbols in this solver
What each box asks for, and its unit.
| Symbol | What it means | SI unit |
|---|---|---|
| m0 | Mass of the test body | kg (or g, tonne, M⊕, M☾, M☉) |
| x0 | x position | m (or km, cm, mm, R⊕, AU) |
| y0 | y position | m (or km, cm, mm, R⊕, AU) |
| m1 | Mass 1 | kg (or g, tonne, M⊕, M☾, M☉) |
| x1 | x position | m (or km, cm, mm, R⊕, AU) |
| y1 | y position | m (or km, cm, mm, R⊕, AU) |
| m2 | Mass 2 (leave blank to skip) | kg (or g, tonne, M⊕, M☾, M☉) |
| x2 | x position | m (or km, cm, mm, R⊕, AU) |
| y2 | y position | m (or km, cm, mm, R⊕, AU) |
| m3 | Mass 3 (leave blank to skip) | kg (or g, tonne, M⊕, M☾, M☉) |
| x3 | x position | m (or km, cm, mm, R⊕, AU) |
| y3 | y position | m (or km, cm, mm, R⊕, AU) |
| m4 | Mass 4 (leave blank to skip) | kg (or g, tonne, M⊕, M☾, M☉) |
| x4 | x position | m (or km, cm, mm, R⊕, AU) |
| y4 | y position | m (or km, cm, mm, R⊕, AU) |
Formula & concept
Vector sum of gravitational forces on a test body from up to 4 masses placed anywhere in a plane. Includes a diagram.
Key idea: Gravitational forces obey the superposition principle: the net force is the vector sum of the forces from each mass, each computed as if the others were absent.
How to use this calculator
- 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.