The Gravitational Force Calculator works out the attraction between two masses. Enter both masses and the distance between them.

Gravitational Force Calculator

Gravitational attraction between any two masses — inverse-square law computed, centre-to-centre distance and all.

Free to use Scientific-notation steps Inverse-square insight Save PDF · PNG · Share

Enter your values

Fill in the fields below — the result appears with every step shown.

Shown on the printed, PDF and PNG copies of your result. Leave blank to stay anonymous.

kg

Enter a valid value for mass 1.

kg

Enter a valid value for mass 2.

m

Enter a valid value for distance between centres.

Local browser calculation

Review your inputs and the tool’s supported scope before using the result.

Calculator loading… If this message stays, this view is not running the calculator's script — open this file in a full browser tab, then press Calculate.

Your result will appear here

Enter your values above, then press Calculate — or press Enter in any field.
TinyExe Gravitational Force Calculator tinyexe.comFree online calculators

TinyExe · Gravitational Force Result

Calculated locally in your browser

Calculated on
—

–
—

Name

—

Mass 1

—

Mass 2

—

Distance between centres

—

How this was calculated

    What to do next

      TinyExe · tinyexe.com — Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.

      TinyExe PDF & PNG exports carry the TinyExe logo and tinyexe.com header & footer.

      Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.

      Embed this tool

      Add this Gravitational Force Calculator to your own page — copy the code below and paste it where you want the tool to appear.

      The embed loads the live calculator in a frame, so it stays up to date automatically. Choose a width, check the code, then copy it. When you publish on WordPress, keep the src pointing at your live tool URL.

      Works in WordPress (Custom HTML block), HTML pages, and most site builders.

      The short answer

      Newton's law of gravitation gives the force between two masses as G times m one times m two, divided by the square of distance between centres, with G equal to six point six seven four times ten to the minus eleven. Enter masses in kilograms and the distance in metres to get the force in newtons, worked in scientific notation.

      • F = G m1 m2 / r^2
      • Distance is centre to centre
      • Doubling distance quarters the force

      Gravitation landmarks

      Reference values for this calculator.

      PairDistanceForce
      1 kg & 1 kg1 m6.67 x 10^-11 N
      Person & EarthEarth radiusAbout 9.8 N per kg
      Moon & Earth384,400 kmAbout 2 x 10^20 N
      Double distance2xForce / 4

      The formula

      The exact formula this calculator uses — every variable in it is explained in the card below.

      The formula

      Newton's law of gravitation: F = G m1 m2 / r^2 with G = 6.674 x 10^-11 N m^2 kg^-2; the force is attractive and equal on both masses

      Computes the universal gravitation force directly — and uses the search's 'work done' phrasing as a teaching point in the FAQs, distinguishing force from work. Enhancement: reports the inverse-square consequence (doubling distance quarters force) on every card.

      Worked examples

      Worked examples with the full working shown — try them in the calculator to check.

      Example 1

      Laboratory masses

      m1 = 1 kg, m2 = 1 kg, r = 1 m

      CalculationSteps
      F = 6.674e-11 x 1 x 1 / 1 = 6.674 x 10^-11 N.Force 6.674e-11 N — immeasurably small on a bench.

      Result

      Example 2

      Weight on Earth

      m1 = 5.972e24 kg (Earth), m2 = 1 kg, r = 6.371e6 m (Earth radius)

      CalculationSteps
      F = 6.674e-11 x 5.972e24 / (6.371e6)^2 = about 9.82 N.Force about 9.82 N — the familiar weight of 1 kg.

      Result

      Example 3

      Heavier bench pair

      m1 = 10 kg, m2 = 10 kg, r = 2 m

      CalculationSteps
      F = 6.674e-11 x 100 / 4 = 1.6685 x 10^-9 N.Force about 1.67e-9 N — still vanishingly small.

      Result

      How to use this calculator

      Step 1

      Enter the first mass in kilograms.

      Step 2

      Enter the second mass in kilograms.

      Step 3

      Enter the distance between their centres in metres — centre to centre, not surface to surface.

      Step 4

      Read the attractive force in newtons as the headline.

      Step 5

      Use the details to reason about what changes if the distance doubles.

      In short: Gravitational force is the universal attraction between masses, described by Newton's inverse-square law.

      Frequently asked questions

      How do you calculate gravitational force?

      Multiply the gravitational constant G (6.674 x 10^-11) by both masses and divide by the square of the distance between their centres: F = G m1 m2 / r^2.

      The search mentioned work done by gravity — is that the same?

      No, and the distinction matters: force is an instantaneous pull in newtons; work is force times distance moved along it, in joules. Lifting against gravity or falling with it involves work = m g h near Earth's surface. This calculator computes the force itself, from which near-surface work follows with g = F/m.

      Why is the distance centre-to-centre?

      For spherical bodies, gravity acts as if all mass were at the centre. Using surface-to-surface distance is a common error that badly overstates force for planets.

      Why is everyday gravity between objects unnoticeable?

      Because G is tiny: two 1 kg masses a metre apart attract at about 6.7 x 10^-11 N. Only planet-scale masses make gravity obvious, as the Earth example (about 9.82 N on 1 kg) shows.

      Is the force equal on both masses?

      Yes — Newton's third law: each mass pulls the other with the same magnitude. The lighter one accelerates far more in response, which is why things fall to Earth rather than Earth falling to them, visibly.

      About this calculator

      A gravitational force calculator applies Newton's law of universal gravitation — F = G m1 m2 / r^2 — to any two masses and their centre-to-centre separation, returning the attractive force in newtons with the working in scientific notation.

      The inverse-square dependence is the law's personality: double the separation and the force quarters, move ten times farther and it falls a hundredfold. That single fact explains why Earth's pull dominates the Moon's at our location despite the Sun's far greater mass being 'overruled' by its distance in everyday weight — mass and distance trade against each other through this formula.

      The Earth worked example is the bridge to familiar ground: put Earth's mass and radius in and a 1 kg mass at the surface, and out comes about 9.82 N — the weight every student knows as m g with g = 9.82. Seeing g emerge from G, a mass and a radius turns a memorised constant into a computed consequence.

      Use it in physics classes, checking why a person's weight on Earth comes out near 9.8 N per kilogram, estimating satellite and moon forces, and building intuition for how astonishingly weak gravity is between human-scale objects.

      How to calculate it yourself

      Step 1

      Write down both masses in kilograms.

      Step 2

      Measure or look up the centre-to-centre distance in metres.

      Step 3

      Multiply G by m1 and m2.

      Step 4

      Divide by the distance squared.

      Step 5

      State the force in newtons, attractive, equal on both bodies.

      Real-life examples

      Why satellites stay up — force first

      A student estimates Earth's pull on a 1 kg test mass at the surface before tackling orbital mechanics.

      The calculator returns about 9.82 N.

      With the surface force grounded, the student next halves it by finding the altitude where r grows enough — an inverse-square investigation, not a guess.

      Moon-gravity comparison

      Using the Moon's mass and radius from a data book in the same formula gives a surface force near 1.62 N per kilogram.

      That is roughly one sixth of Earth's 9.82 N.

      The class connects Apollo's gentle hops to a number they computed themselves from G.

      Ideas & use cases

      • Inverse-square experiments: rerun any case at double and ten times the distance and tabulate the quarters and hundredths.
      • Find g anywhere: divide a planet case's force by the test mass to get its surface gravity.
      • Work bridge: multiply the near-surface force by a lift height for the work done against gravity, in joules.

      Limitations & sources

      • Point-mass / spherical-body Newtonian gravity only; excludes relativistic effects and the separate work/energy calculation described in the FAQs.

      Sources: Newton's law of universal gravitation and G = 6.674e-11: CODATA recommended value; OpenStax University Physics Volume 1, Gravitation chapter

      Gravitational Force Calculator · TinyExe calculator suite Free to use · No sign-up · Instant results