Utinzo

Gravitational Force Calculator

Calculate the gravitational force between any two masses using Newton's Law of Universal Gravitation. Find force, distance, or mass.

Did this tool work for you?

How to use this calculator

F = G · m₁ · m₂ / r²

F = gravitational force (N), G = 6.674×10⁻¹¹ N·m²/kg², m₁ and m₂ = masses (kg), r = distance between centres of mass (m).

  1. 1

    Enter the two masses and the distance between their centres.

  2. 2

    Defaults show Earth's mass, a 70 kg person, and Earth's radius — giving the person's weight force (~686 N ≈ 70 kgf).

  3. 3

    Use scientific notation for very large or small values (e.g., 5.972e24 for Earth's mass).

Frequently asked questions

What does the calculator return besides the force?

It returns the force F = G·m₁·m₂ ÷ r² in newtons and the acceleration F ÷ m₂ that mass 2 experiences toward mass 1. With the defaults (Earth, 70 kg, 6.371×10⁶ m) that is 687.3672 N and 9.8195 m/s². The force on mass 1 is equal in size and opposite in direction, but mass 1’s acceleration would be F ÷ m₁, which the tool does not display.

Why is my answer different from my bathroom-scale weight?

The calculator gives the pure gravitational attraction for the mass and distance you typed. A real weight reading also depends on your actual distance from Earth’s centre, which changes with latitude and altitude, and on Earth’s rotation. The default 9.8195 m/s² uses the single radius 6.371×10⁶ m, so it will not match a local measured value exactly.

What counts as the distance r?

The distance between the centres of the two bodies, not between their surfaces. To find the force on a person standing on Earth, use Earth’s radius, since you are about one radius from the centre. For an object one Earth radius above the surface, the centre distance is two radii, and the result is a quarter of the surface force (171.8418 N for 70 kg).

What happens if I enter zero or a negative number?

Masses and distance must all be positive numbers. A zero or negative mass returns “Masses must be positive”, a zero or negative distance returns “Distance must be positive”, and clearing a box counts as 0, so it returns the same message for that field. No force is calculated in those cases.

Can I type very large or very small numbers?

Yes, in scientific notation: 5.972e24 means 5.972×10²⁴. Results below 0.001 N or above one billion N are shown in exponential form, for example 1.9820e+20 N for the Earth–Moon pair. Inputs are also echoed in exponential form, so a 70 kg mass appears as 7.0000e+1.

Does it work inside a planet or for non-spherical objects?

No. The formula treats each body as a point mass, which also holds outside a uniform sphere. Inside a planet, only the mass closer to the centre than you pulls on you in a simple way, and the formula with the full mass would overstate the force. Irregular shapes such as asteroids need a more detailed model.

Is the constant G adjustable?

No. The code uses a fixed G = 6.674×10⁻¹¹ N·m²/kg², shown in the results. Published values of G are known only to roughly four or five significant figures, so results beyond about four digits are an artefact of the inputs rather than a measurement.

Does it account for relativity or for a third body?

No. It is Newton’s two-body law only. The Earth–Moon example ignores the Sun’s pull on the Moon, and nothing here models orbits, tides or relativistic corrections.

About gravitational force calculator

Gravitational force calculator — attraction between two masses

What the formula says

Every pair of masses attracts with a force F = G·m₁·m₂ ÷ r², where G = 6.674×10⁻¹¹ N·m²/kg². The force grows with each mass and falls with the square of the distance between centres. Henry Cavendish’s 1798 torsion-balance experiment was the first to detect the attraction between laboratory-sized masses, and G is derived from that kind of measurement. The calculator also divides F by the second mass, which gives the free-fall acceleration that mass 2 would have at that distance from mass 1.

Worked examples

Force and acceleration for five pairings. The columns show Pairing, m₁ (kg) / m₂ (kg) / r (m), Force and Acceleration of m₂, one line per case.

Force and acceleration for five pairings
Pairingm₁ (kg) / m₂ (kg) / r (m)ForceAcceleration of m₂
70 kg person at Earth’s surface5.972e24 / 70 / 6.371e6687.3672 N9.8195 m/s²
70 kg person on the Moon’s surface7.348e22 / 70 / 1.7374e6113.7244 N1.6246 m/s²
Earth and Moon7.348e22 / 5.972e24 / 3.844e81.9820e+20 N3.3189e-5 m/s²
Earth and Sun1.989e30 / 5.972e24 / 1.496e113.5422e+22 N0.0059 m/s²
Two 1,000 kg masses 1 m apart1000 / 1000 / 16.6740e-5 N6.6740e-8 m/s²

How quickly gravity fades with distance

Keeping Earth and the 70 kg person fixed and moving the person away shows the inverse-square law directly. At one Earth radius from the centre the force is 687.3672 N. At two radii it is 171.8418 N, at three radii (19,113 km) it is 76.3741 N, and at ten radii (63,710 km) it is 6.8737 N. Multiplying the distance by n divides the force by n². Gravity never reaches zero, it only weakens.

Why 1,000 kg masses barely notice each other

The last row of the table is a good reality check. Two one-tonne masses a metre apart pull on each other with about 0.00007 N, far below anything you could feel and much smaller than ordinary friction. Gravity looks strong in everyday life only because one of the bodies is as massive as a planet. That is also why Cavendish needed a very sensitive balance.

Reading the output correctly

Use centre-to-centre distance in metres and masses in kilograms. Convert kilometres by multiplying by 1,000 and Earth masses by 5.972×10²⁴. Results come out in newtons, the SI unit of force, so divide by about 9.8 if you want the equivalent in kilograms-force. The method is Newton’s two-body law for point-like or spherical bodies; it is not suited to planetary interiors or to precise orbit prediction. If one input is in kilometres, multiply by 1,000 before typing it.

Gravitational Force Calculator – Utinzo

Learn more from an authoritative source:

Wikipedia
Related tools

Results are estimates for informational purposes only and do not constitute professional financial, medical, legal, or technical advice. Read full disclaimer →