Gravity is not a force you feel day to day in most situations
You interact with it constantly but usually don't think about the math behind it. The universal law of gravitation states that every particle of matter attracts every other particle with a force proportional to the product of their masses and inversely proportional to the square of the distance between them. That is the core. Everything else is just applying it correctly, which people tend to mess up because they skip the basics. The formula itself is F = G × (m1 × m2) / r². F is the gravitational force, G is the gravitational constant at approximately 6.674 × 10¹¹ Nm²/kg², m1 and m2 are the masses of the two objects, and r is the distance between their centers of mass. That constant G is tiny, which is why you do not feel pulled toward a building when you walk past it. The force only becomes noticeable when at least one of those masses is enormous. I used to work on orbital trajectory adjustments for a small defense contractor, and one of the first things I had to learn was that using the surface-to-surface distance instead of center-to-center distance throws your calculation completely off. On a standard Low Earth Orbit problem, the difference between using Earth's radius and Earth's radius plus altitude might look small, but at the precision level we were working at, getting r wrong by even a kilometer meant your burn window missed by minutes. We ended up using a quick script that pulled the geocentric radius from WGS84 ellipsoid parameters depending on latitude, since Earth is not a perfect sphere and the radius varies by about twenty-one kilometers from pole to equator. That mattered more than you would expect at that altitude band.
The inverse-square relationship is where people get tripped up conceptually. Doubling the distance does not halve the force. It quarters it. Tripling the distance reduces the force to one-ninth. This is why the Moon has such a measurable tidal effect on Earth while Jupiter, despite being far more massive, exerts less than half the tidal force of the Moon because of its distance. Mass matters linearly. Distance matters exponentially, and that asymmetry is something to keep in mind whenever you are estimating gravitational interactions between multiple bodies.
Common mistakes when applying the law
People often forget that r measures from center of mass to center of mass, not from surface to surface. When dealing with extended objects like planets or moons, you treat them as point masses located at their center of gravity. This works perfectly for spherically symmetric bodies, which most large celestial objects approximately are. It breaks down near irregularly shaped small bodies like asteroids, where the gravitational field is messy and the point-mass approximation gives you wrong answers by significant margins. Another issue is unit consistency. If your masses are in grams and your distance is in kilometers, your result will be garbage. You need kilograms and meters minimum for SI. I have seen this cause failed simulations in coursework after coursework. Convert everything upfront before you plug numbers into the equation. A quick spreadsheet column for unit conversion saves you from second-guessing your output later. There is also a practical limit to how useful Newtonian gravitation is. Near extremely massive objects or at velocities approaching the speed of light, you need General Relativity. The perihelion precession of Mercury is a classic case where Newtonian predictions fall short by about forty-three arcseconds per century, and that gap is exactly what Einstein's field equations account for. For most engineering and physics problems on Earth or in standard orbital mechanics, Newton is fine and far simpler to work with. Just know where the boundary is so you do not apply the wrong framework.
Get the Full Details

Why the law matters beyond textbook problems
Understanding this law lets you estimate gravitational interactions in situations where you do not have a calculator or software handy. You can reason through why a satellite in a lower orbit moves faster, why binary star systems have a period that relates to their separation distance through a clean mathematical relationship, and why escape velocity from Earth is roughly eleven kilometers per second. Those derivations all come back to this single equation. I once had to explain to a project lead why a proposed orbital transfer between two non-Hohmann trajectories was going to cost significantly more fuel than his initial spreadsheet suggested. He had been treating gravitational assist effects as additive when they are not. The real correction came from properly accounting for how the planet's gravity well changes the spacecraft's velocity vector relative to the Sun, not relative to the planet. That requires switching reference frames mid-calculation, which is a step most quick estimates skip. Getting it right changed our propellant budget by about eighteen percent on that mission profile. Not something you want to overlook when you are working within tight margins. The law itself is straightforward. Applying it without careful attention to distance definitions, units, reference frames, and the limits of the model is where the actual work lies.